What will the output of the code be when the user types 221?
Selection, Sequence or Iteration

Quiz
•
Computers, Other
•
7th - 9th Grade
•
Hard
B Stent
Used 18+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When the user types "Try again" it will say "Good!"
It will say "Good!" when the user types 221
It will say "Try again" if the user types 221
It will say "221"
It will say "answer"
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why won't "Correct" ever be displayed?
Because X is already 50
Because X is set to 35
It WILL display "Correct"
Because X is something the user types
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Will this program display "Correct"?
Yes, because X is less than 50
No, because X is more than 50
No, because a 'Say' block doesn't produce text
Yes, because a 'Say' block must always run
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
X was set to 35 - Will the program output "Correct"
Yes, because it's mandatory
Yes, because X is less than 50
No, because X isn't being compared
Yes, because a 'Say' block is always used.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Will "Correct" be displayed
Yes, because X is 35 which is less than 50
Yes, because X plus 2 is less than 50
Yes, because X times 2 is more than 50
No, because X times 2 is more than 50
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Will 'Correct' be displayed?
Yes because X is 35 and that's less than 50
No, because although X is less than 50, the NOT flips it.
No, because it's NOT using an X
No, because the variable X is NOT 35
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is being compared to get "Correct" to display?
X is 10 AND Y is 20
X is 50 OR Y is 50
X is 50 AND Y is 50
X is 10 AND Y is 50
X is less than Y
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Python final Quiz

Quiz
•
8th Grade
20 questions
Scratch Programming

Quiz
•
9th - 12th Grade
20 questions
Gear Ratios

Quiz
•
9th - 12th Grade
18 questions
Math 7 Review

Quiz
•
7th Grade
20 questions
Codesters Units

Quiz
•
6th - 8th Grade
22 questions
Icebreakers

Quiz
•
KG - 12th Grade
18 questions
Interpreting Graphs

Quiz
•
5th - 8th Grade
20 questions
HG-Transitions

Quiz
•
4th - 7th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade