
ON TAP KIEM TRA KY 2
Authored by Long Lê Trần
Education
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi khai báo hàm, thành phần nào sau đây được định nghĩa và được dùng như biến trong hàm?
A. Tham số.
B. Đối số.
C. Dữ liệu.
D. Giá trị.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các tham số của f có kiểu dữ liệu gì nếu hàm f được gọi như sau: f('5.0')?
str.
float.
int.
Không xác định.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm f được khai báo như sau f(a, b, c). Số lượng đối số truyền vào là?
3.
2.
1.
4.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. 6.29_2_3_3 Cho ví dụ sau: >>>def tong(a,b,c): return a+b+c >>>x,y=15,6 >>>tong(15,x,y)
Tên hàm là tong.
a, b, c là các đối số.
Lệnh gọi hàm là tong(a,b,c):.
Các đối số của chương trình là 15, x, y.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python biến được khai báo và sử dụng bên trong một hàm được gọi là gì?
Biến địa phương.
Biến đơn.
Biến tổng thể.
Biến thông thường.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu biến bên ngoài hàm muốn có tác dụng bên trong hàm ta dùng từ khóa nào?
global.
def.
len().
int().
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là float('2 + 3')?
IndexError.
TypeError.
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
40 questions
Tartuffe acte III scène 3
Quiz
•
10th Grade - University
32 questions
Disney
Quiz
•
9th - 12th Grade
38 questions
Ôn giữa kì I khối 10 bổ sung
Quiz
•
10th Grade
36 questions
Racehorses
Quiz
•
6th Grade - Professio...
40 questions
Temes 3 i 4 (4ESO)
Quiz
•
10th - 12th Grade
40 questions
ULANGAN SPREADSHEET
Quiz
•
10th Grade
36 questions
Territoire Urbain - Les Métropoles
Quiz
•
9th - 12th Grade
40 questions
WG Unit 1 Practice Culture/Map Projections/Lang
Quiz
•
9th - 12th 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