
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
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
20 questions
Câu 21-40
Quiz
•
11th Grade
17 questions
Bài 22 Tin 10
Quiz
•
10th Grade
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
20 questions
Ôn tập phần 01 (20 câu đầu)
Quiz
•
10th Grade - University
20 questions
BÀI KTTX SỐ 2
Quiz
•
9th Grade
15 questions
Access 2013 - 4(consultas)
Quiz
•
10th Grade
20 questions
Bài tập về chương trình con
Quiz
•
11th Grade
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