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

» Programming and Data Structures » Programming in C

MCQ▾

Question

Multilevel Feedback Queue Scheduling algorithm allows a process to move between

Choices

Choice (4) Response
a.

queues

b.

tree

c.

stack

d.

graph

Question number: 84

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which three are methods of the Object class?

1. notify ();

2. notifyAll ();

3. isInterrupted ();

4. synchronized ();

5. interrupt ();

6. wait (long msecs);

7. sleep (long msecs);

8. yield ();

Choices

Choice (4) Response
a.

1, 2, 6

b.

1, 2, 4

c.

2, 4, 5

d.

1, 2, 8

Question number: 85

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following addressing modes, facilitates access to an operand whose location is defined relative to the beginning of the data structure in which it appears?

Choices

Choice (4) Response
a.

sorting

b.

indirect

c.

ascending

d.

index

Question number: 86

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following would compile without error?

Choices

Choice (4) Response
a.

int c = Math. abs (5.5F);

b.

int d = Math. abs (5L);

c.

int a = Math. abs (-5);

d.

int b = Math. abs (5.0);

Question number: 87

» 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: 88

» 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: 89

» 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

Sign In