Python basics

Python basics

Professional Development

22 Qs

quiz-placeholder

Similar activities

C Code Master

C Code Master

Professional Development

20 Qs

Quiz 5.1

Quiz 5.1

Professional Development

20 Qs

ZeroToMastery

ZeroToMastery

University - Professional Development

20 Qs

Quiz1_7A

Quiz1_7A

2nd Grade - Professional Development

20 Qs

For Loop Python_2024

For Loop Python_2024

Professional Development

20 Qs

/Python_Quiz\

/Python_Quiz\

KG - Professional Development

20 Qs

Python Programming Quiz

Python Programming Quiz

Professional Development

20 Qs

Python Programming

Python Programming

Professional Development

20 Qs

Python basics

Python basics

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Kavya M

Used 85+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

input

print

output

display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number or word we give to a variable

Information

key

value

data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values

Data type

Data structure

Value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display the following on screen

Hello World!

the following command should be used:

print(Hello World!)

print("Hello World!")

print("Hello World" + !)

print"(Hello World!)"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print("x*y")

The code above displays the following:

11

x*y

30

Syntax Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator checks if a value is equal to another value?

=

!=

~

==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a string?

new_var = "True"

new_var = False

new_var = "2.4"

new_var = "5+2j"

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?