MCQ Collection
GAT Subject Computer Science MCQs
Practice GAT Subject Computer Science questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: D. Binary search
Explanation:
Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: A. A named storage location for a value
Explanation:
A variable associates a name with data that a program can use or change.
Choose an option to check your answer.
Correct Answer: B. While loop
Explanation:
A while loop evaluates its condition before each iteration.
Choose an option to check your answer.
Correct Answer: C. Software that manages hardware and provides services to programs
Explanation:
An operating system coordinates hardware resources and applications.
Choose an option to check your answer.
Correct Answer: D. Octal
Explanation:
The octal system has base 8 and uses digits 0–7.
Choose an option to check your answer.
Correct Answer: A
Explanation:
The h1 element represents the highest-level heading.
Choose an option to check your answer.
Correct Answer: B. NOT
Explanation:
NOT changes true to false and false to true.
Choose an option to check your answer.
Correct Answer: B. A group of connected devices that exchange data
Explanation:
A network connects devices so they can communicate and share resources.
Choose an option to check your answer.
Correct Answer: C. Router
Explanation:
A router selects paths and forwards packets between networks.
Choose an option to check your answer.
Correct Answer: D. Central Processing Unit
Explanation:
CPU means Central Processing Unit.
Choose an option to check your answer.
Correct Answer: A. RAM
Explanation:
RAM is volatile memory and requires power to retain data.
Choose an option to check your answer.
Correct Answer: B. Machine language
Explanation:
The processor executes machine instructions encoded in binary.