Search Header Logo

Python basics

Authored by Kavya M

Computers

Professional Development

Used 166+ times

Python basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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"

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?