Intro to Coding Week 4

Intro to Coding Week 4

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Arduino practice 2

Arduino practice 2

9th - 11th Grade

15 Qs

Python Programming Quiz

Python Programming Quiz

11th Grade

11 Qs

U1: Digital Literacy & Processing Information

U1: Digital Literacy & Processing Information

9th Grade

20 Qs

Python_Era 2.0

Python_Era 2.0

11th - 12th Grade

15 Qs

Algorithms

Algorithms

6th - 9th Grade

18 Qs

Python Functions and Returns

Python Functions and Returns

9th - 12th Grade

14 Qs

LO13 Lesson 6

LO13 Lesson 6

10th Grade

18 Qs

Luyện tập rẽ nhánh

Luyện tập rẽ nhánh

1st - 12th Grade

19 Qs

Intro to Coding Week 4

Intro to Coding Week 4

Assessment

Quiz

Instructional Technology

9th - 12th Grade

Medium

Created by

Eliza Salamon

Used 2+ times

FREE Resource

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'>

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?