CPModule 3 Making Decisions
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Marcia Bernas
Used 15+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do you use an else statement?
To tell what will happen when an if-statement is false
To end an IF statement
To handle string values
To Input a variable
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Consider the following code:
word = "kangaroo"
if (word == "KANGAROO"):
print ("TRUE")
else:
print ("FALSE")
What is output?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code:
if (90 < = x <= 100)
it should be rewritten as:
if (90 < = x <= 100):
if (90 < = x and <= 100):
if (90 < = x and x <= 100):
Nothing, the if statement is correct
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about all algorithms?
All algorithms can only do number calculations
All algorithms have clear instructions
All algorithms stop in a finite amount of time
All algorithms have an order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code could be rewritten using:
if (x > 12):
if (x < 34):
not
or
and
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if num1 and num2 are NOT the same.
if (num1 != num2 )
if (num1 == num2 )
if (num1 = num2)
if (num1 < num2 )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Both conditions must be true
and
!=
or
==
not
Create a free account and access millions of resources
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?
Similar Resources on Wayground
20 questions
CSS Box Model
Quiz
•
10th Grade
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
20 questions
DISEÑO WEB BLOQUE II
Quiz
•
12th Grade
20 questions
Keyboarding Skills Review
Quiz
•
10th - 12th Grade
20 questions
Laboratorio
Quiz
•
10th Grade
20 questions
EVALUACION 1P GRADO DECIMO 2024
Quiz
•
10th Grade
20 questions
การเขียนโปรแกรม
Quiz
•
10th - 11th Grade
21 questions
حاسب 1 نظري
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
20 questions
Pythagorean Theorem and Their Converse
Quiz
•
8th - 9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
