
Câu hỏi về Python

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Ngọc Thái
Used 4+ times
FREE Resource
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Để dừng ngay lập tức một vòng lặp trong Python, ta dùng câu lệnh nào?
continue
pass
break
exit
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Kết quả của biểu thức sau là gì?
3
4
5
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Cho chuỗi s = "Python3.10". Kết quả của s.split(".") là:
"Python3", "10"
["Python3", "10"]
("Python3", "10")
["P", "y", ...]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Để kiểm tra xem phần tử x có nằm trong danh sách L hay không, dùng biểu thức nào?
x ∈ L
L.contains(x)
x in L
L.has(x)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Giá trị trả về của abs(-7 // 3) là:
2
3
-3
-2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Khi khai báo hàm, để đặt giá trị mặc định cho tham số:
def f(a=1, b=2):
def f(a==1, b==2):
def f(a:1, b:2):
def f(default a, default b):
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Biến nào là biến toàn cục (global)?
Khai báo tại đầu module
Khai báo bên trong một hàm
Khai báo trong khối if
Khai báo trong vòng lặp for
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Tin10_GHKI_HoangD

Quiz
•
10th Grade
48 questions
Ôn Tập Cuối Kỳ II - Tin Học 10

Quiz
•
10th Grade
49 questions
Đề Cương Ôn Tập Môn Tin Học

Quiz
•
10th Grade
42 questions
lớp 10 - Giữa HKII

Quiz
•
10th Grade
46 questions
Đề Kiểm Tra Tin Học

Quiz
•
10th Grade - University
52 questions
Kiểm tra kiến thức lập trình

Quiz
•
10th Grade
48 questions
Ôn Tập Tin Học 10

Quiz
•
10th Grade
44 questions
Tin CKII

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade