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: C. The address of a resource on a network
Explanation:
A URL locates a resource such as a web page.
Choose an option to check your answer.
Correct Answer: D. HTTPS
Explanation:
HTTPS uses HTTP over encrypted transport.
Choose an option to check your answer.
Correct Answer: A. A process in which a function calls itself on smaller instances
Explanation:
Recursion solves a problem through smaller self-similar calls and a base case.
Choose an option to check your answer.
Correct Answer: B. Binary search
Explanation:
Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: C. 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: D. Queue
Explanation:
A queue removes elements in the order they were inserted.
Choose an option to check your answer.
Correct Answer: A. Stack
Explanation:
A stack removes the most recently inserted element first.
Choose an option to check your answer.
Correct Answer: A. Binary search
Explanation:
Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: B. 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: C. While loop
Explanation:
A while loop evaluates its condition before each iteration.
Choose an option to check your answer.
Correct Answer: D. 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: A. Octal
Explanation:
The octal system has base 8 and uses digits 0–7.