Intro to Coding Week 4

Intro to Coding Week 4

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

its the future

its the future

8th Grade - Professional Development

18 Qs

ms word

ms word

1st Grade - Professional Development

20 Qs

Common Features in Office 2019

Common Features in Office 2019

9th - 12th Grade

20 Qs

Coding Loops/Lists

Coding Loops/Lists

9th - 12th Grade

21 Qs

Python Basic II

Python Basic II

11th Grade - University

20 Qs

Основи Python

Основи Python

7th - 12th Grade

12 Qs

Latihan PRA PAS 2021

Latihan PRA PAS 2021

10th Grade

14 Qs

9th grade CS exam

9th grade CS exam

7th - 9th Grade

20 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?