1
GATE CSE 2005
MCQ (Single Correct Answer)
+2
-0.6
Suppose n processes, P1,......., Pn share m identical resource units, which can be reserved and released one at a time. The maximum resource requirement of process Pi is Si, where Si > 0. Which one of the following is a sufficient condition for ensuring that deadlock does not occur?
A
$$\forall i,{s_i} < m$$
B
$$\forall i,{s_i} < n$$
C
$$\sum\limits_{i = 1}^n {{s_i}} < \left( {m + n} \right)$$
D
$$\sum\limits_{i = 1}^n {{s_i}} < \left( {m \times n} \right)$$
2
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
A common property of logic programming languages and functional languages is:
A
both are procedural languages
B
both are based on l-calculus
C
both are declarative
D
both use Horn-clauses
3
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
An Abstract Data Type (ADT) is
A
same as an abstract class
B
a data type that cannot be instantiated
C
a data type for which only the operations defined on it can be used, but none else
D
all of the above
4
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
Which one of the following are essential features of an object-oriented programming language?
i) Abstraction and encapsulation
ii) Strictly-typedness
iii) Type-safe property coupled with sub-type rule
iv) Polymorphism in the presence of inheritance
A
(i) and (ii) only
B
(i) and (iv) only
C
(i), (ii) and (iv) only
D
(i), (ii) and (iii) only
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
CBSE
Class 12