first assessment

first assessment

Assessment

Interactive Video

Computers

10th Grade

Practice Problem

Hard

Created by

Dana Ayash

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

what are the variables in python

str

int

float

number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a string value assigned to a variable named 'item' in Python?

item == "Banana"

item = "Banana"

item := "Banana"

item <- "Banana"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the implication of Python being a case-sensitive language when naming variables?

All variable names must start with a lowercase letter.

"item" and "Item" are considered two distinct variables.

Keywords like 'if' and 'else' must always be capitalized.

Only string values stored in variables are case-sensitive.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When attempting to combine a string variable with an integer variable using the '+' operator, what function should be used to convert the integer to a string to avoid a TypeError?

int()

float()

str()

list()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, which operator is used to calculate the exponential power of a number (e.g., a to the power of b)?

^

**

//

%

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Are you enjoying the video lesson?

Yes

No

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What numbers does `range(5)` generate in Python?

0, 1, 2, 3, 4

1, 2, 3, 4, 5

0, 1, 2, 3, 4, 5

1, 2, 3, 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?

Discover more resources for Computers