
Ô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
34 questions
CNTT giữa kì 1 lớp 11 bởi Hoàng đẹp trai
Quiz
•
11th Grade - University
34 questions
CNXH C2
Quiz
•
University
24 questions
Trắc nhiệm công nghệ
Quiz
•
KG
24 questions
TEST RM CAPABITITY - AM HIỂU LĨNH VỰC DOANH NGHIỆP
Quiz
•
1st - 5th Grade
24 questions
ktpl gk2
Quiz
•
11th Grade
24 questions
Quan điểm Mác - Lênin và Hồ Chí Minh
Quiz
•
Professional Development
24 questions
chính tri,8,9
Quiz
•
KG
25 questions
Ôn tập lịch sử hk1
Quiz
•
KG - University
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
Discover more resources for Others
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Sound Energy Assessment
Quiz
•
KG - 2nd Grade
10 questions
Dr. Seuss
Quiz
•
KG - 5th Grade
20 questions
greater than less than equal to
Quiz
•
KG - 1st Grade
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Capitalization in sentences
Quiz
•
KG - 4th Grade
15 questions
Simple Patterns AB, ABB, ABC
Quiz
•
KG - 1st Grade