
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
17 questions
BẠN NHỚ MS.DUNG KHÔNG?
Quiz
•
1st Grade
10 questions
Unit 12 - Grade 3
Quiz
•
3rd Grade
10 questions
KTRA BTVN
Quiz
•
1st - 3rd Grade
12 questions
What are you reading?
Quiz
•
4th - 5th Grade
14 questions
MTH - Tigers at Twilight
Quiz
•
2nd - 4th Grade
10 questions
POKEMON
Quiz
•
1st Grade
10 questions
ÔN TẬP TỪ VỰNG UNIT 10
Quiz
•
2nd - 3rd Grade
15 questions
VÒNG 1 - SÂN CHƠI CUỐI TUẦN
Quiz
•
2nd Grade - University
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for English
20 questions
Main Idea and Details
Quiz
•
5th Grade
9 questions
Point of View
Quiz
•
3rd - 4th Grade
12 questions
Figurative Language Review
Interactive video
•
5th Grade
20 questions
Prefix and Suffix Review
Quiz
•
3rd - 5th Grade
20 questions
Character perspective, theme, summarize, author's purpose
Quiz
•
5th Grade
18 questions
Context Clues Practice
Quiz
•
5th Grade
20 questions
Figurative Language
Quiz
•
5th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade