
ÔN TẬP HK2-Trắc nghiệm Python
Authored by Quizizz Pro6
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Đoạn mã nào sau đây sẽ tạo ra một danh sách các số nguyên từ 1 đến 5?
dayso = list(range(1, 6)).
dayso = [1, 2, 3, 4, 5].
dayso = (1, 2, 3, 4, 5)
dayso = {1, 2, 3, 4, 5}
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình, xâu kí tự là gì?
A. Một loại biến đặc biệt dùng để lưu trữ số nguyên.
B. Một danh sách các ký tự nhưng không thay đổi từng ký tự của xâu.
C. Một cấu trúc dữ liệu dùng để lưu trữ các phép toán số học.
D. Một dãy các ký tự Unicode.
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Để khai báo một xâu kí tự trong Python, ta sử dụng cặp dấu nào?
A. " "
B. [ ]
C. ( )
D. ' '
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho chương trình sau và thực hiện trong Python khi nhập xâu s = "Năm học 2023-2024" s=input() demso=0 for i in s: if i in "0123456789": demso=demso+1 print(demso) Chương trình in ra số các chữ số có trong xâu s.
Chương trình in ra các chữ số có trong xâu s.
chương trình in ra số các chữ số có trong xâu s
kết quả chương trình là 20232024
kết quả chương trình là 8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, '3']
list
int
float
string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào cuối list trong python?
abs()
link()
append()
add()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho arr = ['xuan', 'hạ', 1. 4, 'đông', '3', 4.5, 7]. Đâu là giá trị của arr[3]?
1.4
'đông'
'hạ'
'3'
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
16 questions
Boolean and Search Operators
Quiz
•
9th - 12th Grade
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
20 questions
Linux Directory Structures
Quiz
•
10th Grade - University
20 questions
Structure of a Webpage
Quiz
•
10th Grade
18 questions
STEM Fundamentals
Quiz
•
9th - 12th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8
Quiz
•
8th - 11th Grade
20 questions
Quiz Informatika Bab 3 & 4
Quiz
•
10th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade