Conditional Statements and Loops in Pseudocode

Conditional Statements and Loops in Pseudocode

Assessment

Flashcard

Computers

9th Grade

Easy

Created by

Fawad Akhtar

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

32 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the structure of an IF-THEN-ELSE statement?

Back

IF condition THEN path1 ELSE path2 ENDIF

2.

FLASHCARD QUESTION

Front

What does the ELSE path in an IF statement represent?

Back

The path followed if the condition is false.

3.

FLASHCARD QUESTION

Front

What is the purpose of the ENDIF keyword?

Back

It marks the end of an IF statement.

4.

FLASHCARD QUESTION

Front

How can an IF condition be set up?

Back

Using a Boolean variable or comparison operators.

5.

FLASHCARD QUESTION

Front

What does A > B mean in a comparison?

Back

A is greater than B.

6.

FLASHCARD QUESTION

Front

What is the structure of a CASE statement?

Back

CASE OF variable value1: action1 value2: action2 ... OTHERWISE action ENDCASE

7.

FLASHCARD QUESTION

Front

What does the OTHERWISE path in a CASE statement represent?

Back

The path taken for all other values not specified.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?