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: B. 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: C. Bubble sort
Explanation:
Bubble sort compares adjacent pairs and swaps them until ordered.
Choose an option to check your answer.
Correct Answer: C. HTTPS
Explanation:
HTTPS uses HTTP over encrypted transport.
Choose an option to check your answer.
Correct Answer: D. One binary value
Explanation:
A bit stores either 0 or 1.
Choose an option to check your answer.
Correct Answer: D. 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: A. 8
Explanation:
A byte conventionally contains eight bits.
Choose an option to check your answer.
Correct Answer: B. 1010
Explanation:
Decimal 10 equals 8 + 2, giving binary 1010.
Choose an option to check your answer.
Correct Answer: C. Queue
Explanation:
A queue removes elements in the order they were inserted.
Choose an option to check your answer.
Correct Answer: D. Stack
Explanation:
A stack removes the most recently inserted element first.
Choose an option to check your answer.
Correct Answer: A. A finite sequence of steps for solving a problem
Explanation:
An algorithm is an ordered and finite problem-solving procedure.
Choose an option to check your answer.
Correct Answer: B. AND
Explanation:
AND produces true only when both operands are true.
Choose an option to check your answer.
Correct Answer: C. NOT
Explanation:
NOT changes true to false and false to true.