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

Appeared in Year: 2019 (UGC-NET)

Question

MCQ▾

A counting semaphore is initialized to 8,3 wait () operations and 4 signal () operations are applied. Find the current value of semaphore variable. (December)

Choices

Choice (4)Response

a.

5

b.

4

c.

9

d.

1

Question 1807

Appeared in Year: 2019 (UGC-NET)

Question

MCQ▾

A computer uses a memory unit of 512 K words of 32 bits each. A binary instruction code is stored in one word of the memory. The instruction has four parts: an addressing mode field to specify one of the two-addressing mode (direct and indirect) , an operation code, a register code part to specify one of the 256 registers and an address part. How many bits are there in the addressing mode part, Opcode part, register code part and the address part? (December)

Choices

Choice (4)Response

a.

1,4, 9,18

b.

1,3, 8,20

c.

1,3, 9,19

d.

1,4, 8,19

Question 1808

Appeared in Year: 2019 (UGC-NET)

Question

MCQ▾

Which of the following statements are true regarding C ++ ? (December)

(i) Overloading gives the capability to an existing operator to operate on other data types.

(ii) Inheritance in object-oriented programming provides support to reusability.

(iii) When object of derived class is defined, first the constructor of derived class is executed then constructor of a base class is executed.

(iv) Overloading is a type of polymorphism.

Choices

Choice (4)Response

a.

(ii) , (iii) and (iv) only

b.

(i) , (ii) and (iii) only

c.

(i) , (ii) and (iv) only

d.

(i) and (ii) only

Developed by: