016. Extra Help

016. Extra Help

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Робот Карел

Робот Карел

9th Grade

10 Qs

Revision Quiz  Game- 1

Revision Quiz Game- 1

12th Grade

10 Qs

DNA Databases

DNA Databases

12th Grade

10 Qs

Python массив

Python массив

9th - 12th Grade

10 Qs

Programação Front End - Melhorando a semântica

Programação Front End - Melhorando a semântica

11th Grade

10 Qs

Data Handling Introduction

Data Handling Introduction

12th Grade

10 Qs

Quiz 02 - Comments and Style

Quiz 02 - Comments and Style

11th Grade

10 Qs

Python Turtle - Homework

Python Turtle - Homework

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

date and time functions

import datetime

math module functions

import random

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