GATE Computer Science: Questions 199 - 204 of 913

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

» Operating System » Threads

MCQ▾

Question

One thread in a program calls is a called________.

Choices

Choice (4) Response
a.

kork ()

b.

tork ()

c.

fork ()

d. None of the above

Question number: 200

» Programming and Data Structures » Programming in C

MCQ▾

Question

What is stderr?

Choices

Choice (4) Response
a.

standard error types

b.

standard error definitions

c.

standard error streams

d.

standard error

Question number: 201

» Programming and Data Structures » Programming in C

MCQ▾

Question

Length of the linear array can be found by using the formula?

Choices

Choice (4) Response
a.

LB - UB

b.

LB + UB-1

c.

UB - LB + 1

d.

LB + UB

Question number: 202

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

The probability that a single bit will be in error on a typical public telephone line using 4800 bps modem is 10 to the power -3. If no error detection mechanism is used, the residual error rate for a communication line using 9-bit frames is approximately equal to

Choices

Choice (4) Response
a.

0.999

b.

0.333

c.

0.009

d. None of the above

Question number: 203

» Programming and Data Structures » Programming in C

MCQ▾

Question

A scheduling discipline is non-preemptive if,

Choices

Choice (4) Response
a.

short jobs are made to wait by longer jobs but the overall treatment of all processes is fair.

b.

once a process has been given the CPU, the CPU cannot be taken away from that process.

c.

once a process has been given the CPU can taken away.

d. Both a. and b. are correct

Question number: 204

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

  1. void main()
  2. {
  3.     int a=25;
  4.     clrscr();
  5.     printf("o %x",a,a);
  6.     getch();
  7. }

Choices

Choice (4) Response
a.

31 39

b.

12 42

c.

25 25

d.

025 x 25

Sign In