Quiz#3

Quiz#3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Quiz Ch 3

Computer Quiz Ch 3

8th Grade

10 Qs

Visual Basic

Visual Basic

6th - 8th Grade

12 Qs

DBMS

DBMS

7th - 10th Grade

10 Qs

Y9 Intro to Python

Y9 Intro to Python

8th Grade

10 Qs

Programming with For Loops

Programming with For Loops

7th - 9th Grade

12 Qs

MS Access

MS Access

8th - 9th Grade

10 Qs

Databases

Databases

3rd - 10th Grade

10 Qs

Basis Data

Basis Data

1st - 10th 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?