
Python-1
Authored by Minh Nguyễn
English
1st - 5th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, biến nào sau đây là hợp lệ?
2var = 10
my-variable = 5
_myVar = "Hello"
class = 100
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, cách nào sau đây để gán giá trị cho nhiều biến cùng một lúc là đúng?
x = y = z = 10
x, y, z == 10
x = (y = z = 10)
x y z = 10
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, cách nào sau đây dùng để tạo một từ điển rỗng?
dict = []
dict = {}
dict = ()
dict = ""
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào sau đây được sử dụng để xóa một cặp khóa-giá trị trong từ điển Python?
remove("key")
del dict["key"]
discard("key")
clear("key")
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, cách nào sau đây dùng để thêm một phần tử vào danh sách (list)?
list.add(item)
list.append(item)
list.insertLast(item)
list.push(item)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử có danh sách nums = [1, 2, 3, 4], câu lệnh nào sẽ xóa phần tử có giá trị 3?
nums.pop(3)
nums.delete(3)
nums.remove(3)
del nums(3)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra nếu điều kiện trong câu lệnh if là False và không có else đi kèm?
Chương trình báo lỗi
Chương trình dừng ngay lập tức
Không có gì xảy ra, khối lệnh if bị bỏ qua
Python tự động thêm một lệnh else mặc định
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
12 questions
LỖI VỀ MẠCH LẠC VÀ LIÊN KẾT
Quiz
•
1st Grade
10 questions
ANIMALS
Quiz
•
3rd Grade
13 questions
ENGLISH 2 - UNIT 3
Quiz
•
2nd Grade
16 questions
CÙNG ÔN TOÁN
Quiz
•
2nd Grade
14 questions
Numbers 1 to 20 (Listen and choose)
Quiz
•
1st Grade
10 questions
Unit 16: Where's the post office?
Quiz
•
5th Grade
15 questions
FAM 2- UNIT 15
Quiz
•
3rd Grade
10 questions
SK2 - U7 - Read it
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 English
20 questions
Main Idea and Details
Quiz
•
5th Grade
12 questions
Figurative Language Review
Interactive video
•
5th Grade
10 questions
Theme
Quiz
•
4th Grade
20 questions
Prefix and Suffix Review
Quiz
•
3rd - 5th Grade
20 questions
Main Idea
Quiz
•
3rd Grade
20 questions
Find the Main Idea and Supporting Details
Quiz
•
3rd Grade
11 questions
Quiz: Review Simple, Compound, and Complex Sentences
Quiz
•
5th Grade
10 questions
Making Inferences
Quiz
•
3rd Grade