Edhesive Unit 2 Test Review

Edhesive Unit 2 Test Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Susan O'Connell

Used 18+ times

FREE Resource

Student preview

quiz-placeholder

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?