Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

Unit 12 - Functional Programming

Unit 12 - Functional Programming

12th Grade - University

13 Qs

Vector in R

Vector in R

University

15 Qs

Quiz3

Quiz3

University

12 Qs

IDT Unit 2 Quiz Review

IDT Unit 2 Quiz Review

8th - 12th Grade

10 Qs

Day 7 Assessment -2

Day 7 Assessment -2

University

10 Qs

C++Quiz#1

C++Quiz#1

Professional Development

10 Qs

Python List Comprehension Review

Python List Comprehension Review

9th - 12th Grade

10 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

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?