Quiz#3

Quiz#3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Циклы в языке программирования Python (8 класс)

Циклы в языке программирования Python (8 класс)

8th Grade

10 Qs

Business Documents

Business Documents

8th - 12th Grade

12 Qs

C WEEK15 - LN 3 REVISION

C WEEK15 - LN 3 REVISION

8th Grade

10 Qs

Bootstrap:Algebra - Unit 3 Quiz

Bootstrap:Algebra - Unit 3 Quiz

7th - 12th Grade

10 Qs

Bootstrap Unit 1-4 Review

Bootstrap Unit 1-4 Review

6th - 12th Grade

13 Qs

ICT Database

ICT Database

7th - 8th Grade

11 Qs

Python Class first Quiz

Python Class first Quiz

8th Grade

10 Qs

Logic Gates

Logic Gates

7th - 11th Grade

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