Python Loop Quiz

Python Loop Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Funciones

Funciones

10th Grade - University

12 Qs

Peluang

Peluang

11th Grade

10 Qs

PH 1 Bilangan Berpangkat Kelas 9 2021/2022

PH 1 Bilangan Berpangkat Kelas 9 2021/2022

1st - 12th Grade

10 Qs

Polinômios

Polinômios

8th - 12th Grade

15 Qs

Géométrie positionnement

Géométrie positionnement

11th - 12th Grade

11 Qs

groep 6 insecten quiz

groep 6 insecten quiz

1st - 12th Grade

15 Qs

CHAPTER 1: VARIATION

CHAPTER 1: VARIATION

10th - 11th Grade

15 Qs

تركيب دالتين

تركيب دالتين

KG - University

10 Qs

Python Loop Quiz

Python Loop Quiz

Assessment

Quiz

Mathematics

11th Grade

Practice Problem

Medium

CCSS
5.NBT.A.2

Standards-aligned

Created by

Nhung Nguyễn

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

30 sec • 1 pt

Trong Python có mấy loại cấu trúc lặp?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

range(5,9) trả lại vùng giá trị là các số nguyên nào?

rỗng

5, 6, 7, 8, 9

5, 6, 7, 8

6, 7, 8, 9

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

range(n) trả lại vùng giá trị là các số nguyên nào?

1, 2, 3 …, n

0, 1, 2, …, n-1

1, 2, 3 …, n-1

0, 1, 2, …, n

Tags

CCSS.5.NBT.A.2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Xác định số vòng lặp cho bài toán: Tính tổng các số nguyên từ 1 đến 100.

1

98

99

100

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Cho đoạn chương trình sau:

for i in range(6): print(i)

Trong đoạn chương trình trên câu lệnh lặp được thực hiện bao nhiêu lần?

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Cho đoạn chương trình sau:

sum=0

for i in range(1,5):

      sum=sum+i

print(sum)

Sau khi thực hiện đoạn chương trình trên thì kết quả in ra màn hình là:

10

15

0

12

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Cho đoạn chương trình sau: d=0 for i in range(1,10): if i%2==0: d=d+1 print(d) Sau khi thực hiện đoạn chương trình trên thì kết quả in ra màn hình là:

4

5

6

9

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?