Programming and Data Structures (GATE Computer Science): Questions 1 - 7 of 151

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 450.00 or

Question number: 1

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

Choices

Choice (4) Response
a.

Executed

b.

Declared

c.

Imported

d. None of the above

Question number: 2

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

Choices

Choice (4) Response
a.

Object-oriented database

b.

client/server database

c.

Data warehouse

d. None of the above

Question number: 3

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

Choices

Choice (4) Response
a.

141

b.

155

c.

150

d. All of the above

Question number: 4

» Programming and Data Structures » Programming in C

MCQ▾

Question

Solve this programme:

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

Choices

Choice (4) Response
a.

sita rhadha Gita

b.

sita, Gita

c.

error

d. None of the above

Question number: 5

» Programming and Data Structures » Programming in C

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.

1, 2, 2, 1

b.

20, 20, 10, 20, 20

c.

20, 20, 10, 10, 20

d.

1, 2, 2, 2

Question number: 6

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

Choices

Choice (4) Response
a.

xy+- zw *

b.

xy + zw *-

c.

xy + zw/*

d.

xyzw +- *

Question number: 7

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following are language processors?

Choices

Choice (4) Response
a.

Assembler

b.

Compiler

c.

Interpreter

d. All a. , b. and c. are correct

Sign In