PY4E Chapters 2-3 Quiz

PY4E Chapters 2-3 Quiz

8th Grade

32 Qs

quiz-placeholder

Similar activities

Python - Mini Test Revision

Python - Mini Test Revision

8th Grade

30 Qs

Year 9 - HT6 - Homework 1

Year 9 - HT6 - Homework 1

8th - 9th Grade

30 Qs

Year 8 Homework 2

Year 8 Homework 2

8th Grade

34 Qs

HTML Intro

HTML Intro

7th - 9th Grade

33 Qs

Unit 1 and Unit 2

Unit 1 and Unit 2

8th Grade

30 Qs

Python Basics

Python Basics

8th - 10th Grade

30 Qs

Python Revision

Python Revision

7th - 11th Grade

35 Qs

Python Unit 12 - Terminal and System Commands

Python Unit 12 - Terminal and System Commands

6th - 8th Grade

32 Qs

PY4E Chapters 2-3 Quiz

PY4E Chapters 2-3 Quiz

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Sean Rattigan

Used 15+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Code executed based on a condition being true
Sequence
Selection
Iteration
Variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want more than one option for your code, what do you use (after if)?
elif
else
ifif

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python named after
The snake
Television show called Monty Python

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What extension must you add to the end of a file when saving?
.xlsx
.pptx
.docx
.py

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?
It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?
@
¬
;
#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The character that must be at the end of the line for if, while, for etc.
:
;
.
,

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?