Search Header Logo

Python Unit 3 test

Authored by Asma Al-Faran

Computers

8th - 9th Grade

Used 2+ times

Python Unit 3 test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?

@
¬
;
#

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?
name = 'Dave'
print (name)

Dave
'Dave'
name
(name)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would print (10 + 16) produce?

20
22
24
26

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is use for function?

define
fun
def
function

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To output the result, we need to use print() function.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this function do?

input()

Opens the CD tray.

Asks the user to type something in.

Displays the word 'input'.

Exits the program.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A number such as 25.

Plus, minus, multiply, divide or equals.

An array of text.

A storage location in the program which stores a value.

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?