
pseudocode
Authored by Thomas Bui
Information Technology (IT)
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will the following are not logical operators?
AND
<
OR
==
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following boolean expression evaluate to?
5 <= 5
FALSE
TRUE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output? Assume all variables have been declared.
x ← 3
IF x < 5
THEN
OUTPUT "A"
ELSE
OUTPUT "B"
ENDIF
A
B
<No output>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output? Assume all variables have been declared.
x ← 3
y ← 4
IF x < 5 AND y > 5
THEN
OUTPUT "A"
ELSE
OUTPUT "B"
ENDIF
A
B
<No output>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output? Assume all variables have been declared.
x ← 3
y ← 4
IF x < 5
THEN
OUTPUT y * 5
ELSE
OUTPUT y * 2
ENDIF
15
8
20
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output? Assume all variables have been declared.
x ← 3
y ← 4
z ← 5
IF x == 5
THEN
OUTPUT "A"
ELSE
IF y <> z
THEN
OUTPUT "B"
ELSE
OUTPUT "C"
ENDIF
ENDIF
A
B
C
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following pseudocode output? Assume all variables have been declared.
x ← 3
CASE OF x
1: OUTPUT x * 1
2: OUTPUT x * 1 + 1
3: OUTPUT x * 2
4: OUTPUT x * 2 + 1
ENDCASE
3
4
6
7
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?