Trắc nghiệm TIn 10 - Bài 8. Câu lệnh lặp

Quiz
•
Computers
•
10th Grade
•
Medium
Tuylip Mylove
Used 7+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 2 pts
Trong các thuật toán sau đây, thuật toán nào là lặp với số lần biết trước?
Thuật toán in ra màn hình 100 dòng "Hello"
Thuật toán nhập vào mật khẩu. Sau đó yêu cầu người dùng nhập lại nếu sai mật khẩu.
Thuật toán tìm ước chung lớn nhất của 2 số nguyên dương M, N
Thuật toán tính tổng các số từ 1 đến 20
2.
FILL IN THE BLANK QUESTION
20 sec • 2 pts
Điền từ thích hợp vào chỗ trống để có cấu trúc lặp FOR đúng?
for biến_chạy in ......... :
Khối lệnh cần lặp
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Kết quả của đoạn Code sau là gì?
for i in range(4): print(i)
A) 0, 1, 2, 3, 4
B) 1, 2, 3, 4, 5
C) 0, 2, 4, 6 ,8
D) 0, 1, 3, 6, 10
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Trong Python có mấy dạng lặp?
A) 1
B) 2
C) 3
D) 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Viết vòng lặp for để in các số từ 1 đến 5 ?
A) for i in range(0,5): print(i)
B) for i in range(0,6): print(i)
C) for i in range(1,5): print(i)
D) for i in range(1,6): print(i)
Similar Resources on Wayground
10 questions
Bài 12- Tin 8 KNTT

Quiz
•
8th Grade - University
10 questions
Cấu trúc lặp - Python

Quiz
•
9th - 12th Grade
10 questions
Bài 11: Giải Quyết Vấn Đề

Quiz
•
9th Grade - University
6 questions
Tin học

Quiz
•
10th Grade
10 questions
HĐTN HN 10 CHỦ ĐỀ 8

Quiz
•
9th - 12th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
10 questions
Computer Software

Quiz
•
9th - 12th Grade
10 questions
Bài 8- CĐ F-TH10

Quiz
•
9th - 12th 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