Search Header Logo

End Of Lesson 1 Quiz

Authored by Alisia Habibi

Computers

Vocational training

End Of Lesson 1 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the data type of the python variable: x = 5.9?

str

int

float

bool

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type in Python is used to store a sequence of characters?

int

str

float

bool

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What would be the right data type to check if: 23 x 2 = 46?

float

str

bool

str

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which library will I need to include in my code if I want to insert a 2-second pause between statements?

math

time

seconds

str

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Line 1:

Line 2: print("Missing Hypotenuse = 30 / math.sin(math.radians(42))

What statement is missing in line 1?

import time

import sin

import math

import radians

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one of the following commands creates a list?

list = list[]

list = (new list)

list{1,2}

list =[]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will this function display?

cat,pen,2,3.5,house

house,3.5,2,pen,cat

5

4

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?