Question 1
Consider the following pseudocode snippet: x ← 1 count ← 0 WHILE x < 10 DO x ← x * 2 count ← count + 1 ENDWHILE What is the final value of 'count' when the loop terminates?
Correct Answer:
4
Question 2
In standard flowchart representation, which symbol is used to represent a conditional branch or decision point (e.g. checking if IF x > 0)?
Correct Answer:
Diamond
Question 3
What critical prerequisite must be met by a dataset before a Binary Search algorithm can be successfully executed?
Correct Answer:
The dataset must be sorted in order (ascending or descending)
Question 4
Consider the following pseudocode implementing a single pass of Bubble Sort on an array `arr = [5, 2, 8, 1]` of length 4: FOR i ← 0 TO 2 DO IF arr[i] > arr[i+1] THEN temp ← arr[i] arr[i] ← arr[i+1] arr[i+1] ← temp ENDIF ENDFOR What is the state of `arr` after completing this single pass (i = 0 to 2)?
Correct Answer:
[2, 5, 1, 8]
Question 5
Given an array `numbers` with 5 elements, which pseudocode segment correctly initializes `max_val` to find the maximum value?
Correct Answer:
max_val ← numbers[0]
Question 1
Exam overview

About this Exam

Prepare with the Singapore GCE O-Level Computing Practice Questions - Singapore GCE O-Level Computing Exam practice quiz. This question bank includes 100 questions covering python, value, total, list, and pseudocode. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

Singapore GCE O-Level Computing Practice Questions - Singapore GCE O-Level Computing Exam

This practice set contains 100 questions from the matching question bank and focuses on python, value, total, list, and pseudocode. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions