WJEC AS-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Algorithms and Programs
- 7 subtopics
- 21 things to know
- AS Unit 1
What Algorithms and Programs covers
Algorithms and Programs is examined in AS Unit 1, Fundamentals of Computer Science. It covers defining and designing algorithms, variables, constants and identifiers, scope, subprograms and parameter passing, sequence, selection and repetition, mathematical and logical operations, standard algorithms: sorting, searching and compression and dry running, trace tables and test data.
Where it is assessed
AS Unit 1
Fundamentals of Computer Science, examined again at A2 at a more demanding level.
Check the WJEC specification ↗The 7 subtopics
Each one has its own page. WJEC AS Computer Science students sit this topic in the first year.
- Defining and designing algorithmsThree ways of defining an algorithm, structured English and top-down design.Open →
- Variables, constants and identifiersValue that is best held in a constant, self-documenting identifier and annotation in a program.Open →
- Scope, subprograms and parameter passingScope of a variable, local variable and global variable.Open →
- Sequence, selection and repetitionThree basic constructs from which any algorithm can be built, sequence in an algorithm and count-controlled loop.Open →
- Mathematical and logical operationsFour arithmetic operations used in algorithms and why the order of operations matters, using an example.Open →
- Standard algorithms: sorting, searching and compressionHow a bubble sort puts a list into order, how an insertion sort puts a list into order and one advantage of an insertion sort over a bubble sort.Open →
- Dry running, trace tables and test dataWhat a programmer does when carrying out a dry run, trace table and test data.Open →
What you need to know
Answer each one before you reveal it.
Explain why the order of operations matters, using an example.
Why can a dry run reveal a logic error that simply running the program does not?
What is an algorithm?
What is a variable?
What is a local variable?
State the number of comparisons made by the first pass of a bubble sort on a list of 10 items.
State two properties every algorithm must have.
What is a constant?
What is a global variable?
What is meant by sequence in an algorithm?
Name four arithmetic operations used in algorithms.
Describe how a linear search finds a value.
What is a trace table, and what does each column hold?
Name three ways of defining an algorithm.
Give two reasons for declaring a constant instead of typing the value wherever it is needed.
What is meant by the lifetime of a variable?
Which pseudocode statement carries out selection?
What does the DIV operator return?
State what must be true of a list before a binary search can be used on it.
Name the three kinds of test data.
Take Algorithms and Programs further
The same content, four other ways.
Questions from this topic
Each one with the model answer underneath.
- 1
What is an algorithm?
Model answer
An algorithm is a finite sequence of precise, unambiguous steps that solves a problem or completes a task.
- 2
State two properties every algorithm must have.
Model answer
Every step must be unambiguous, and the sequence must finish after a finite number of steps rather than running for ever.
- 3
Name three ways of defining an algorithm.
Model answer
Pseudocode, a flowchart and structured English are three ways.
- 4
Why is pseudocode described as independent of any language?
Model answer
Pseudocode uses code-like keywords, variables and assignment without the exact syntax rules of any one language, so a programmer working in any language can read it and implement it.
- 5
Give two advantages of writing an algorithm in pseudocode rather than in a programming language.
Model answer
It can be understood by anyone regardless of the language they program in, and the logic can be corrected without worrying about syntax errors.
- 6
What is structured English?
Model answer
Structured English describes an algorithm in restricted, numbered English sentences that use a small set of keywords such as IF, REPEAT and UNTIL.
What is inside Levo
Six ways to work the same material.
Algorithms and Programs revision questions
- Is Algorithms and Programs examined at AS in WJEC Computer Science?
- Yes. It sits in AS Unit 1, which you take in the first year, so it is on the AS paper as well as counting towards the full A level.
- What does Algorithms and Programs cover in WJEC AS-Level Computer Science?
- 7 subtopics: defining and designing algorithms, variables, constants and identifiers, scope, subprograms and parameter passing, sequence, selection and repetition, mathematical and logical operations, standard algorithms: sorting, searching and compression and dry running, trace tables and test data. Each one has its own page with questions and model answers.
- How is Algorithms and Programs organised?
- By the WJEC 601-5345-3 specification, subtopic by subtopic, so it matches the order you are taught it in.
Every question in Algorithms and Programs, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.