Cấu trúc lặp - Python

Cấu trúc lặp - Python

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

10th Grade

15 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Kuis PPJ - Materi VLSM

Kuis PPJ - Materi VLSM

11th Grade

15 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

Tin học 10 _ Bài 16 _Định dạng văn bản

Tin học 10 _ Bài 16 _Định dạng văn bản

10th - 12th Grade

10 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th Grade

10 Qs

Cos’è la ROM?

Cos’è la ROM?

6th - 12th Grade

10 Qs

Latihan Soal PTS Kelas 6 Semester 1

Latihan Soal PTS Kelas 6 Semester 1

10th Grade

10 Qs

Cấu trúc lặp - Python

Cấu trúc lặp - Python

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Phuong Vu

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

45 sec • 1 pt

Media Image

Chương trình trên in ra bao nhiêu dòng "Let's go"

6

7

8

9

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Giá trị của a sau khi kết thúc vòng lặp là bao nhiêu:

a=0

for i in range(10,14): a=a+3

9

12

15

18

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cú pháp đầy đủ của hàm range()

range(start,stop,step)

range(start,step)

range(stop,step)

range(0,stop,step)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cú pháp đúng của câu lệnh lặp for

for <biến chạy> in range(start,stop,step): <Khối lệnh>

for <biến chạy> in range(start,step): <Khối lệnh>

for <biến chạy> in range(start,stop,step); <Khối lệnh>

for <biến chạy> in range(start,stop,step) <Khối lệnh>

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Vòng lặp nào trả về kết quả dưới đây?

11111

22222

33333

44444

55555

for i in range(1,6):

print(i, i, i, i, i)

for i in range(1,5):

print(str(i)*5)

for i in range(1, 6):

print(str(i) * 5)

for i in range(0, 5):

print(str(i) * 5)

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Màn hình hiển thị gì khi sau chạy đoạn chương trình trên?

5

4

3

2

1

4

3

2

1

0

5  4  3  2  1

4  3  2  1  0

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Màn hình hiển thị gì sau khi chạy đoạn chương trình trên ?

5

4

3

2

1

4

3

2

1

0

5  4  3  2  1

4  3  2  1  0

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?