Bài 26-Hàm trong Python
Quiz
•
Computers
•
10th Grade
•
Medium
Thầy Cải AG
Used 49+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây không phải là lệnh trong Python
Read
Input
type
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây sai?
Lệnh x = int( ’52 + 25’) chuyển xâu ’52 + 25’ thành số nguyên 77
Lệnh print(“Thời khoá biểu”) thực hiện việc in xâu kí tự “Thời khoá biểu” trong dấu ngoặc ra màn hình
Lệnh x = int( ‘52’) chuyển xâu ‘52’ thành số nguyên 52
Lệnh type(y) trả lại kiểu dữ liệu của biến y
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp câu lệnh gọi hàm trong Python có dạng chung nào sau đây?
<tên hàm>(<danh sách tham số>)
<tên hàm> = (<danh sách tham số>)
<tên hàm> . (<danh sách tham số>)
<tên hàm> : (<danh sách tham số>)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây sai?
len(): tham số là danh sách hoặc xâu kí tự và trả về giá trị kiểu số thực.
float(): tham số là một xâu kí tự hoặc số nguyên và trả về giá trị số thực.
str(): tham số là các kiểu dữ liệu khác nhau và trả về xâu kí tự.
len(): tham số là danh sách hoặc xâu kí tự và trả về giá trị kiểu số nguyên.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4
3
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xin chào bạn Trần Quang Minh
Xin chào bạn
Trần Quang Minh
Xin chao ban Trần Quang Minh
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp thiết lập hàm có trả lại giá trị là:
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
10 questions
k10 - bài 9
Quiz
•
10th Grade
10 questions
KTTX Tin 9-HKII
Quiz
•
9th - 12th Grade
10 questions
Học mà chơi
Quiz
•
10th - 12th Grade
10 questions
Bài 10 - Cấu trúc rẽ nhánh
Quiz
•
5th Grade - University
15 questions
UI1-01: Hiểu biết về CNTT CB - Phần cứng
Quiz
•
10th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
12 questions
BAI 25_TINHOC
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
