
kiểm tra về Lặp - CTC
Authored by nguyễn Minh Huê
Computers
9th - 12th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc lặp với số lần không biết trước là:
for <Biến chạy> in range(m,n)
<Khối lệnh cần lặp>
while <Điều kiện>:
<Câu lệnh hay khối lệnh>
while <Điều kiện>:
for <Biến chạy> in range(m,n):
<Khối lệnh cần lặp>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc lặp với số lần biết trước là:
for <Biến chạy> in range(m,n)
<Khối lệnh cần lặp>
while <Điều kiện>:
<Câu lệnh hay khối lệnh>
for <Biến chạy> in range(m,n):
for <Biến chạy> in range(m,n):
<Khối lệnh cần lặp>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
for i in range(1,5):
print(i)
Trên màn hình i có các giá trị là:
0 1 2 3 4 5
1 2 3 4 5
0 1 2 3 4
1 2 3 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
for i in range(5):
print(i)
Trên màn hình i có các giá trị là:
0 1 2 3 4 5
1 2 3 4 5
0 1 2 3 4
1 2 3 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
s=0
i=1
while i<=5:
s=s+1
i=i+1
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
9
15
5
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
s=0
for i in range(6):
s=s+i
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
1
15
6
21
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho bài toán tính tổng s=1+2+3+...+n. Để giải bài toán trên ta có thể dùng:
Cấu trúc rẽ nhánh.
Cấu trúc lặp.
Hàm ceil()
Hàm toán học sqrt()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
20 questions
Bài 11. Tệp và quản lý tệp
Quiz
•
10th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
20 questions
Teknik Pengolahan Audio dan Video
Quiz
•
12th Grade
20 questions
ข้อสอบ หุ่นยนต์ ม.3 กลางภาคเรียนที่ 1
Quiz
•
9th Grade
17 questions
Traffic Light Project Quiz
Quiz
•
9th Grade
16 questions
Python Basics
Quiz
•
KG - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade