What is the output?
x = -2
y = 3
print (x + y * 2)
Edhesive Unit 2 Test Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Susan O'Connell
Used 18+ times
FREE Resource
Student preview
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
x = -2
y = 3
print (x + y * 2)
2
4
-1
-8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the following?
print (6 % 8)
.75
8
6
3/4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the following?
print (10% 3)
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the following?
print (3 % 12)
4
1/4
3
.25
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
x = 5
x = x * 3
print (x)
8
x
error
15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly stores 45 squared in the variable x?
x = 45 ^ 45
x = 45 ** 2
x = 45 * 2
x = 45 ** 45
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
x = 9
y = -3
z = 2
print(x + y * z)
3
15
-25
12
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade