1. What is the primary purpose of pseudocode in algorithm design?
To write fully functional code
To debug existing programs
To create detailed flowcharts
To represent an algorithm in a simplified, language-agnostic format
2. In pseudocode, what does the statement 'print("Hello World")' primarily illustrate?
Selection - making a decision based on a condition
Output - displaying text on the screen
Iteration - repeating a set of instructions
Input - requesting data from the user
Log in or sign-up to access the quiz
Don't have a login?
You can still revise this topic