020. Extra Help

020. Extra Help

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Google Drive Knowledge Check

Google Drive Knowledge Check

10th - 12th Grade

10 Qs

ตัวแปรและชนิดข้อมูล

ตัวแปรและชนิดข้อมูล

10th Grade

10 Qs

BTEC National U2 - Database Revision

BTEC National U2 - Database Revision

12th Grade

10 Qs

مراجعة الاختبار النهائي-انواع البيانات

مراجعة الاختبار النهائي-انواع البيانات

11th Grade

7 Qs

4.1.5 Membina Pangkalan Data

4.1.5 Membina Pangkalan Data

12th Grade - University

10 Qs

J277 - 1.6 - Technology and the Law

J277 - 1.6 - Technology and the Law

10th Grade - University

10 Qs

Framework Genaf

Framework Genaf

12th Grade

10 Qs

Quiz sur la lettre commerciale

Quiz sur la lettre commerciale

9th - 12th Grade

10 Qs

020. Extra Help

020. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Robert Giordano

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

DROPDOWN QUESTION

1 min • 1 pt

Complete the statement below to be able to create date objects.

import ​ (a)  

datetime
math
date
random

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to complete the statement to get the current datetime from the computer

curr_date = datetime.datetime.___()

3.

DRAG AND DROP QUESTION

1 min • 1 pt

Create a date object in the code below.

import datetime

year = 2023

month = 12

day = 25

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

datetime
date
year
month
day

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the code below to find the number of days between date1 and date 2

import datetime

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

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

diff = (date2 - date1).____

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to print which number is larger

num1 = 4

num2 = 6

if ​ (a)   :

print("{} is larger".format(num1))

​ (b)   :

print("{} is larger".format(num2))

num1 > num2
else
num2 > num1
if
num1 == num2
num1 != num2