Quiz#3

Quiz#3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Unit 2 Quiz - Bootstrap: Algebra

Unit 2 Quiz - Bootstrap: Algebra

6th - 12th Grade

11 Qs

Цикл for

Цикл for

8th Grade

10 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

For_python_v1

For_python_v1

1st - 12th Grade

10 Qs

PYTHON (FOR LOOP)

PYTHON (FOR LOOP)

1st - 10th Grade

10 Qs

Python 101 Grade 8

Python 101 Grade 8

6th - 8th Grade

15 Qs

Exel Formulas

Exel Formulas

6th - 8th Grade

12 Qs

Quiz#3

Quiz#3

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Eman Shatnawe

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the type() function do in Python?

Converts a variable into a different data type

Returns the data type of an object

Checks if a variable is an integer

Checks if a string is empty

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will type(5) return?

str

int

float

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will type(3.14) return?

int

float

double

decimal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does range(3) produce?

[1, 2, 3]

[0, 1, 2]

[3, 4, 5]

[2, 3, 4]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

1 2 3 4 5

1 2 3 4

0 1 2 3 4

1 2 3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will produce the numbers 10, 8, 6, 4?

range(10, 3, -2)

range(10, 4, -2)

range(10, 4, -1)

range(10, 4)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a relational operator?

<

<=

!=

=

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?