Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

C Programming Quiz-6

C Programming Quiz-6

University

10 Qs

Array in C

Array in C

University

10 Qs

RL Python Basics Quiz 1

RL Python Basics Quiz 1

9th - 12th Grade

10 Qs

Exam 1 Practice

Exam 1 Practice

University

15 Qs

Java Static

Java Static

University

10 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

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