Cấu trúc lặp - Python

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Phuong Vu
Used 14+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
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
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
Similar Resources on Wayground
8 questions
BÀI 8- CHỦ ĐỀ F-TH10

Quiz
•
9th - 12th Grade
15 questions
Củng Cố - Biến và lệnh gán trong Python

Quiz
•
10th Grade
10 questions
TIN HỌC 10 - BÀI 20

Quiz
•
10th Grade
10 questions
CỦNG CỐ BÀI 21 CÂU LỆNH LẶP WHILE

Quiz
•
10th Grade
5 questions
Trắc nghiệm TIn 10 - Bài 8. Câu lệnh lặp

Quiz
•
10th Grade
10 questions
Tin 11 - Bài 1 - Câu hỏi trắc nghiệm

Quiz
•
11th Grade
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28

Quiz
•
10th Grade - University
15 questions
tinGk

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade