MCQ Collection
PIEAS Computer Science MCQs
Practice PIEAS Computer Science questions with answers and explanations.
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. 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. Bubble sort
Explanation:
Bubble sort compares adjacent pairs and swaps them until ordered.
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: 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.