Python Unit 3 test

Python Unit 3 test

8th - 9th Grade

36 Qs

quiz-placeholder

Similar activities

Python Course Selection

Python Course Selection

7th - 11th Grade

31 Qs

C Programming

C Programming

5th - 12th Grade

31 Qs

CS Arrays

CS Arrays

9th - 12th Grade

34 Qs

HTML Basics

HTML Basics

8th Grade

38 Qs

Unit 1 Module 1 Review

Unit 1 Module 1 Review

9th - 12th Grade

32 Qs

CFI- Final Assessment 2025

CFI- Final Assessment 2025

6th - 8th Grade

40 Qs

Year 8 - Python Quiz

Year 8 - Python Quiz

8th Grade

31 Qs

JavaScript Function

JavaScript Function

9th - 12th Grade

33 Qs

Python Unit 3 test

Python Unit 3 test

Assessment

Quiz

Computers

8th - 9th Grade

Easy

Created by

Asma Al-Faran

Used 2+ times

FREE Resource

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.

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?