Programming skills and concepts
· characters represented as numbers in binary, decimal and hexadecimal
· program control structures
o sequence
o selection
o iteration
· modular coding using functions
o scope of variables (Global, Local)
· data types used in solutions, including:
o integer
o float
o string
o Boolean
· types of operators:
o Arithmetic operators (+, -, *, /, % or MOD)
o Relational operators (=, !=, >, <, >=, <=)
o Logical operators (AND, OR, NOT)
Lesson 2 Control Structures: Here
Lesson 3 Variable Scope and Function: Here
Lesson 4 Week 1 Review and Data Types Here
Lesson 5: Dictionaries Here - Video explanation: Here
Lesson 6 & 7:
After working through the scenario below, complete this task: Finding errors
You are writing a program to collect test scores for a class for a teacher who isnt sure how to store this infomation. In this example, please start your pseudocode first, then you can make changes as you go.
Your program must:
Ask the user how many students are in the class
Use a for loop to enter each student’s name and score
Store the results in a dictionary
Use a function to add each student to the dictionary
The function must return the updated dictionary
At the end, print each student and score on a new line using an f-string
Example formatted output:
Alice scored 75 marks.
Bob scored 82 marks.
Charlie scored 91 marks.
Lesson 8: Arrays in Python Click here Audio presentation Arrays.mp4
Lesson 9: Trace Tables
Video explanation: Trace Tables
Framework for development
investigate
o problem description
o define requirements
o development schedules, including Gantt charts
design
o design data structures
o design and test algorithm
develop
o develop and debug code
o unit testing
evaluate
o user acceptance testing
o developer retrospective
· good programming practice, including:
validate input before processing
use of meaningful variable names
use constants for readability and maintenance
use of comments to explain code
appropriate use of standard control structures
use of appropriate indentation and white space
one logical task per module
meaningful names for modules
exception handling
Lesson 1: Good Programming Practices Audio lesson: Click here
Lesson 2: Data Validation Audio lesson: Click here
Lesson 3: Python Text Files
· Identify the characteristics of the following data structures:
o one-dimensional array
· processing of text files, including:
o open for read, write and append
o read and process data
o write and append content
o close
Lesson one: Software Development Framework Audio lesson: Audio
Lesson one: Activity
Lesson three: Revision PowerPoint