Quiz#3

Quiz#3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Ch-8 Iterative statements in Python

Ch-8 Iterative statements in Python

8th Grade

12 Qs

Циклдік алгоритмдер

Циклдік алгоритмдер

8th Grade

8 Qs

Цикл For (Python)

Цикл For (Python)

5th - 8th Grade

10 Qs

For Loops

For Loops

KG - 8th Grade

8 Qs

123bigchungusSrekas16

123bigchungusSrekas16

1st Grade - Professional Development

15 Qs

Ulangan Bab 6 Analisis Data Kelas 8

Ulangan Bab 6 Analisis Data Kelas 8

8th Grade

10 Qs

Python Niveau 1

Python Niveau 1

6th - 8th Grade

10 Qs

уй тапсырма

уй тапсырма

8th Grade

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