Python - For

Python - For

5th Grade

20 Qs

quiz-placeholder

Similar activities

G4 - Scratch - Reviewing

G4 - Scratch - Reviewing

4th - 5th Grade

19 Qs

11.12.24

11.12.24

5th Grade

15 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

Ôn tập học kì 1-CN7

Ôn tập học kì 1-CN7

1st - 12th Grade

15 Qs

Kelas VII Naomi & VII  Samuel

Kelas VII Naomi & VII Samuel

5th Grade

20 Qs

THU TUC TRONG LOGO

THU TUC TRONG LOGO

5th Grade

15 Qs

Aplikom

Aplikom

1st Grade - University

20 Qs

3D printing Grade 5

3D printing Grade 5

5th Grade

16 Qs

Python - For

Python - For

Assessment

Quiz

Computers

5th Grade

Practice Problem

Hard

Created by

Duy Tran

Used 21+ 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

Media Image

Kết quả của đoạn code sau là gì?

0 1 2

1 2 3

0 1 2 3

Lỗi

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn code sau là gì?

1 2 3

2 3 4 5

1 2 3 4 5

1 2 3 4

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

 Cú pháp nào đúng để tạo vòng lặp từ 0 đến 9?

for i in range(10)

 for i in range(0, 10)

for i in range(0, 9)

 for i in range(1, 10)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn code nào sẽ in ra các số chẵn từ 0 đến 8?

for i in range(0, 8, 2):

for i in range(0, 9, 2):

 for i in range(2, 10, 2):

 for i in range(0, 9):

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

 Điều gì xảy ra nếu sử dụng vòng lặp như sau?

In ra các số từ -5 đến 5

Không in ra gì

Lỗi

 In ra các số từ -5 đến 4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn code sau là gì?

0 1 2 3

 3 2 1

3 2 1 0

 3 2 1 0 -1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vòng lặp nào sẽ in ra các số lẻ từ 1 đến 9?

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

 for i in range(0, 10, 2):

 for i in range(1, 9):

for i in range(2, 10) :

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?