Kiểm tra 15 phút - for/range

Kiểm tra 15 phút - for/range

9th Grade

18 Qs

quiz-placeholder

Similar activities

Ôn quy luật di truyền(dễ)

Ôn quy luật di truyền(dễ)

9th - 12th Grade

20 Qs

Chapter 10 Math Test

Chapter 10 Math Test

2nd Grade - University

20 Qs

Dinamika Peran Indonesia dalam Perdamaian Dunia. PPKn Kelas 11

Dinamika Peran Indonesia dalam Perdamaian Dunia. PPKn Kelas 11

9th - 12th Grade

22 Qs

Hawkins 25-26 Topic 1 Test - GL

Hawkins 25-26 Topic 1 Test - GL

7th Grade - University

15 Qs

Graphing Quiz

Graphing Quiz

9th Grade

16 Qs

10.A Intro to Ecology

10.A Intro to Ecology

9th - 12th Grade

20 Qs

CG1 Government Systems

CG1 Government Systems

9th - 12th Grade

20 Qs

Algebra Lessons 7.5 - 7.6 Quiz

Algebra Lessons 7.5 - 7.6 Quiz

9th Grade

13 Qs

Kiểm tra 15 phút - for/range

Kiểm tra 15 phút - for/range

Assessment

Quiz

others

9th Grade

Practice Problem

Hard

Created by

Đỗ (TDS-THT)

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vòng lặp FOR thực hiện việc gì?

Khai báo 1 biến

Thực hiện 1 khối lệnh nhiều lần

Lưu nhiều biến vào 1 thực thể

Thực hiện 1 thuât toán nào đó

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong các từ sau, từ nào đúng là từ khoá thực hiện vòng lặp trong Python

loop

ilterate

for

for/loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong vòng lặp for, hàm range() có vai trò là gì?

Đặt giới hạn trên cho vòng lặp

Tạo ra 1 danh sách các số

Quy định sự tăng lên của biến

Xác định số vòng được lặp lại

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong vòng lặp for, hàm range() có vai trò là gì?

Đặt giới hạn trên cho vòng lặp

Tạo ra 1 danh sách các số

Quy định sự tăng lên của biến

Xác định số vòng được lặp lại

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp của cấu trúc for nào dưới đây là đúng

for (initialization; condition; update)

for {variable} in [sequence]:


for [sequence] in {variable}:

for {variable} in range():

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Chương trình sau đây in ra gì :

1 2 3

0 1 2

3 3 3

0 1 2 3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả chạy đoạn lệnh sau đây là gì?

for letter in "Python":

print(letter)

P y t h o n

Python


['P', 'y', 't', 'h', 'o', 'n']

P h o n

Create a free account and access millions of resources

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?