levo

Programming

  • 11 subtopics
  • 33 things to know
  • AS Unit 1

What Programming covers

Programming is examined in Unit AS 1, Approaches to Systems Development. It covers the purpose of a computer program, the integrated development environment, translation: compilers, interpreters and assemblers, the stages of compilation and linking, algorithms, pseudocode and syntax, variables, constants and data types, sequence and selection, iteration: count-controlled and condition-controlled loops, Flowcharts and algorithm representation, objects, classes and methods and inheritance and evaluating the object-oriented approach.

Where it is assessed

AS Unit 1

Approaches to Systems Development.

Check the CCEA specification ↗

The 11 subtopics

Each one has its own page. CCEA AS Digital Technology students sit this topic in the first year.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Why is an interpreted program especially slow inside a loop?

Key term

What is bytecode, and why is it used?

Key term

Define the term data type.

Key term

What is the danger of relying on global variables?

Key term

What is a count-controlled loop?

Key term

Distinguish between a pre-conditioned and a post-conditioned loop.

Key term

What is an infinite loop, and give one common cause of one.

Evaluation

Give two advantages of using a flowchart to set out an algorithm.

Key term

Explain the is-a test for deciding whether inheritance is appropriate.

Evaluation

Give two advantages of the object-oriented approach.

Key term

Why does the object-oriented approach make maintenance easier?

Key term

Why must every instruction in a program be unambiguous?

Key term

Name four tools you would expect to find in a typical IDE.

Process

Name the main stages a compiler works through.

Key term

What is an algorithm?

Key term

Name the two selection constructs found in most programming languages.

Key term

Distinguish between a class and an object.

Process

Describe the input, process and output model that most programs follow.

Key term

What is the purpose of auto-completion in a code editor?

Key term

What happens during code generation?

Key term

Why must an algorithm come to an end?

Key term

Name four comparison operators used in conditions.

Key term

Which flowchart symbol marks the beginning and the end of an algorithm?

Key term

What is an attribute?

Key term

How can one piece of hardware carry out many completely different jobs?

Key term

What is a breakpoint?

Key term

Why must source code be translated before a computer can run it?

Key term

Why can a compiler never detect a logic error?

Key term

Give three ways an algorithm can be set down before any code is written.

Key term

Define the term variable.

Key term

What is nested selection?

Key term

What does a rectangle represent in a flowchart?

Key term

Define encapsulation.

Take Programming further

The same content, four other ways.

Commonly confused

Pairs that lose marks when they are blurred together.

  • Class vs Object

    Class: the template a programmer writes once, describing what data and operations exist. Object: a single item built from that template and holding its own values.

  • Attribute vs Method

    Attribute: a data item a software item holds about itself. Method: an operation it can be asked to carry out.

  • Encapsulation vs Inheritance

    Encapsulation: bundling data with the operations on it and hiding the data behind them. Inheritance: passing data items and operations down from a general template to a more specific one.

Questions from this topic

Each one with the model answer underneath.

  1. 1

    What is a computer program?

    Model answer

    A computer program is an ordered set of instructions, written in a programming language, that a computer carries out in order to perform a task or solve a problem.

  2. 2

    State the main purpose of writing a computer program.

    Model answer

    The purpose of a computer program is to tell general-purpose hardware exactly what to do, so that a task is carried out automatically, accurately and as often as it is needed.

  3. 3

    Why must every instruction in a program be unambiguous?

    Model answer

    A processor cannot work out what was intended or choose between two readings, so each instruction must have exactly one possible interpretation or the program will not behave as the programmer expects.

  4. 4

    Describe the input, process and output model that most programs follow.

    Model answer

    A program takes in data as input, processes that data according to its instructions, and produces output such as a screen display, a printed report or a stored file.

  5. 5

    How can one piece of hardware carry out many completely different jobs?

    Model answer

    A computer is general-purpose hardware, and loading a different program into memory gives it a different set of instructions, so the same machine can act as a word processor, a games console or a shop till.

  6. 6

    Distinguish between a program and the data it works on.

    Model answer

    A program is the set of instructions that says what is to be done, whereas data is the collection of values those instructions read, change and produce.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Systems Analysis and Development Approaches
Design, Development and Testing
Implementation and System Security
Programming

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A check requires a value.
presencerangeformat

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

ANormal data is 12, which should be accepted.
BBoundary data is 1 and 50, which should be accepted.
C0 and 51, just outside the limits, should be rejected.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Programming revision questions

Is Programming examined at AS in CCEA Digital Technology?
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 Programming cover in CCEA AS-Level Digital Technology?
11 subtopics: the purpose of a computer program, the integrated development environment, translation: compilers, interpreters and assemblers, the stages of compilation and linking, algorithms, pseudocode and syntax, variables, constants and data types, sequence and selection, iteration: count-controlled and condition-controlled loops, flowcharts and algorithm representation, objects, classes and methods and inheritance and evaluating the object-oriented approach. Each one has its own page with questions and model answers.
How is Programming organised?
By the CCEA 2650 specification, subtopic by subtopic, so it matches the order you are taught it in.

Every question in Programming, 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.