0% found this document useful (0 votes)
17 views2 pages

Python Session 1 Review Quiz

This document is a review session for Python programming concepts, including definitions of key terms like programmer, debug, integer, variable, and loop. It includes exercises to complete sentences, fill in steps for an algorithm, and assess understanding of Python code functionality. Additionally, it features true/false statements and punctuation correction tasks related to Python syntax.

Uploaded by

omarmoataz2500
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Python Session 1 Review Quiz

This document is a review session for Python programming concepts, including definitions of key terms like programmer, debug, integer, variable, and loop. It includes exercises to complete sentences, fill in steps for an algorithm, and assess understanding of Python code functionality. Additionally, it features true/false statements and punctuation correction tasks related to Python syntax.

Uploaded by

omarmoataz2500
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Name: Session 1 Review

Session 1 Review: About Python


Complete each sentence with the correct word.

variable loop debug integer programmer

1. A person that writes programs is called


a .

2. To is to find and fix mistakes in the code.

3. A number is also called


an .

4. A is a stored value that can change in a program.

5. A set of instructions that repeat are part of


a .

/5

6. Before making a program, a programmer will often write a description that lists each
step. This is called an algorithm.

Think like a programmer!

Complete the steps in the algorithm to get a drink of milk:

1 get cup MISSING STEPS


A - tilt the milk jug
2

B - put milk jug back in fridge


3 move the milk jug over cup

C - get milk jug from fridge


4

5 stop pouring when the cup is full

/3

Copyright © TechnoKids Inc. TechnoPython | Python


Name: Session 1 Review

Check if a statement is true or false.

7. A comment is a note for the programmer.  true  false

8. You can run a program without saving the changes.  true  false

9. Instructions that are part of a loop should be indented.  true  false


/3

Read each line of Python code. What does it do?

10
. print('I like to code.')

a. Show the text on the screen, I like to code.

b. Send a document to the printer.

c. Nothing. This is not real code.

11
. #keep score

a. Add a point to the player's score.

b. Tell the programmer about the code in the program.

c. Show the text keep score on the screen.

12
. while True:

a. Import the True library.

b. Run instructions if a value is less than 10.

c. Loop a set of instructions.


/3

The code has the wrong punctuation. Which is correct?

13
. print(You are super!)

a. quotes print('You are super!')

b. double brackets print((You are super!))


/1
TOTAL: /15

Copyright © TechnoKids Inc. TechnoPython | Python

You might also like