MCQs — Computational Thinking & Algorithms

Practice questions for Computer Science.

Question 101

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?

A. 4
B. 6
C. 15
D. 10
Question 102

A student draws a decision symbol with only one arrow leaving it. What is wrong?

A. Nothing is wrong
B. A decision symbol should have at least two exits, such as Yes and No
C. A decision symbol should have no arrows
D. A decision symbol must be an oval
Question 103

What is pseudocode?

A. A programming language that computers run directly
B. A structured, English-like description of an algorithm
C. A diagram made of symbols
D. A list of program errors
Question 104

Which keyword is commonly used in pseudocode to take a value from the user?

A. INPUT
B. PRINT
C. END
D. IF
Question 105

Which keyword is commonly used in pseudocode to display a result?

A. INPUT
B. START
C. ENDIF
D. PRINT
Question 106

Which pair of keywords marks the beginning and end of pseudocode?

A. IF and ENDIF
B. START and END
C. WHILE and ENDWHILE
D. INPUT and PRINT
Question 107

Which pseudocode structure is used to make a decision?

A. WHILE
B. PRINT
C. IF ... THEN ... ELSE
D. INPUT
Question 108

Why is indentation used in pseudocode?

A. It shows which statements belong inside an IF or a loop
B. It makes the pseudocode run faster
C. It changes the answer of the algorithm
D. It removes the need for keywords
Question 109

What is a benefit of writing pseudocode before writing program code?

A. It runs on the computer without changes
B. It is checked automatically by the computer
C. It has strict spelling rules like a programming language
D. The logic can be planned without worrying about the rules of a programming language
Question 110

What does a WHILE statement do in pseudocode?

A. It displays a result
B. It repeats statements as long as a condition is true
C. It takes input from the user
D. It ends the pseudocode
Question 111

What does the keyword ENDIF show in pseudocode?

A. The end of the whole pseudocode
B. The start of a loop
C. The end of an IF block
D. A value entered by the user
Question 112

What does the pseudocode statement SUM = A + B mean?

A. SUM is displayed as A + B
B. The value of A + B is stored in SUM
C. A and B are set equal to SUM
D. SUM is compared with A + B
Question 113

Pseudocode: START; INPUT A; INPUT B; SUM = A + B; PRINT SUM; END. What is printed if A = 9 and B = 6?

A. 3
B. 15
C. 54
D. 69
Question 114

Pseudocode: INPUT MARKS; IF MARKS >= 40 THEN PRINT "Pass" ELSE PRINT "Fail" ENDIF. What is printed if MARKS = 35?

A. Pass
B. 35
C. No output
D. Fail
Question 115

Pseudocode: COUNT = 1; WHILE COUNT <= 4; PRINT COUNT; COUNT = COUNT + 1; ENDWHILE. What is printed?

A. 1 2 3
B. 2 3 4 5
C. 1 2 3 4
D. 1 2 3 4 5
Question 116

Which keyword marks the end of a WHILE loop in pseudocode?

A. ENDIF
B. END
C. STOP
D. ENDWHILE
Question 117

What is a variable in pseudocode?

A. A fixed value that can never change
B. A statement that ends the pseudocode
C. A named location that stores a value that can change
D. A keyword that displays a result
Question 118

What is a concept map?

A. A diagram that shows ideas in boxes joined by lines to show how they are related
B. A list of steps written in numbered order
C. A program written in code
D. A table of input and output values
Question 119

Why is a concept map useful in problem solving?

A. It runs the solution on the computer
B. It helps organise ideas and see how the parts of a problem are related
C. It removes the need for an algorithm
D. It finds errors in the program automatically
Question 120

A student draws a concept map with 'Control structures of an algorithm' in the centre. Which three items should be linked to it?

A. Input, process, output
B. Sequence, selection, iteration
C. Start, stop, connector
D. Rectangle, oval, diamond

🎯 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.

Scroll to Top