Search Header Logo

Unit 3 Mod 1.3

Authored by Bobbi Jennings

9th - 12th Grade

Used 10+ times

Unit 3 Mod 1.3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

3 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: A datetime.timedelta object stores only days, seconds, and microseconds.

True

False

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are valid expressions for the datetime.timedelta objects t1, t2, and t3? (Choose all that apply.)

t1 = t2 – t3

t1 = 6 % t2

month = datetime.timedelta(1 month)

year = datetime.timedelta(365 days)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which expression defines an object named hiredate with a value of July 1, 2018?

hiredate = datetime.date(year = 2018, month = 7, day = 1)

hiredate = datetime.datetime(year = 2018, month = 7, day = 1)

hiredate = datetime.timedate(year = 2018, month = 7, day = 1)

hiredate = datetime.timedelta(days = 43282)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?