Search Header Logo

Data Types & Operators Python

Authored by P Bailey

Computers

9th Grade

Used 16+ times

Data Types & Operators Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type is used to store:
100

Integer
Double
Boolean
String

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type is used to store:
TRUE

Boolean
Double
String
Integer

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This data type is used to store a mixture of letters and numbers and symbols.

String

Float

Boolean

Integer

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable?

A storage location of memory which can change throughout the program

A random area to store things in

A value that is fixed throughout the program

Something that can only store numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python operator means 'less than or equal to'?

>=

>

<

<=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code :


print 9//2

4.5

4.0

4

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is floor division?

/

//

%

None of the mentioned

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?