Assignment, Variables, Constants & Sequences
Inputs, Outputs & Type Conversion
Condition controlled Loops
Count Controlled loops
Nested Selection and Iteration
Subroutines 1 - Procedures
Subroutines 2 - Functions
Operators and Operations
Structured Programming
Validation and verification
There is no Powerpoint to go with this section. You can download the notes sheet from Task 1 and make some notes on the topic, however most tasks are to be completed in your book. Don't forget to update your learning objectives at the end!
Open a Cornell notes sheet by clicking on the image below.
Remember good notes allow students to help each other problem solve
Good notes will help you organise and process data and information
Cornell notes help you retain and recall information by having three different ways/sections where you process the information.
Note taking is a way of helping you to remember things you would otherwise forget. It also stimulates our critical thinking skills.
Remember! whenever you see the notes icon this means the information is important and you should write it down on your notes sheet.
Create a program so that a user INPUTS two numbers and the OUTPUT states the division and remainder of dividing the first number by the second number. i.e. :
Please enter a number: 10 Please enter a second number: 4 The number 10 divided by 4 is 2 remainder 2 >>>
Create a program so that a user INPUTS a number and the OUTPUT states if it is odd or even. i.e. :
Please enter a number: 4 The number 4 is even >>>
Comparison operators are used to compare values. It returns either True or False according to the condition.
True
False
Logical operators are the and, or, not operators.
and
or
not
x = True y = False print('x and y is',x and y) print('x or y is',x or y) print('not x is',not x)
Output
x and y is False x or y is True not x is False
Python Syntax
Binary Search