
Câu hỏi trắc nghiệm lập trình Python
Quiz
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Easy
jt56s65zn2 apple_user
Used 5+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
40 questions
đề 1
Quiz
•
5th Grade
37 questions
IC3 PHẦN 1: MÁY TÍNH CĂN BẢN
Quiz
•
4th Grade
35 questions
TNTH - Internet và Web
Quiz
•
5th Grade
37 questions
PowerPoint
Quiz
•
5th Grade
40 questions
On luyen 1 khoi 4
Quiz
•
4th Grade
39 questions
Câu Hỏi Ôn Tập IC3 Spark 2024 - 2025
Quiz
•
5th Grade
45 questions
IC3 - Spark - CF - GMetrix - 2
Quiz
•
1st - 5th Grade
40 questions
LOGO 5
Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
