GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 139 - 144 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 139

Question

MCQ▾

CPU scheduling is the basis of ________ operating systems.

Choices

Choice (4)Response

a.

Multitasking

b.

Multiprogramming

c.

Multiprocessing

d.

Question does not provide sufficient data or is vague

Question 140

Question

MCQ▾

To avoid the race condition, the number of processes that may be simultaneously inside their critical section is

Choices

Choice (4)Response

a.

4

b.

8

c.

0

d.

1 @

Question 141

Question

MCQ▾

The #ifndef directive tests to see whether ________

Choices

Choice (4)Response

a.

any objects of the class have been instantiated

b.

a class has been defined

c.

a variable has been given a value

d.

a class has no variable definitions

Question 142

Question

MCQ▾

Banker՚s algorithm for resource allocation deals with?

Choices

Choice (4)Response

a.

mutual exclusion

b.

Dead lock recovery

c.

Dead lock prevention

d.

Dead lock avoidance

Question 143

Question

MCQ▾

What will the function rewind () do?

Choices

Choice (4)Response

a.

Reposition the file pointer to beginning of the file

b.

Reposition the file pointer to a character reverse.

c.

Reposition the file pointer stream to end of file.

d.

Reposition the file pointer to begining of that line

Question 144

Question

MCQ▾

A query is as follows

SELECT DISTINCT LOC_NAME FROM DEPT WHERE DEPT_ID IN (10,20, 30) ;

In the above example, departments 10,20 and 30 are in the city Chicago where as that of 40,50 and 60 are in St. Louis. How many values of LOC_NAME are returned?

Choices

Choice (4)Response

a.

One value of St. Louis

b.

One value of Chicago

c.

Three values of St. Louis

d.

Three values of Chicago

Developed by: