Search Header Logo

Python Quiz 1 - Data Types

Computers

KG - University

Used 401+ times

Python Quiz 1 - Data Types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Data Type represents a whole number?

String
Integer
Float
Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This particular Data Type has 2 potential values (typically True or False).

String
Integer
Boolean
Float

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A price such as £3.65 should be saved as what kind of variable?

String
Integer
Boolean
Float

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which Data Type would the following be stored as:--- "  Biscuit  "

String
Integer
Boolean
Float

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an integer?

2
0.2
.2
pi

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to represent 'nothing'?

None
Nil
Nada
No

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a list of numbers?

y = [1,2,3,4,5]
y = (1,2,3,4,5)
y == "1,2,3,4,5"
12345 = y

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?