
Unit 2 and 3_CS Python
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Marco Castro
Used 1+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if num1 and num2 are the same.
if num1 == num2:
if num1 != num2:
if num1 < num2:
if num1 = num2:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1
2
3
syntax error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would NOT fix the error for the following code:
Change Bob to "Bob"
Add parentheses in the code
Add a : (colon) at the end of the line of code
Change IF to if
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To test if a variable is between two numbers you would use:
and
else
or
!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Output for the following code?
1
2
3.4
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following calculations would evaluate to 12?
3 * 6 + 2 / 2
(3 * 6 + 2) / 2
3 * ((6 + 2) / 2)
(3 * 6) + 2 / 2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When should you use an else statement?
To execute code when one of the other expressions were TRUE
To check one of many expressions for TRUE
To check the first expression for TRUE
To execute code if none of the other expressions were TRUE
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?
Similar Resources on Wayground
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
Quiz 5 - Excel
Quiz
•
11th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
