
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
Kiểm tra miệng: Bài 18 - Tin học 10
Quiz
•
Professional Development
10 questions
Digital Skills
Quiz
•
Professional Development
14 questions
Tin học 7 - ÔT Cuối kì 2 CĐ Bảng tính - Trình chiếu
Quiz
•
Professional Development
12 questions
BIS - Database
Quiz
•
Professional Development
10 questions
C++Quiz#1
Quiz
•
Professional Development
8 questions
Ai là chuyên gia về CTTT & CT môn Tin học - Tiểu học
Quiz
•
University - Professi...
10 questions
Hàm
Quiz
•
Professional Development
6 questions
Security Quiz 4
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development