
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
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
10 questions
HTML (3CS)
Quiz
•
10th - 11th Grade
10 questions
Programação Front End - CSS avançado
Quiz
•
11th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
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
