BÀI 9 - TH CÂU LỆNH LẶP

Quiz
•
Computers
•
10th Grade
•
Medium
Vũ Thúy
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
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:
Hàm toán học sqrt()
Cấu trúc rẽ nhánh.
Cấu trúc lặp.
Hàm ceil()
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Cấu trúc lặp với số lần biết trước là:
for in range(m,n)
for in range(m,n):
while <Điều kiện>:
for in range(n,m)
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
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
1 2 3 4
0 1 2 3 4
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Cho đoạn chương trình sau:
s=0
for i in range(6):
s=s+i
print(s)
Sau khi thực hiện đoạn chương trình trên giá trị của s sẽ là:
16
15
1
21
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Cho đoạn chương trình sau
for i in range(1,10):
print(i)
Trong đoạn chương trình trên vòng lặp được thực hiện bao nhiêu lần:
11
10
9
8
Similar Resources on Wayground
5 questions
Tin 10_CĐ5_Bài 21. Câu lệnh lặp while

Quiz
•
10th Grade
10 questions
Soạn thảo văn bản Microsoft Word

Quiz
•
1st Grade - University
10 questions
Bài 20 Câu lệnh lặp For

Quiz
•
10th Grade
10 questions
Bài 15: Bài toán tin học

Quiz
•
9th Grade - University
10 questions
on cuoi ki 2 tin 10 cde 5 python

Quiz
•
10th Grade
10 questions
Bài 10 - Cấu trúc rẽ nhánh

Quiz
•
5th Grade - University
10 questions
Củng cố cấu trúc lặp

Quiz
•
9th - 12th Grade
9 questions
TIN 10_KTTX LẦN 3_15/4/2023

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade