This programming unit covers the theoretical aspects of Sections and of the OCR J267 specification, covering the knowledge and skills that students will need to tackle exam questions on related topics. The resource covers basic programming constructs, string manipulation and file handling, computational logic, the use of functions and procedures to structure code and finally, records and the use of SQL to search for data. The unit is independent of any particular programming language but a basic knowledge and practical experience of programming in a language such as Python, Delphi or Small Basic is assumed.
GCSE students need to be able to work out the equation of a graph from what it looks like.
If it’s a straight line graph you just need to look for two things.
1. The Intercept. This is where the line crosses the y axis.
2. The gradient. This is the steepness of the line. If the line goes up from left to right it will be positive. If the line goes down from left to right it will be negative. The larger the number the steeper the line.
This example shows the line y=2x-4. The line goes up two units for each unit it goes across. The gradient is 2÷1=2. It crosses the y axis at -4, so the intercept is -4.