Tin Học 10
Quiz
•
Other
•
10th Grade
•
Easy
Thanhh Ngọc
Used 3+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, xâu nào chương trình sẽ báo lỗi ?
Nguyễn Trãi 2024
'"Beautiful is better than ugly."
"123145"
"It\'s also a valid string"
Answer explanation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau nếu s = “python1221” là gì?
s = input("Nhập xâu kí tự bất kì:")
kq = False
for i in range(len(s)-1): if s[i] == "2" and s[i+1] == "1":
kq = True
break
print(kq)
True.
False.
Chương trình bị lỗi.
Vòng lặp vô hạn.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Chương trình sau giải quyết bài toán gì?
s = " "
s. append("2")
print(s)
In ra một chuỗi các số từ 0 tới n.
Chương trình bị lỗi.
In ra một chuỗi các số lẻ từ 0 đến n.
In ra một chuỗi các số chẵn từ 0 đến n – 1.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu?
>>> s = “0123145”
>>> s[0] = ‘8’
>>> print(s[0])
‘8’
‘0’
‘1’
Chương trình bị lỗi
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Chuỗi sau được in ra mấy lần?
s = "abcdefghi"
for i in range(10):
if i % 4 == 0:
print(s)
3
0
1
2
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phát biểu nào sau đây là sai ?
Xâu có thể được coi là danh sách các kí tự nhưng không thay đổi từng kí tự của xâu.
Truy cập từng kí tự của xâu qua chỉ số, chỉ số từ 0 đến độ dài len().
Truy cập từng kí tự của xâu qua chỉ số, chỉ số từ 0 đến độ dài len() -1.
Xâu kí tự trong Python là dãy các kí tự Unicode.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Chương trình trên giải quyết bài toán gì?
s = ""
for i in range(10):
s = s + str(i)
In một chuỗi kí tự từ 1 tới 10
In một chuỗi kí tự từ 1 đến 9
In một chuỗi kí tự từ 0 tới 10
In một chuỗi kí tự từ 0 tới 9
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
10 questions
Sustainability Quiz
Quiz
•
1st - 12th Grade
15 questions
Teacher's Day
Quiz
•
6th - 12th Grade
18 questions
IGCSE Economics Glossary Terms - B
Quiz
•
9th - 12th Grade
16 questions
Parties de la Daisy 853c
Quiz
•
7th - 12th Grade
10 questions
Elements of a Contract -Business Law
Quiz
•
KG - 12th Grade
16 questions
Newspaper
Quiz
•
5th Grade - Professio...
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Anime Quiz
Quiz
•
KG - Professional Dev...
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
Discover more resources for Other
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
33 questions
Algebra 1 Semester 1 Final 2025
Quiz
•
8th - 10th Grade
