
Kiểm tra về mô-đun time trong Python
Authored by Hoàng Cảnh
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trả về số giây đã trôi qua kể từ mốc thời gian epoch January 1, 1970, 00:00:00 UTC đối với hệ UNIX?
time.ctime()
time.mktime()
time.sleep()
time.time()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào thực hiện nhận đầu vào là số giây đã trôi qua kể từ mốc thời gian epoch dưới dạng đối số và trả về một chuỗi ký tự biểu thị thời gian cục bộ?
time.mktime()
time.time()
time.ctime()
time.sleep()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào sẽ thực hiện trì hoãn việc thực thi luồng hoạt động hiện tại trong một khoảng thời gian được tính bằng số giây nhất định?
time.time()
time.sleep()
time.mktime()
time.ctime()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào nhận vào đối số là số giây đã trôi qua kể từ mốc thời gian epoch và trả về đối tượng struct_time theo giờ cục bộ?
time.strftime()
time.mktime()
time.gmtime()
time.localtime()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào nhận dữ liệu đầu vào là số giây đã trôi qua kể từ mốc thời gian epoch và trả về đối tượng struct_time ở dạng UTC?
time.localtime()
time.gmtime()
time.mktime()
time.strftime()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào nhận vào đối số là một đối tượng struct_time (hoặc một tuple chứa 9 phần tử tương ứng với struct_time) làm đối số và trả về số giây đã trôi qua kể từ mốc thời gian epoch theo giờ cục bộ?
time.mktime()
time.gmtime()
time.strftime()
time.localtime()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào nhận vào đối số là một đối tượng struct_time (hoặc tuple tương ứng với nó) và trả về một chuỗi ký tự đại diện dựa trên mã định dạng được sử dụng?
time.strftime()
time.localtime()
time.gmtime()
time.mktime()
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
10 questions
Week1
Quiz
•
University - Professi...
10 questions
UD Cybersecurity Pro
Quiz
•
Professional Development
14 questions
DECI - Week 12 - round
Quiz
•
Professional Development
11 questions
Computer Network Test
Quiz
•
University - Professi...
10 questions
Ôn tập bài 27, 28 - k10
Quiz
•
Professional Development
10 questions
Tin 10 bài 12 khởi động
Quiz
•
Professional Development
10 questions
Weekly Quiz 1
Quiz
•
4th Grade - Professio...
10 questions
Maintain Files and Folders
Quiz
•
Professional Development
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 Computers
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development