Programming and Data Structures (GATE Computer Science): Questions 8 - 13 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: 8

» Programming and Data Structures » Programming in C

MCQ▾

Question

In k-map, the adjacent squares represent minterms that differ by

Choices

Choice (4) Response
a.

one variable

b.

two variable

c.

three variable

d. None of the above

Question number: 9

» Programming and Data Structures » Binary Search Trees

MCQ▾

Question

Evaluate the expression 2 * 5^4 * 3^2 * 1

Choices

Choice (4) Response
a.

4320

b.

35750

c.

11250

d. None of the above

Question number: 10

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following allows a computer to run several programs at the same time?

Choices

Choice (4) Response
a.

Multitasking

b.

Peripherals

c.

Virus protection

d. None of the above

Question number: 11

» Programming and Data Structures » Programming in C

MCQ▾

Question

Program instructions in their original form as written by a programmer are called:

Choices

Choice (4) Response
a.

object code

b.

Programming Language

c.

source code

d. Question does not provide sufficient data or is vague

Question number: 12

» Programming and Data Structures » Programming in C

MCQ▾

Question

Assembler is ________.

Choices

Choice (4) Response
a.

A program that accepts a program written in high level language and produces an object program.

b.

A program that automate the translation of assembly language into machine language

c.

A program that places programs into memory and prepares them for execution

d. None of the above

Question number: 13

» Programming and Data Structures » Programming in C

MCQ▾

Question

Solve the programme:

int main ()

  1. int main() {
  2.     float p = -5q = 3r;
  3.     clrscr();
  4.     r = p % q;
  5.     printf(“ % f”, r);
  6.     getch();
  7.     return 0;
  8. }

Choices

Choice (4) Response
a.

1.0

b.

1

c.

0

d. None of the above

Sign In