DATATYPES - INPUT/OUTPUT - OPERATORS

DATATYPES - INPUT/OUTPUT - OPERATORS

Professional Development

24 Qs

quiz-placeholder

Similar activities

Programming II - Introduction

Programming II - Introduction

12th Grade - Professional Development

20 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Python - CDT

Python - CDT

Professional Development

20 Qs

For Loop Python_2024

For Loop Python_2024

Professional Development

20 Qs

Pengenalan Coding

Pengenalan Coding

1st Grade - Professional Development

20 Qs

Python for Data Professional Beginner

Python for Data Professional Beginner

University - Professional Development

23 Qs

Python Basic

Python Basic

Professional Development

19 Qs

DATATYPES - INPUT/OUTPUT - OPERATORS

DATATYPES - INPUT/OUTPUT - OPERATORS

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Sundeep Kanthety

Used 38+ times

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?