GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 1387 - 1391 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 1387

Question

MCQ▾

A Counting semaphore was initialized to 8. After that, 4 P operations and 2 V operations were completed on this semaphore. The resulting value of the semaphore will be?

Choices

Choice (4)Response

a.

10

b.

6

c.

8

d.

4

Question 1388

Question

MCQ▾

There is a Text editor which has worth of program text. This text editor uses of initial stack, of initialized data and of bootstrap code.

If 4 editors were to be started simultaneously, how much physical memory would be required if shared text is being used?

Choices

Choice (4)Response

a.

b.

c.

d.

Question 1389

Question

MCQ▾

What is the output of the following C program? Assume a 16 bit compiler.

  1. #include<stdio.h>
  2. intmain()
  3. {
  4.     printf("%x",-11);
  5.     getchar();
  6.     return0;
  7. }

Choices

Choice (4)Response

a.

0002

b.

FFFE

c.

FFEF

d.

1002

Question 1390

Question

MCQ▾

A Computer system has a 36-bit virtual address space with a page size of . How many pages are present in the virtual address space of this system?

Choices

Choice (4)Response

a.

b.

c.

d.

Question 1391

Question

MCQ▾

Asynchronous transfer mode (ATM) operates at which layer of the OSI Model?

Choices

Choice (4)Response

a.

Session layer

b.

Data link layer

c.

Network layer

d.

Transport layer

Developed by: