Programming concepts

Quick links

3.1

Programming

3.2.1

Data types

3.2.2

Programming concepts

3.2.3

Arithmetic operations

3.2.4

Relational operations

3.2.5

Boolean operations

3.2.6

Data structures

3.2.7

Input/output and file handling

3.2.8

String handling operations

3.2.9

Random number generation

3.2.10

Subroutines

3.2.11

Structured programming

3.2.12

Robust and secure programming

3.3.13

Classification of programming languages

 

Syllabus content

Content   Additional Information

Use, understand and know how the following statement types can be combined in programs:

  • • variable declaration
  • • constant declaration
  • • assignment
  • • iteration
  • • selection
  • • subroutine (procedure/function).
  The three combining principles (sequence, iteration/repetition and selection/choice) are basic to all imperative programming languages. Students should be able to write programs using these statement types. They should be able to interpret algorithms that include these statement types. Students should know why named constants and variables are used.
     
Use definite and indefinite iteration, including indefinite iteration with the condition(s) at the start or the end of the iterative structure.  

A theoretical understanding of condition(s) at either end of an iterative structure is required, regardless of whether they are supported by the language(s) being used.

An example of definite iteration would be:

  • FOR i 1 TO 5
  • … Instructions here …
  • ENDFOR

An example of indefinite iteration with the condition at the start would be:

  • WHILE NotSolved
  • … Instructions here …
  • ENDWHILE

An example of indefinite iteration with the condition at the end would be:

  • REPEAT
  • … Instructions here …
  • UNTIL Solved
     
Use nested selection and nested iteration structures.  

An example of nested iteration would be:

  • WHILE NotSolved
  • … Instructions here …
  • FOR i 1 TO 5
  • … Instructions here …
  • ENDFOR
  • … Instructions here …
  • ENDWHILE

An example of nested selection would be:

  • IF GameWon THEN
  • … Instructions here …
  • IF Score > HighScore THEN
  • … Instructions here …
  • ENDIF
  • … Instructions here …
  • ENDIF
     
Use meaningful identifier names and know why it is important to use them.   Identifier names include names for variables, constants and subroutine names.
     

 

Programming concepts

Programming concepts

Programming concepts.

 

 

3.1 Fundamentals of algorithms

3.2 Programming

3.3 Fundamentals of data representation

3.4 Computer systems

3.5 Fundamentals of computer networks

3.6 Fundamentals of cyber security

3.7 Ethical, legal and environmental impacts of digital technology on wider society, including issues of privacy

3.8 Aspects of software development

Glossary and other links

Glossary of computing terms.

AQA 8520: The 2016 syllabus

AQA pseudocode guide