Chapter 7-8 Review

Chapter 7-8 Review

11th Grade

20 Qs

quiz-placeholder

Similar activities

TIN 11 BÀI 6.1

TIN 11 BÀI 6.1

11th Grade

18 Qs

Trắc nghiệm Tin 10-Chủ đề A

Trắc nghiệm Tin 10-Chủ đề A

10th - 11th Grade

20 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

Test

Test

KG - University

25 Qs

1.1.3 Proses Penyelesaian Masalah

1.1.3 Proses Penyelesaian Masalah

11th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

Word

Word

11th Grade

18 Qs

Chapter 7-8 Review

Chapter 7-8 Review

Assessment

Quiz

Instructional Technology, Computers

11th Grade

Practice Problem

Medium

Created by

Michael Rucereto

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

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 QUESTION

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 QUESTION

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 QUESTION

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 QUESTION

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will run when the following code is executed?


N = [10, 20, 35]


n.append(42)


print n

10,20,35,42

{10,20,35,42}

*10,20,35,42*

[10,20,35,42]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will run when the following code is executed?


N = [22, 13, 5]


N[0] = n[0] * 3


print N[0]

22

66

15

None of the above

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?

Discover more resources for Instructional Technology