Search Header Logo

016. Extra Help

Authored by Robert Giordano

Computers

9th - 12th Grade

Used 1+ times

016. Extra Help
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the following

date and time functions

import random

math module functions

import math

random numbers

import datetime

2.

DRAG AND DROP QUESTION

1 min • 1 pt

Drag and drop to make the statement to take user input to the variable called distance as a float.

​ (a)   = ​ (b)   (​ (c)   ("Enter distance: "))

distance
float
input
int
scanner

3.

DROPDOWN QUESTION

1 min • 1 pt

Fill in the blanks to make the value of curr_date be the current date from the computer.

import datetime

curr​ (a)   .​ (b)   .​ (c)   ()

datetime
now
date
today
current

4.

DRAG AND DROP QUESTION

1 min • 1 pt

Drag and drop to create a date object in the code:

import datetime

year = 2023

month = 9

day = 6

date1 = ​ (a)   .​ (b)   (​ (c)   , ​ (d)   , ​ (e)   )

print(date1) ​

datetime
date
year
month
day

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to find the difference between the 2 dates in number of days.

import datetime

date1 = datetime.date(2023, 9, 6)

date2 = datetime.date(2024, 6, 21)

diff = (date2 - date1).____

6.

DROPDOWN QUESTION

1 min • 1 pt

sqrt
pow
cbrt
floor
ceil
exp

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?