Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

Array in C

Array in C

University

10 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Exam 1 Practice

Exam 1 Practice

University

15 Qs

Java Static

Java Static

University

10 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

java quiz based on interface

java quiz based on interface

University

10 Qs

Quiz 142 - Python inputs and outputs

Quiz 142 - Python inputs and outputs

9th Grade - University

15 Qs

Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

Assessment

Quiz

Computers

12th Grade - Professional Development

Hard

Created by

Rafeeque PC

Used 123+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

7//2 ?

3

4

3.5

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

9 / 2 ?

4.5

4

5

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

round(4.4) ?

4

5

4.5

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

print(int("4.5")) ?

4

4.5

Error

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

print(str(4.5)) ?

4.5

"4.5"

5

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the ouput of

str(4.5)?

'4.5'

4.5

45

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

print(float("4.5") ?

4.5

Error

5

4

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?