
Python-1
Quiz
•
English
•
1st - 5th Grade
•
Medium
Minh Nguyễn
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Ms Ai - Get starters - unit 1 page 8 9 10
Quiz
•
2nd Grade
10 questions
Morphology Lesson 1
Quiz
•
5th Grade
16 questions
WILD ANIMALS - 4TH GRADES
Quiz
•
4th Grade
16 questions
MINH VUONG EDU - ENGLISH 5 UNIT 11
Quiz
•
5th Grade
13 questions
Poem: I have one
Quiz
•
KG - 3rd Grade
16 questions
E3 - GS - Review U11-15
Quiz
•
3rd Grade - University
13 questions
ms grammar 5
Quiz
•
5th Grade
15 questions
Bài tập ngữ văn
Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for English
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Setting Quiz
Quiz
•
2nd - 5th Grade
15 questions
Subject-Verb Agreement
Quiz
•
4th Grade
20 questions
Irregular Plural Nouns
Quiz
•
3rd Grade
13 questions
Point of View
Quiz
•
4th Grade
20 questions
Theme
Quiz
•
4th Grade
12 questions
Figurative Language
Quiz
•
3rd Grade
