
KT THƯỜNG XUYÊN (RẼ NHÁNH, LẶP)
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
hồng hải
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Sau khi thực hiện đoạn lệnh:
x = 15
s = 17
if x % 2 == 0: s = s + x
else: s = s - x
print(s)
Giá trị của s bằng bao nhiêu?
65
32
2
5
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong Python có mấy dạng lặp:
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu lệnh if trong chương trình Python có dạng:
if <điều kiện> <câu lệnh hay nhóm câu lệnh>
if <điều kiện>:
<câu lệnh hay nhóm câu lệnh>
<điều kiện>: <câu lệnh hay nhóm câu lệnh>
if <điều kiện>
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Cấu trúc lặp với số lần biết trước là:
for <Biến chạy> in range(m,n) <Khối lệnh cần lặp>
while <Điều kiện>: <Khối lệnh cần lặp>
for <Biến chạy>in range(m,n):
<Khối lệnh cần lặp>
for <Biến chạy>in range(m,n):
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Trong câu lệnh rẽ nhánh thì <điều kiện>: là biểu thức nhận giá trị gì?
kiểu số thực
kiểu ký tự
kiểu số nguyên
giá trị logic True hoặc False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Sau khi thực hiện đoạn chương trình sau:
x = 10
if x>12: x=x+2
else: x=x//2
print(x)
Giá trị của x sẽ là?
10
5
22
15
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình sau: for i in range(6): 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?
3
4
5
6
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
Already have an account?
Similar Resources on Wayground
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
Kuis Refleksi 2
Quiz
•
9th - 12th Grade
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
15 questions
Review for Midterm Test ICT 3
Quiz
•
1st - 11th Grade
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
