10th Grade - 3rdCycle Exam

10th Grade - 3rdCycle Exam

10th Grade

50 Qs

quiz-placeholder

Similar activities

KISI2 PTS GNP Pemrograman Dasarrr

KISI2 PTS GNP Pemrograman Dasarrr

10th Grade

50 Qs

Week 4 - What is Python?

Week 4 - What is Python?

9th - 12th Grade

46 Qs

Year 9 EOT 2 Assessment

Year 9 EOT 2 Assessment

9th - 12th Grade

50 Qs

Узагальнюючий тест 8 клас

Узагальнюючий тест 8 клас

8th Grade - University

48 Qs

Week 7 - User Functions

Week 7 - User Functions

9th - 12th Grade

54 Qs

ÔN TẬP KỲ 1 - TIN HỌC 10

ÔN TẬP KỲ 1 - TIN HỌC 10

10th Grade

50 Qs

Python 3 Loops

Python 3 Loops

9th - 12th Grade

55 Qs

Computer Science Concepts and Terminology

Computer Science Concepts and Terminology

9th - 12th Grade

54 Qs

10th Grade - 3rdCycle Exam

10th Grade - 3rdCycle Exam

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Eugene Castro

Used 4+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module in Python is used to work with dates and times?
time
datetime
calendar
dateutil

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you import the datetime module in Python?
import datetime
import time
import date
import calendar

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method returns the current date and time?
datetime.today()
datetime.now()
datetime.current()
datetime.date()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a date object for May 17, 2020?
datetime(2020, 5, 17)
datetime.date(2020, 5, 17)
datetime.datetime(2020, 5, 17)
date(2020, 5, 17)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the strftime("%B") method return when called on a date object?
Short version of the month name
Full version of the month name
Month as a number
Day of the month

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which directive is used to represent the year with century in the strftime method?
%y
%Y
%C
%B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you import the math module in Python?
import mathematics
import math
import nums
import calc

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?