levo

Testing

Testing and modifying control programs

  • 3 things to know
  • Written paper
Start revising · £5/month

Overview

Testing by simulation and by enactment, test plans, testing every flowchart route, debugging, PWM and duty cycle for motor speed, changing light thresholds, flicker at dusk and hysteresis, setting thresholds from real readings, longer delays, and the comparison symbols <, >, ≤ and ≥.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What do the symbols <, >, ≤ and ≥ mean in a control program decision?

Key term

Why must a control program be tested before it is used in a product?

Key term

How is a control program tested by modelling?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Why must a control program be tested before it is used in a product?

    Model answer

    Faults in a program can make outputs work at the wrong time. A fault could damage the product or injure a user.

  2. 2

    How is a control program tested by modelling?

    Model answer

    The program is run in simulation software on a computer. The screen shows each step and the state of every input and output.

  3. 3

    What does testing a control program by enactment mean?

    Model answer

    Enactment is acting out the program step by step on a prototype or by hand. Each input is operated and the outputs are checked against what should happen.

  4. 4

    What is a test plan for a control program?

    Model answer

    A test plan lists each test, the input conditions and the expected result. The actual result is recorded beside each expected result.

  5. 5

    Why should every route through a flowchart be tested?

    Model answer

    A fault may hide in a route that is rarely used. Each decision's yes and no paths must be checked.

  6. 6

    What is debugging?

    Model answer

    Debugging is finding and correcting faults in a program. Faults are found by testing and by checking each step.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Materials and Their Properties
Material Costs and Supply
Factors Influencing Design
Additive Manufacturing

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The bar marks the .
cathodeanodeemitter

Blank Blitz consolidates the facts

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

Brass means an alloy of copper and zinc.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

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

Every question in Testing, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.