Search Header Logo

DATATYPES - INPUT/OUTPUT - OPERATORS

Authored by Sundeep Kanthety

Computers

Professional Development

Used 38+ times

DATATYPES - INPUT/OUTPUT - OPERATORS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can store numbers, letters and symbols?

String

Float

Integer

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?

print(Hello world!)

Hello World!

Syntax Error

Hello World

print(Hello World!)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer to print (16//5)?

1

3

21

165

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comment lines in code?

To compliment your work so you feel better about it.

To explain the code that follows it.

To make the code compile.

To make your code longer so you get more points.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify python membership operators.

in, not in

is , is not

in, in not

not is, is

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify valid identifiers (variable or variables)

a@123

_n

1a

n 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct operator for power(x,y)?

X^y

X**y

X^^y

pow(x,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?