Search Header Logo

Intro to Coding Week 4

Authored by Eliza Salamon

Instructional Technology

9th - 12th Grade

Used 2+ times

Intro to Coding Week 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What types do we use in Python?

Integers

Booleans

Floats

Strings

Functions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct way to write a variable in Python?

my_variable = 10
my variable = 10
my_variable is 10
my_variable: 10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type is this variable?
name = 20.6

Int

Float

String

Bool

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which option(s) for variable names do NOT cause an error?

user#1

user1

User1

user_1

1_user

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the calculation in Python:

10 % 4?

(hint: module)

1

2

2.5

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this calculation in Python?

15 // 2

(hint: quotient)

1

17

7

7.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(3.0))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?