
ON TAP KIEM TRA KY 2
Quiz
•
Education
•
10th Grade
•
Practice Problem
•
Easy
Long Lê Trần
Used 1+ times
FREE Resource
Enhance your content in a minute
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.
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
38 questions
hóa lôn
Quiz
•
9th - 12th Grade
40 questions
KT GIỮA KỲ - TIN 10 KNTT
Quiz
•
10th Grade
34 questions
Movie
Quiz
•
1st Grade - Professio...
40 questions
SOAL FISIKA KELAS 10
Quiz
•
9th - 12th Grade
31 questions
Intro Business and Technology IA Review
Quiz
•
9th - 12th Grade
32 questions
Ôn tập Đăm Săn đi bắt nữ thần Mặt Trời
Quiz
•
9th - 12th Grade
37 questions
Ôn Kiểm Tra Giữa Kỳ 2 - GD Kinh Tế và PL
Quiz
•
10th Grade - University
34 questions
[SÁNG] Truyền thống Tôn sư trọng đạo
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Education
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
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
