A flowchart sets Sum = 0 and N = 1. While N is 4 or less, it adds N to Sum and then adds 1 to N. It then prints Sum. What is printed?
MCQs — Computational Thinking & Algorithms
Practice questions for Computer Science.
A student draws a decision symbol with only one arrow leaving it. What is wrong?
What is pseudocode?
Which keyword is commonly used in pseudocode to take a value from the user?
Which keyword is commonly used in pseudocode to display a result?
Which pair of keywords marks the beginning and end of pseudocode?
Which pseudocode structure is used to make a decision?
Why is indentation used in pseudocode?
What is a benefit of writing pseudocode before writing program code?
What does a WHILE statement do in pseudocode?
What does the keyword ENDIF show in pseudocode?
What does the pseudocode statement SUM = A + B mean?
Pseudocode: START; INPUT A; INPUT B; SUM = A + B; PRINT SUM; END. What is printed if A = 9 and B = 6?
Pseudocode: INPUT MARKS; IF MARKS >= 40 THEN PRINT "Pass" ELSE PRINT "Fail" ENDIF. What is printed if MARKS = 35?
Pseudocode: COUNT = 1; WHILE COUNT <= 4; PRINT COUNT; COUNT = COUNT + 1; ENDWHILE. What is printed?
Which keyword marks the end of a WHILE loop in pseudocode?
What is a variable in pseudocode?
What is a concept map?
Why is a concept map useful in problem solving?
A student draws a concept map with 'Control structures of an algorithm' in the centre. Which three items should be linked to it?
🎯 How to get the most out of these questions
- Attempt each question before revealing the answer.
- Read the explanation even when you answered correctly — it reinforces the concept.
- Note down any question you got wrong and revisit it the next day.
- Use the pagination below the list to work through every page — do not stop at page 1.
📌 MCQs — FAQs
Are the answers in this section verified?
Yes — every answer on this page has been verified. MCQs also include explanations where available.
Can I print these questions?
Yes — use your browser's print option (Ctrl+P / Cmd+P) to print or save the page as PDF.
How often are questions updated?
New questions are added regularly. If a paper pattern changes, existing questions are reviewed and updated.