Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 86

How to

code in
Python

Student
Workbo
Student Name: Won Ho CHO ok
English Name: Jack
Class: Computer science
Teacher: Mr. Twemlow

! Complete all activities in this workbook by including screenshots of


your code and working programs where requested.

! To use this workbook, you will need to use the PDF book ‘How to
code in Python’.

! Save each program created with the correct example number.


! Remember, when you get stuck, C3B4ME and use the support links
provided.
GLOSSARY
Add in any key terminology and the definitions as you work through the booklet.
TERM DESCRITION
Algorithm Developing a step-by-step solution to the problem, or the rules to
follow to solve the problem
Decomposition Breaking down a complex problem or system into smaller more
manageable parts
Pattern Recognition Looking for similarities among and within problems
Abstraction Focusing on the important information only, ignoring irrelevant
detail.
Variable
String
Integer
Float/Real Numbers
Built-in function
Len ( )
Count ( )
Replace ( )
Round ( )
Truncate
Modulus
Pow ( )
Parameter
Selection
Condition
Not ( )
Flow Chart
Fixed Loop
Conditional Loop
For ( )
Range ( )
Array
1D List
2D List
Elements
Append
Pop ( )
Sequential programs
Modular programs
Traverse
Linear search
How to code in Python Student Workbook Page 2 of 86
Bubble sort
Insertion sort
Binary search

How to code in Python Student Workbook Page 3 of 86


INTRODUCTION
TASK Complete the mind-map to identify key qualities of ‘good’ programmers and
0.1 list why we may want to use Python as our chosen programming language.
CHALL Research the careers you can get in to with a computer science qualification
ENGE
SUPPO Review page 1 – 3 of the textbook to gain ideas. You can also use the
RT following website: https://www.tutorialspoint.com/python/index.htm
Qualities: Computational & ethical thinking
Why Python?: Industries use it
Careers: Ethical hacker/ App/web designer

MARKI ☐ SELF ☐ PEER ☒ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 4 of 86


How to code in Python Student Workbook Page 5 of 86
TASK Define the term variable and explain why they are used in Python.
0.2A
TASK When creating a ‘Python Identifier’, which characters can you not use?
0.2B
TASK There are certain reserved words in Python that you cannot use. List these.
0.2C
CHALL Provide 5 examples of variables that you cannot use, then list 5 examples of
ENGE ones you can use.
SUPPO Use the following link:
RT https://www.tutorialspoint.com/python/python_basic_syntax.htm

TASK 0.2A:
 Storage location that stores data and this can ultimately change the program.

TASK 0.2B:
 @, $, and %

TASK 0.2C:
 Exec,not,assert…

CHALLENGE:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 6 of 86


SECTION 1: INPUT, OUTPUT & SIMPLE CALCULATIONS
Work through examples 1 – 5. Recreate the program in example 5 using the
TASK
different data types. Include a screenshot of both the code and the working
1.1
program.
CHALL Add in an additional question to ask the user which country they are in. Include
ENGE this in the output.
SUPPO See page 6 of the textbook.
RT
Screenshot of the code


Screenshot of the working program


Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 7 of 86


TASK For puzzle set 1, think through the code and write down the exact output
1.2 produced (including any spaces). The puzzles deliberately get harder.
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 Bicycle Chain

 Labradoodle Two

 Scott aged 23

 Lava JavaLava Java

 video videovideo

 Going GoingGone

 This, is a plus + symbol

 Be kind whenever possible.

 Energy(e) = mc squared

 life , live

SCORE X out of 10.

How to code in Python Student Workbook Page 8 of 86


Work through examples 7 – 10. Recreate the program in example 10. Change
TASK
the values of the calculations. Include a screenshot of both the code and the
1.3
working program.
CHALL Ask the user to input values and then perform calculations on the data entered.
ENGE Output the result of the calculations.
SUPPO See page 11 of the textbook.
RT
Screenshot of the code


Screenshot of the working program

Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 9 of 86


TASK Complete puzzle set 2 below:
1.4
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 2

 18

 16

 6

 5

How to code in Python Student Workbook Page 10 of 86


 4

 19

 80

 5 2 25

 5 60 10

 49

 20

 4 4.0 4

SCORE X out of 13.


Work through examples 11 – 15. Recreate the program in example 15. Change
TASK
the moto to your own. Include a screenshot of both the code and the working
1.5
program.
CHALL Alter the program to ask a user to input new words to be used in the moto.
ENGE Include these new words in the output.
SUPPO See page 15 of the textbook.
RT
Screenshot of the code

How to code in Python Student Workbook Page 11 of 86


Screenshot of the working program

Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 12 of 86


TASK Complete puzzle set 3 below:
1.6
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 A flee

 A fleeting bea

 f hearts

 earts

 ting b

 ting

 GC

 car wars return of the mini

 WORLD WAR Z 31st oct

How to code in Python Student Workbook Page 13 of 86


Continue on to the next page….

 C = central
 P = processing
 U = unit

 10

 Your password Sphinx is 6


characters long

 4

 …be a good one.

 …old gentleman once,…and he…

 Programs & Coding


 17

 Number…= 12

 9

Continue on to the next page….

How to code in Python Student Workbook Page 14 of 86


 hen Mhe

SCORE X out of 19.

TASK Work through examples 16 – 20. Recreate the program in example 20. Include
1.7 a screenshot of both the code and the working program.
CHALL Alter the program to ask a user to input for the 2 values to use in the
ENGE calculation. Output the result.
SUPPO See page 15 of the textbook.
RT
Screenshot of the code Screenshot of the working program


Challenge screenshot: MARKI ☐ SELF ☐ PEER
TEACHE
 NG R
DATE:
FEEDB
ACK

RESPO
NSE

How to code in Python Student Workbook Page 15 of 86


TASK Complete puzzle set 4 below:
1.8
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 197.73

 10.0

 79.0

 4

 1

 The number of… = 7

 0.88

 25

 27

SCORE X out of 9.

How to code in Python Student Workbook Page 16 of 86


PROGRAM CHALLENGES 1
INSTRUCTIONS: Choose 5 of the programming challenges from section 1 (program 1 – 19,
pages 22 – 29). Recreate the programs and provide evidence below:
Program Challenge
Number:
Screenshot of the code

Screenshot of the working program

Program Challenge
Number:
Screenshot of the code

Screenshot of the working program

How to code in Python Student Workbook Page 17 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program

Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 18 of 86


Program Challenge Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 19 of 86


SECTION 2: SELECTION (IF) STATEMENTS
TASK Work through examples 21 – 24 for IF statements. Recreate the program in
2.1 example 24. Include a screenshot of both the code and the working program.
CHALL Recreate the program in example 24 by fixing the logic error identified.
ENGE
SUPPO See page 31 – 33 of the textbook.
RT
Screenshot of the code


Screenshot of the working program

Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 20 of 86


Work through examples 25 – 27. Recreate the program in example 27.
TASK 2.2
Include a screenshot of both the code and the working program.
CHALLENG Add all scores together and output the result.
E
SUPPORT See page 34 – 35 of the textbook.
Screenshot of the code

Screenshot of the working program


Challenge screenshot:

MARKING ☐ SELF ☐ PEER ☐ TEACHER DATE:


FEEDBACK

RESPONSE

How to code in Python Student Workbook Page 21 of 86


TASK Complete puzzle set 5 below:
2.3
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 22 of 86


 low

 mid

 high

 high

 low

 liq

 sol

 gas

 gas

 c/ >=43

How to code in Python Student Workbook Page 23 of 86


 Valid age
 School age

 age not valid

 Valid age
 Working age
 16/17/18

How to code in Python Student Workbook Page 24 of 86


 2.75

 Invalid value/0.0

 bcbc

 coffaacoffaa

 baanbaan

SCORE X out of 22.

How to code in Python Student Workbook Page 25 of 86


PROGRAM CHALLENGES 2
INSTRUCTIONS: Choose 5 of the programming challenges from section 2 (program 20 –
27, pages 40 –42). Recreate the programs and provide evidence below:
Program Challenge
Number:20
Screenshot of the code

Screenshot of the working program

Program Challenge
Number:21
Screenshot of the code


Screenshot of the working program

How to code in Python Student Workbook Page 26 of 86


How to code in Python Student Workbook Page 27 of 86
Program Challenge
Number:22
Screenshot of the code


Screenshot of the working program

Program Challenge
Number:23
Screenshot of the code


Screenshot of the working program

How to code in Python Student Workbook Page 28 of 86


Program Challenge Number:24
Screenshot of the code

Screenshot of the working program

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 29 of 86


SECTION 3: REPETITION (LOOP) STATEMENTS
Work through examples 28 – 34 for REPETITION statements. Recreate the
TASK
program in example 34. Include a screenshot of both the code and the working
3.1
program.
CHALL Adapt your code to display an error message if the user enters invalid inputs.
ENGE
SUPPO See page 44 – 47 of the textbook.
RT
Screenshot of the code
score = int(input(“Please enter your favourite number”))
while not(score >= 10 and score <= 20:
print(“Your number has to be between 10 and 20.”)
Score = int(input(“Please enter your number (10~20)

Screenshot of the working program


Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 30 of 86


TASK Complete puzzle set 6 below:
3.2
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 One per line


 Graphics,Graphics,Graphics

 One per line x3


 Processor, Processor

 One per line X5


 Pug,pug,pug,pug,pug

 2;5;8;11;14;17

 10;20;30;40;50

 35;30;25;20;15;10

 4;7;10;13

How to code in Python Student Workbook Page 31 of 86


 range(6)

 range(2,6)

 range(7,4,-1)

 range(1,11,3)

 range(45,8,-9)

SCORE X out of 12.


How to code in Python Student Workbook Page 32 of 86
TASK Complete puzzle set 7 below:
3.3
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 Num1 = 5
 Num2 = 5

 20.0 10.0

 44 28 6

 156 77 79

 555

How to code in Python Student Workbook Page 33 of 86


How to code in Python Student Workbook Page 34 of 86


 44 41

 282 6 288

 505

0a1a2a3b

 13

SCORE X out of 10.

How to code in Python Student Workbook Page 35 of 86


TASK Complete puzzle set 8 below:
3.4
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

 B

 abc

 c

 ad

How to code in Python Student Workbook Page 36 of 86


 abcd

 abc

 acd

 abcd

 none

How to code in Python Student Workbook Page 37 of 86


SCORE X out of 9.

PROGRAM CHALLENGES 3
INSTRUCTIONS: Choose 5 of the programming challenges from section 3 (program 28 –
45, pages 55 –62). Recreate the programs and provide evidence below:
Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 38 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 39 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 40 of 86


SECTION 4: STORING MULTIPLE VALUES USING LISTS
TASK Work through examples 35 – 42. Recreate the program in example 42. Include
4.1 a screenshot of both the code and the working program.
CHALL Add user input into the program for example 42.
ENGE
SUPPO See page 66 – 71 of the textbook.
RT
Screenshot of the code


Screenshot of the working program

Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 41 of 86


TASK Complete puzzle set 9 below:
4.2
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 42 of 86


 0
 0
 33
 11
 22

 5
 9
 9
 9
 0

How to code in Python Student Workbook Page 43 of 86


 0
 4
 2
 2
 1

 5
 5
 5
 12
 10.0

How to code in Python Student Workbook Page 44 of 86


 3
 3
 3
 3
 3

 0
 1
 2
 3
 4

 0
 1
 2
 3
 4

How to code in Python Student Workbook Page 45 of 86


 2
 3
 5
 8
 12

 1
 1
 1
 2
 1

SCORE X out of 12.

TASK Complete puzzle set 10 below:


4.3
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 46 of 86


 M  M
 N  N
 J  J
 T  T
 H  H

 D  d
 M  m
 A  a
 S  s
 P  p

How to code in Python Student Workbook Page 47 of 86


 G 
S
L
T
B

 C
 L
 I
 L
 C

 45
 9
 35
 92
 67

 B  N
 D  J
 F  T
 U  H
 A  M

How to code in Python Student Workbook Page 48 of 86


 0  36
 0  12
 0  12
 0  42
 0  45

SCORE X out of 13.

How to code in Python Student Workbook Page 49 of 86


TASK Complete puzzle set 11 below:
4.4
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 50 of 86


 Hsin eagerly outside

 The SET off is sure

make

How to code in Python Student Workbook Page 51 of 86


SCORE X out of 12.

How to code in Python Student Workbook Page 52 of 86


PROGRAM CHALLENGES 4
INSTRUCTIONS: Choose 5 of the programming challenges from section 4 (program 46 –
55, pages 80 –85). Recreate the programs and provide evidence below:
Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 53 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 54 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 55 of 86


SECTION 5: PREDEFINED FUNCTIONS
TASK Work through examples 43 – 53. Recreate the program in example 53. Include
5.1 a screenshot of both the code and the working program.
CHALL Add user input into the program for example 53 so they can select how many
ENGE random numbers to use
SUPPO See page 86 – 91 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 56 of 86


TASK Complete puzzle set 12 below:
5.2
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 57 of 86


SCORE X out of 13.

How to code in Python Student Workbook Page 58 of 86


TASK Complete puzzle set 13 below:
5.3
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 59 of 86


SCORE X out of 10.


PROGRAM CHALLENGES 5
INSTRUCTIONS: Choose 3 of the programming challenges from section 5 (program 56 –
62, pages 96 –99). Recreate the programs and provide evidence below:
Program Challenge 
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

 

How to code in Python Student Workbook Page 60 of 86


Screenshot of the working program

How to code in Python Student Workbook Page 61 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 62 of 86


SECTION 6: MODULAR PROGRAMMING
TASK Work through examples 54 – 58. Recreate the program in example 58. Include
6.1 a screenshot of both the code and the working program.
CHALL Add user input into the program for example 58 so the user can add the scores.
ENGE
SUPPO See page 101 – 105 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 63 of 86


TASK Complete puzzle set 14 below:
6.2
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 64 of 86




 

How to code in Python Student Workbook Page 65 of 86


SCORE X out of 13.

PROGRAM CHALLENGES 6
INSTRUCTIONS: Choose 3 of the programming challenges from section 6 (program 63 –
67, pages 109 –111). Recreate the programs and provide evidence below:
Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 66 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 67 of 86


SECTION 7: FILE HANDLING
TASK Work through examples 59 – 62. Recreate the program in example 62. Include
7.1 a screenshot of both the code and the working program.
CHALL Add user input into the program for example 62 so the user can add in 3 new
ENGE names. Add them to your array and output.
SUPPO See page 101 – 116 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


Challenge screenshot:

MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 68 of 86


TASK Complete puzzle set 15 below:
7.2
CHALL Come up with 3 of your own puzzles for a friend to attempt.
ENGE
SUPPO Use Python to enter the code and run the program.
RT

How to code in Python Student Workbook Page 69 of 86


How to code in Python Student Workbook Page 70 of 86

How to code in Python Student Workbook Page 71 of 86


SCORE X out of 9.

PROGRAM CHALLENGES 7
INSTRUCTIONS: Choose 3 of the programming challenges from section 6 (program 68 –
72, pages 120 –122). Recreate the programs and provide evidence below:
Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 72 of 86


Program Challenge
Number:
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 73 of 86


SECTION 8: STANDARD ALGORITHMS
TASK Create a program for a RUNNING TOTAL. Select from version 1, version 2 or
8.1 version 3 as listed in the textbook
SUPPO See page 123 – 124 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Create a program for INPUT VALIDATION.


8.2
SUPPO See page 124 of the textbook.
RT
Screenshot of the code

How to code in Python Student Workbook Page 74 of 86


Screenshot of the working program

TASK Create a program for TRAVERSING A LIST.


8.3
SUPPO See page 125 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Create a program for a LINEAR SEARCH. Choose from version 1 or version 2
8.4 as shown in the textbook.
SUPPO See page 125 – 126 of the textbook.
RT

How to code in Python Student Workbook Page 75 of 86


Screenshot of the code

Screenshot of the working program


TASK Create a program for COUNT OCCURENCES. Choose from version 1, 2 or 3


8.5 as shown in the textbook.
SUPPO See page 126 – 127 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Create a program for FIND MAXIMUM. Choose from version 1, 2 or 3 as


8.6 shown in the textbook.
How to code in Python Student Workbook Page 76 of 86
SUPPO See page 128 – 129 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Create a program for FIND MINIMUM.


8.7
SUPPO See page 129 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 77 of 86


TASK Create a program for BUBBLE SORT. Choose from version 1 or 2 as shown in
8.8 the textbook.
SUPPO See page 130 – 131 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


How to code in Python Student Workbook Page 78 of 86


TASK Explain, in your own words, how bubble sort works.
8.9
SUPPO See the YouTube support clip here: https://www.youtube.com/watch?
RT v=5GqZ0Gueb0Q

TASK Create a program for INSERTION SORT.


8.10
SUPPO See page 132 – 133 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Explain, in your own words, how insertion sort works.


8.11
SUPPO See the YouTube support clip here: https://www.youtube.com/watch?
RT v=ZV3Gd2wZBro

How to code in Python Student Workbook Page 79 of 86


TASK Create a program for a BINARY SEARCH.


8.12
SUPPO See page 134 – 135 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


TASK Explain, in your own words, how a binary search works.


8.13
SUPPO See the YouTube support clip here: https://www.youtube.com/watch?
RT v=Eiy5DAr1ijs&t=2s

How to code in Python Student Workbook Page 80 of 86


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:
NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 81 of 86


SECTION 9: LARGE PROJECT TASKS
TASK Create a program for PROJECT 1 - SPEEDING. Review the requirements from
9.1 the textbook.
SUPPO See page 136 – 137 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 82 of 86


TASK Create a program for PROJECT 2 – ELECTION ANALYSIS. Review the
9.2 requirements from the textbook.
SUPPO See page 138 – 139 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK
RESPO
NSE

How to code in Python Student Workbook Page 83 of 86


TASK Create a program for PROJECT 3 –ARCHERY SCORES. Review the
9.3 requirements from the textbook.
SUPPO See page 140 of the textbook.
RT
Screenshot of the code

Screenshot of the working program


MARKI ☐ SELF ☐ PEER ☐ TEACHER DATE:


NG
FEEDB
ACK

How to code in Python Student Workbook Page 84 of 86


RESPO
NSE

How to code in Python Student Workbook Page 85 of 86


NOTES
INPUT ANY USEFUL NOTES HERE…

How to code in Python Student Workbook Page 86 of 86

You might also like