Select a course.
arrow_back
Paper 2 - Computational thinking, algorithms & programming - 2.2 Programming fundamentals
infoWhy this? This unit develops the students practical skills for programming.
scheduleWhy now? At this stage the students will need to put into practice the skills learnt in the previous unit and produce programming solutions to algorithms they have designed.
neurologyYou need to know
- The difference between variables and constants
- Basic programming including inputs; outputs; assignment and use of comparison operators
- The 3 basic programming construct of Sequence; Selection and Iteration
- The difference between count controlled and condition controlled iteration
- The common arithmetic operators
- The common Boolean operators of AND; OR and NOT
- What the different data types are (integer; real, Boolean, character, string)
- How data types can be changed through casting and where this may be useful
- How to manipulate string data types
- How file handling works
- How records are used to store data
- How Structured Query Language is used to search for data
- The format of 1D and 2D Arrays
- How subroutines are used to produce structured code and the passing of data via parameters.
- The difference between global and local variables/ constants
- How to generate random numbers
rocket_launchYou must be able to
- Assign values to variables and constants
- Produce programs where users can input required data
- Produce programs with appropriate outputs
- Be able to program sequentially
- Be able to produce programs using selection (if/ elif/else; Switch case)
- Be able to produce programs with count controlled iteration (for)
- Be able to produce programs with condition controlled iteration (while)
- Use comparison; arithmetic and Boolean operators effectively
- Use appropriate data types and change them via casting
- Manipulate strings including concatenation and slicing
- Use 1D & 2D arrays to emulate lists and database tables
- Be able to create structured programs using functions and procedures effectively
- Use global and local variables effectively
- Create an SQL command to search for data using SEARCH-FROM_WHERE
- Create and use random numbers in a program
Revision Quiz
trophy
Congratulations! You have completed the quiz.