Programming and Data Structures (GATE (Graduate Aptitude Test in Engineering) Computer Science): Questions 1 - 7 of 151

Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Subscription can be renewed yearly absolutely FREE! View Sample Explanation or View Features.

Rs. 450.00 or

How to register?

Question number: 1

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

Before a package can be used in a java program it must be________.

Choices

Choice (4) Response

a.

Imported

b.

Executed

c.

Declared

d.

All of the above

Question number: 2

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

The newest type of database, that is well suited for multimedia applications, what it is called?

Choices

Choice (4) Response

a.

Data warehouse

b.

Object-oriented database

c.

client/server database

d.

None of the above

Question number: 3

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

Which of the following is the decimal equivalent of the binary number 10001101?

Choices

Choice (4) Response

a.

150

b.

141

c.

155

d.

None of the above

Question number: 4

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

Solve this programme:

  1. #include <stdio.h> 
  2. #include <conio.h> 
  3. int main() {
  4.     clrscr();
  5.     printf("  Sita rhadha Gita");
  6.     getch();
  7.     return 0;
  8. }

Choices

Choice (4) Response

a.

error

b.

sita rhadha Gita

c.

sita, Gita

d.

Question does not provide sufficient data or is vague

Question number: 5

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

If the sequence of operations - push (10), push (20), pop, push (10), push (20), pop, pop, pop, push (20), pop are performed on a stack, the sequence of popped out values are?

Choices

Choice (4) Response

a.

20,20,10,10,20

b.

1,2, 2,2

c.

20,20,10,20,20

d.

1,2, 2,1

Question number: 6

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

The postfix expression for x + y*z/w is?

Choices

Choice (4) Response

a.

xy + zw/*

b.

xy+- zw *

c.

xyzw +- *

d.

xy + zw *-

Question number: 7

» Programming and Data Structures » Programming in C

Edit
MCQ▾

Question

Which of the following are language processors?

Choices

Choice (4) Response

a.

Compiler

b.

Interpreter

c.

Assembler

d.

All a. , b. and c. are correct