Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

Python

Python

University

9 Qs

Coding Club - Session 1 - Quiz

Coding Club - Session 1 - Quiz

University

12 Qs

Functions - C

Functions - C

12th Grade - University

10 Qs

Java Quiz based on array

Java Quiz based on array

University

15 Qs

Java Static

Java Static

University

10 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

Basic Python Data Types

Basic Python Data Types

Professional Development

8 Qs

Python Reading files

Python Reading files

9th - 12th Grade

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