Unit3_9.3.4_Activity3

Unit3_9.3.4_Activity3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Tipuri de structuri

Tipuri de structuri

6th - 8th Grade

10 Qs

Nội Quy môn Tin học

Nội Quy môn Tin học

1st Grade - University

15 Qs

Kegiatan Amal di Bulan Ramadhan

Kegiatan Amal di Bulan Ramadhan

5th Grade - University

15 Qs

Pemrograman Visual dan Scratch

Pemrograman Visual dan Scratch

7th Grade - University

15 Qs

UHB Informatika Kelas VIII

UHB Informatika Kelas VIII

8th Grade

10 Qs

ULANGAN HARIAN INFORMATIKA S-1

ULANGAN HARIAN INFORMATIKA S-1

7th Grade - University

10 Qs

desimal dan biner

desimal dan biner

8th Grade

10 Qs

IC3_GS6_Bài 13: Cài đặt mặc định phần mềm

IC3_GS6_Bài 13: Cài đặt mặc định phần mềm

8th Grade

14 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?