Search Header Logo

H446.1.4.1.data types

Authored by Ian Currie

Computers

12th Grade

Used 2+ times

H446.1.4.1.data types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

67 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this line of code: x = True, what data type is x?

Integer
Real
String
Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this line of code: x = 6 < 3, what data type is x?

Boolean
String
Real
Integer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is a Boolean data type?

A set of alphanumeric characters
A whole number
A number that may have a fractional component
A value that is true or false, -1/1 or 0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the character data type?

An single item of punctuation e.g. ?
None of these
A single alphabetic character
A single alphanumeric character

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In this line of code, identify a string: score = score + int(input('Enter your score: '))

int
input
score
'Enter your score: '

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string data type?

A whole number
A number that may have a fractional component
A set of alphanumeric characters
A value that is true or false, -1/1 or 0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type should be used for storing the name of a person?

String
Real
Integer
Boolean

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?