
Câu hỏi về lập trình Python
Quiz
•
Other
•
10th Grade
•
Practice Problem
•
Medium
Le Nhat
Used 1+ times
FREE Resource
Enhance your content in a minute
64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thư viện math cung cấp:
Thủ tục vào ra của chương trình.
Hỗ trợ việc tạo ra các lựa chọn ngẫu nhiên
Các hằng và hàm toán học.
Hỗ trợ trực tiếp các định dạng nén và lưu trữ dữ liệu
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Các lệnh mô tả hàm" phải viết:
Thẳng hàng với lệnh def.
Lùi vào theo quy định của Python.
Ngay sau dấu hai chấm (:) và không xuống dòng.
Viết thành khối và không được lùi vào.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cuối dòng đầu tiên của định nghĩa hàm phải có:
Dấu ':'
Dấu ';'
Dấu '.'
Dấu ','
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, một hàm có thể trả về một giá trị qua tên của nó nếu như có lệnh
return <giá trị>
return
return ('giá trị')
return
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình con là
Một bộ phận của cả chương trình, thực hiện một bài toán nhỏ.
Một đoạn câu lệnh thực hiện một việc nào đó trong tổng số việc để giải một bài toán phức tạp.
Một đoạn câu lệnh thực hiện một việc nào đó được đặt tên.
Một đoạn câu lệnh thực hiện một phần việc trong cả chương trình.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi sử dụng hàm sqrt() ta cần khai báo thư viện:
math
ramdom
zlib
datetime
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mệnh đề nào dưới đây mô tả đúng về hàm tự định nghĩa không trả lại giá trị?
Trong mô tả hàm không có từ khoá return.
Trong mô tả hàm chỉ có một từ khoá return.
Trong mô tả hàm phải có tối thiểu hai từ khoá return.
Trong mô tả hàm hoặc không có return hoặc có return nhưng không có giá trị sau từ khoá return.
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
59 questions
Loli Bài 5
Quiz
•
11th Grade
60 questions
BHHH
Quiz
•
University
69 questions
Hokejs
Quiz
•
10th - 12th Grade
59 questions
Droit
Quiz
•
11th Grade
66 questions
QTRM
Quiz
•
University
64 questions
Mkt chương 1_
Quiz
•
University
68 questions
Fr2 Adjectives are Gold Review
Quiz
•
9th - 12th Grade
60 questions
Utkal University Quiz round 1
Quiz
•
University
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 Other
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
