7. PROGRAMMING
7.OCR SPECIFICATION - Programming
Sign up for Cambridge Computing Algorithms (a) understand algorithms (written in pseudocode or flow diagram), explain what they do, and correct or complete them (b) produce algorithms in pseudocode or flow diagrams to solve problems. Programming languages (c) explain the difference between high level code and machine code (d) explain the need for translators to convert high level code to machine code (e) describe the characteristics of an assembler, a compiler and an interpreter (f) describe common tools and facilities available in an integrated development environment (IDE): editors, error diagnostics, run-time environment, translators, auto-documentation. Control flow in imperative languages (g) understand and use sequence in an algorithm (h) understand and use selection in an algorithm (IF and CASE statements) (i) understand and use iteration in an algorithm (FOR, WHILE and REPEAT loops). Handling data in algorithms (j) define the terms variable and constant as used in an imperative language (k) use variables and constants (l) describe the data types integer, real, Boolean, character and string (m) select and justify appropriate data types for a given program (n) perform common operations on numeric and Boolean data (o) use one-dimensional arrays. Testing (p) describe syntax errors and logic errors which may occur while developing a program (q) understand and identify syntax and logic errors (r) select and justify test data for a program, stating the expected outcome of each test. |