Programming and Data Structures-Programming in C (GATE Computer Science): Questions 130 - 134 of 134

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: 130

» Programming and Data Structures » Programming in C

MCQ▾

Question

The channel capacity of a band-limited Gaussian channel is given by

Choices

Choice (4) Response

a.

B log2 (2 + S/N)

b.

B log2 (1 + S/N) < /

c.

B log2 (2 + 2S/N)

d.

B log10 (2 + S/N)

Question number: 131

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following page replacement algorithms suffers from Belady’s anomaly?

Choices

Choice (4) Response

a.

FIFO

b.

Optimal replacement

c.

LRL

d.

Question does not provide sufficient data or is vague

Question number: 132

» Programming and Data Structures » Programming in C

MCQ▾

Question

What will be output if you will compile and execute the following c code?

  1. #define call(x#x void main()
  2. {
  3.     printf("%s",call(c/c++));
  4. }

Choices

Choice (4) Response

a.

Java

b.

C

c.

C++

d.

Both b. and c. are correct

Question number: 133

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which language are used for real time system

Choices

Choice (4) Response

a.

HTML

b.

C++

c.

C

d.

JAVA

Question number: 134

» Programming and Data Structures » Programming in C

MCQ▾

Question

  1. main() {
  2.     int i = 3;
  3.     switch (i) {
  4.         defaultprintf(“zero”);
  5.         case 1:
  6.                 printf(“one”);
  7.             break;
  8.         case 2:
  9.                 printf(“two”);
  10.             break;
  11.         case 3:
  12.                 printf(“three”);
  13.             break;
  14.     }
  15. }

Choices

Choice (4) Response

a.

three

b.

two

c.

one

d.

None of the above

f Page
Sign In