016. Extra Help

016. Extra Help

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Numpy Revision Test

Numpy Revision Test

10th Grade

8 Qs

Python L1 Quiz 5: Random Numbers and More Turtle Features

Python L1 Quiz 5: Random Numbers and More Turtle Features

1st - 12th Grade

10 Qs

Visual Basic Intro Quiz

Visual Basic Intro Quiz

9th - 12th Grade

10 Qs

انواع البيانات(date)

انواع البيانات(date)

10th Grade

8 Qs

014. A - D Extra Help

014. A - D Extra Help

9th - 12th Grade

4 Qs

Quiz MySQL 1

Quiz MySQL 1

11th Grade

10 Qs

Importance of data

Importance of data

10th Grade

10 Qs

PYTHON(LIBRARIES)

PYTHON(LIBRARIES)

12th Grade

10 Qs

016. Extra Help

016. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Robert Giordano

Used 1+ times

FREE Resource

6 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the following

math module functions

import random

date and time functions

import datetime

random numbers

import math

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