Search Header Logo
Python Flashcard 1 - Data Types

Python Flashcard 1 - Data Types

Assessment

Flashcard

Computers

KG - University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which Data Type represents a whole number? Options: String, Integer, Float, Boolean

Back

Integer

2.

FLASHCARD QUESTION

Front

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

Back

Boolean

3.

FLASHCARD QUESTION

Front

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

Back

Float

4.

FLASHCARD QUESTION

Front

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

Back

String

5.

FLASHCARD QUESTION

Front

Which of the following is an integer? 2, 0.2, .2, pi

Back

2

6.

FLASHCARD QUESTION

Front

Which of the following is used to represent 'nothing'? Options: None, Nil, Nada, No

Back

None

7.

FLASHCARD QUESTION

Front

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

Back

y = [1,2,3,4,5]

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?