Chapter 7-8 Review

Chapter 7-8 Review

Assessment

Assessment

Created by

Michael Rucereto

Instructional Technology, Computers

11th Grade

8 plays

Medium

Student preview

quiz-placeholder

20 questions

Show answers

1.

Multiple Choice

30 sec

1 pt

What will run when the following code is executed?


Count = 0


while count < 10:

print count


count += 1

0,1,2,3,4,5,6,7,8,9,10

0,1,2,3,4,5,6,7,8,9

1,2,3,4,5,6,7,8,9,

0,1,2,3,4,5,6,7,8,9,10,11

2.

Multiple Choice

30 sec

1 pt

What will run when the following code is executed?


def my_function(x):


for i in range(0, len(x)):


x[i] = x[i]

return x


print my_function(range(5))

0,1,2,3,4,5

1,2,3,4,5

0,1,2,3,4

None of these choices

3.

Multiple Choice

30 sec

1 pt

What will run when the following code is executed?


N = [3, 5, 7]


def double_list(x):


for i in range(0, len(x)):


x[i] = x[i] *2

3,10,7

6,10,14

3,5,7

[6,10,14]

4.

Multiple Choice

30 sec

1 pt

What will run when the following code is executed?


N = [3, 5, 7]


def print_list(x):


for i in range(0, len(x)):


print x[i]


print_list(n)

3,5,7

[3,5,7]

{3,5,7}

None of the above

5.

Multiple Choice

30 sec

1 pt

What will run when the following code is executed?


def list_function(x):


x[2] = x[2] +12


return x


n = [26, 29, 32]


print x[2]

32

29

44

None of these choices

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Find a similar activity

Create activity tailored to your needs using

Quizizz AI
java while loop

16 questions

java while loop

assessment

9th - 12th Grade

Chapter 10 Review

25 questions

Chapter 10 Review

assessment

9th - 12th Grade

Python Programing Module 7 review

16 questions

Python Programing Module 7 review

assessment

11th Grade

Python Review

25 questions

Python Review

assessment

9th - 12th Grade

If-Else Loops: Python Programming

16 questions

If-Else Loops: Python Programming

assessment

11th Grade

Test 4 Edhesive Review

18 questions

Test 4 Edhesive Review

assessment

9th - 12th Grade

Loops Quiz

16 questions

Loops Quiz

assessment

9th - 12th Grade

Python Programming

20 questions

Python Programming

assessment

11th Grade - University