SHS Computing · Year 1

Algorithms, Flowcharts and the Program Development Cycle practice questions

Algorithms and their characteristics, search, sort, encryption and mathematical algorithms, pseudocode, flowchart symbols, the stages of the software development life cycle (analysis, design, implementation, testing and maintenance), normal, extreme and exceptional test data, and syntax, run-time and logic errors.

24 questions in this topic: 4 recall, 11 applying skills and concepts, 7 strategic thinking and 2 extended thinking. Every one carries a written explanation.

Sample questions

3 of 24 questions in this topic. Sign up to answer them and see the explanations.

  1. Question 1Strategic thinking

    An algorithm is meant to divide one number by another: 1. Enter first number, x. 2. Enter second number, x. 3. Let answer = x / x. 4. Output answer. What is wrong with it?

    • aDivision is not allowed in an algorithm, so step 3 must use a multiplication instead
    • bThe algorithm has no output step, so the user will never see the answer at all
    • cBoth inputs go into x, so the second overwrites the first and the answer is always 1
    • dThe steps are in the wrong order, because the output must come before the input
  2. Question 2Skills & concepts

    The step "add some salt until it tastes right" breaks which characteristic of a good algorithm?

    • aFiniteness, because it has far too many steps
    • bOutput, because it gives no final result
    • cDefiniteness, because the step is not precise
    • dInput, because no salt is entered at all
  3. Question 3Recall

    An algorithm is

    • aa program that has already been translated into machine code
    • ba finite sequence of precise steps for solving a problem
    • ca diagram that shows the parts of a computer system
    • da list of all the variables that a program will use

Answer these and 21 more on Algorithms, Flowcharts and the Program Development Cycle

Free account. Instant marking, a written explanation for every question.

Start practising free

More Computing Year 1 topics

All Computing topics