Unit3_9.3.4_Activity3

Unit3_9.3.4_Activity3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Recuperação 8º ano

Recuperação 8º ano

8th Grade

10 Qs

Građa računalnih uređaja i svojstva računala - 8.razred

Građa računalnih uređaja i svojstva računala - 8.razred

8th Grade

13 Qs

Ulangan Harian Bekerja dengan Data Terstruktur

Ulangan Harian Bekerja dengan Data Terstruktur

8th Grade

12 Qs

Variables, tipos de datos y operadores

Variables, tipos de datos y operadores

8th Grade

15 Qs

8° e 9°ano Av2 Variáveis e Caneta no Scratch

8° e 9°ano Av2 Variáveis e Caneta no Scratch

8th Grade

15 Qs

konversi bilangan

konversi bilangan

8th Grade

10 Qs

BK. HIMPUNAN DAN SISTEM BILANGAN

BK. HIMPUNAN DAN SISTEM BILANGAN

8th Grade

11 Qs

Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz về Kiểu Dữ Liệu List và Set (1)

7th Grade - University

15 Qs

Unit3_9.3.4_Activity3

Unit3_9.3.4_Activity3

Assessment

Quiz

Information Technology (IT)

8th Grade

Practice Problem

Medium

Created by

Mai Đàm

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

What will this code print?

2,3,4,5,6

2,4,6

2,4,5,6

2,3,5

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

What is wrong with this code?

It will print numbers in reverse order

It will not run because range(5,0) is incorrect

It will print only 5

It will print an error message

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What does range(1, 6, 2) generate?

1,2,3,4,5

1,3,5

1,3,5,6

1,2,3,4

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which loop correctly counts from 10 to 1?

for i in range(10, 1, -1):

for i in range(10, 0, -1):

for i in range(10, 0):

for i in range(10, -1, -1):

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What happens if range(5, 5) is used?

It prints 5

It prints an error

It prints nothing

It prints 5,4,3,2,1

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

How many times does this loop run?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which part of range(start, stop, step) controls how the loop increments?

start

stop

step

none

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?