
Ôn Tập HK2
Authored by Huy undefined
Others
KG
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. 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?
Tham số.
Đối số.
Giá trị
Dữ liệu.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Các tham số của f có kiểu dữ liệu gì nếu hàm f được gọi như sau:
str.
float.
int.
Không xác định
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Hàm f được khai báo như sau f(a, b, c). Số lượng đối số truyền vào là
2.
1.
3.
4
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Câu 4. 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 số đối của chương trình là 15,x,y
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7: Mã lỗi ngoại lệ của lệnh sau là float(“2 +3”)
IndexError.
TypeError.
ValuneError
SyntaxError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 8: Chương trình sau thông báo lỗi gì? for i in range(10) print(i)
Type Error
NameError
SyntaxError
ValuneError
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: 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
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
29 questions
ngoại ngữ
Quiz
•
1st Grade - University
31 questions
MD02.02
Quiz
•
University
32 questions
Kiến thức về điện
Quiz
•
KG
24 questions
giun móc mỏ
Quiz
•
KG - University
24 questions
sinh học
Quiz
•
University
24 questions
ôn 👾👾
Quiz
•
KG
24 questions
Học Phần A4
Quiz
•
University
30 questions
Quiz về Dao động điều hòa
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Others
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
11 questions
FOREST Growth Mindset
Lesson
•
KG
10 questions
THEME
Quiz
•
KG - University
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
10 questions
Add & Subtract Mixed Numbers with Like Denominators
Quiz
•
KG - University
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
10 questions
2D & 3D Shapes
Quiz
•
KG
20 questions
Capitalization in sentences
Quiz
•
KG - 4th Grade