20 IGCSE Algorithms
20 IGCSE Algorithms
output:
Conditional Logic
11. Write an algorithm to input a number and output whether it is a prime number or not.
12. Design a pseudocode that reads two integers and prints the larger one, but if they are equal, output
"Equal".
13. Write a flowchart for an algorithm that takes the user's age and checks if they are eligible to vote (age >=
18).
14. Create a pseudocode that asks the user to input their test score and prints "Pass" if the score is greater
than or equal to 50, otherwise "Fail".
15. Write pseudocode that takes a temperature value in Celsius as input and converts it to Fahrenheit, then
outputs the result.
These questions target different aspects of algorithm design such as input, output, control flow, loops, and
conditional logic, all of which are part of the IGCSE CS-2210 syllabus.