
Câu hỏi trắc nghiệm lập trình Python
Authored by jt56s65zn2 apple_user
Computers
1st - 5th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào sau đây có thể lấy làm <điều kiện> trong câu lệnh rẽ nhánh?
x+y
x>=y
x%y
x//y
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của biến c sau khi thực hiện chương trình sau: a=10; b=4 if a%b = = 0: c=a//b else: c=a+b
14
2
6
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của biến Tong trong chương trình sau? tong=0 for i in range(1,9,2) : tong=tong + i
Tong=16
Tong=25
Tong=20
Tong=36
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp sau đây sẽ kết thúc khi i=? for i in range(1,n+1) : print(i)
i=1
i=n
i=n-1
i=n+1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau có mấy lỗi? tong=0 for i in range(1,9,2): Tong=Tong + i
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<điều kiện> nào để câu lệnh lặp sau đây không lặp nữa (điền dấu so sánh vào ………) ? x=10; y=7 while x……y : x=x-1 y=y+1
= =
!=
<
<=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<điều kiện> trong câu lệnh lặp với số lần lặp không biết trước là:
Biểu thức logic
Biểu thức số học
Biểu thức toán học
Phép toán số học
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
35 questions
2223-K3-HKI
Quiz
•
3rd Grade
44 questions
Movies
Quiz
•
2nd Grade - Professio...
45 questions
TỪ VỰNG TỔNG HỢP B5
Quiz
•
1st - 2nd Grade
35 questions
ÔN TẬP HKII KHTN 7
Quiz
•
4th Grade
36 questions
BÀI TẬP ÔN LUYỆN IC3-SPARK 2
Quiz
•
4th Grade
40 questions
Đề Cương Tin Học
Quiz
•
1st Grade
40 questions
Kiến thức cơ bản về Internet
Quiz
•
5th Grade
40 questions
Ôn tập kiểm Tra Cuối Học Kì II Môn Tin Học
Quiz
•
3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
18 questions
Comparing Fractions with same numerator or denominator
Quiz
•
3rd Grade
15 questions
Fractions on a number line
Quiz
•
3rd Grade