If x > 5 Then x = x + 1 End If What happens if x is 6?
Programming Logic Quiz

Quiz
•
Professional Development
•
Professional Development
•
Easy
MJM Grefaldo
Used 2+ times
FREE Resource
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x stays 6
x becomes 7 (Correct)
x becomes 5
No change
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If temperature = 50 Then result = "Pass" End If What happens if score is 75?
result = "Fail"
result = "Pass" (Correct)
score is reset to 50
Nothing changes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If count = 10 Then count = 0 End If When does count reset to 0?
Whenever count is odd
When count is 10 (Correct)
If count is greater than 10
It never resets
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If items > 100 Then discount = 0.2 End If How is discount set if items is 150?
discount remains 0
discount = 0.1
discount = 0.2 (Correct)
discount = 0.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For i = 1 To 3 display(i) Next i Which values of i are displayed?
1, 2, 3 (Correct)
2, 3, 4
1, 3
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If userAge >= 18 Then canVote = True End If Under what condition is canVote set to True?
userAge = 18 (Correct)
Always False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While num 1000 Then shipping = "Free" End If When does shipping become “Free”?
total 1000 (Correct)
total = 1000
Always
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Sentence completion

Quiz
•
University
35 questions
SCRUM Master Certification

Quiz
•
Professional Development
35 questions
Amadeus GSD Commands

Quiz
•
Professional Development
30 questions
Time Level 3 Unit 6

Quiz
•
University - Professi...
32 questions
X 70 Series

Quiz
•
KG - Professional Dev...
30 questions
RAYS 2K23 INDUCTIONS ( ROUND 1)

Quiz
•
University
30 questions
DxI600/800

Quiz
•
Professional Development
34 questions
Attendance 002 3/24

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade