BÀI 9: THỰC HÀNH LỆNH LẶP (TIẾT 1/2)

Quiz
•
Computers
•
Professional Development
•
Medium
Lý Đỗ
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
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:
A. Cấu trúc rẽ nhánh
B. Hàm ceil()
C. Cấu trúc lặp
D. Hàm toán học sqrt()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python có mấy dạng lặp:
A. 1
B. 2
C. 3
D. 4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm range(1,101) sẽ tạo ra?
A. một dãy số nguyên từ 1 đến 101.
B. một dãy số nguyên từ 1 đến 100.
C. một dãy số nguyên từ 0 đến 101.
D. 101 số ngẫu nhiên.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, lệnh
for dem in range(1,20):
print(“Xin chao!”)
thực hiện in ra màn hình bao nhiêu dòng chữ ‘Xin chao!’
A. 20
B. 1
C. 19
D. 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
s=0
for i in range(6):
s=s+1
print(s)
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
A. 1
B. 15
C. 6
D. 5
Similar Resources on Wayground
10 questions
Ôn tập bài 27, 28 - k10

Quiz
•
Professional Development
5 questions
MS-900 - Module 3 - Lesson 1 - KT

Quiz
•
Professional Development
10 questions
Tin 10 bài 12 khởi động

Quiz
•
Professional Development
10 questions
Quiz on Data Structures

Quiz
•
Professional Development
10 questions
K11 Chủ đề A Bài 2

Quiz
•
Professional Development
10 questions
Bài kiểm tra môn Tin học

Quiz
•
Professional Development
10 questions
T9_Bai2_P1_2024

Quiz
•
Professional Development
10 questions
SI C1

Quiz
•
Professional Development
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