- Home
- MCQs by exam
- GATE CS
GATE CS MCQs · Page 2
151 multiple choice questions typical of the GATE CS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
Nothing; each thread has private memory
-
B
Their individual call stacks
-
C
Program counter and registers
-
D
Code, data and heap memory
Correct answer
-
A
Binary semaphore
Correct answer
-
B
Counting semaphore
-
C
Monitor
-
D
Condition variable
-
A
The disk scheduler serves requests in random order
-
B
Two processes wait forever for each other's resources
-
C
The system spends more time paging than executing
Correct answer
-
D
The CPU overheats and lowers its clock speed
-
A
First-Come, First-Served
-
B
Shortest Job First
Correct answer
-
C
Round Robin
-
D
Priority with aging
-
A
About 6.2 MB
Correct answer
-
B
About 18.7 MB
-
C
About 2.1 MB
-
D
About 49.8 MB
-
A
Weiler–Atherton
-
B
Sutherland–Hodgman
-
C
Cohen–Sutherland
Correct answer
-
D
Liang–Barsky
-
A
2 × 2
-
B
3 × 3
Correct answer
-
C
2 × 3
-
D
4 × 4
-
A
RGB
-
B
HSV
-
C
YUV
-
D
CMYK
Correct answer
-
A
Fill polygons with gradient colours
-
B
Compress images for faster display
-
C
Draw lines using only integer arithmetic
Correct answer
-
D
Remove hidden surfaces in 3D scenes
-
A
f(n) = g(n) − h(n)
-
B
f(n) = g(n) only
-
C
f(n) = h(n) only
-
D
f(n) = g(n) + h(n)
Correct answer
-
A
All locks on that page must be released
-
B
Its log records must be flushed to stable storage
Correct answer
-
C
A database checkpoint must be completed
-
D
The transaction must be fully committed first
-
A
0
-
B
10
-
C
3
-
D
7
Correct answer
-
A
Bitmap index
-
B
Hash table
-
C
Binary search tree
-
D
B+ tree
Correct answer
-
A
Circular wait among processes
-
B
Mutual exclusion of resources
-
C
Hold and wait on resources
-
D
Pre-emption of held resources
Correct answer
-
A
Self-referencing
-
B
One-to-many
Correct answer
-
C
Many-to-many
-
D
One-to-one
-
A
RIGHT JOIN
-
B
CROSS JOIN
-
C
LEFT JOIN
-
D
INNER JOIN
Correct answer
-
A
A virtual table based on a query
Correct answer
-
B
A physical copy of a table on disk
-
C
An index that speeds up searches
-
D
A backup snapshot of the database
-
A
Boyce–Codd Normal Form
-
B
Second Normal Form (2NF)
-
C
Third Normal Form (3NF)
-
D
First Normal Form (1NF)
Correct answer
-
A
Switch
Correct answer
-
B
Router
-
C
Repeater
-
D
Hub
-
A
ICMP
-
B
DHCP
-
C
DNS
-
D
ARP
Correct answer
-
A
30
-
B
64
-
C
126
-
D
62
Correct answer
-
A
Takes part in no relationships at all
-
B
Is stored only in temporary tables
-
C
Has no attributes other than a key
-
D
Cannot be identified by its own attributes
Correct answer
-
A
Unique and never NULL
Correct answer
-
B
Numeric and auto-incremented
-
C
Unique but allowed to be NULL
-
D
Referenced by another table
-
A
ORDER BY
-
B
HAVING
Correct answer
-
C
GROUP BY
-
D
WHERE
-
A
Aggregation
-
B
Atomicity
Correct answer
-
C
Availability
-
D
Authentication