1 / 15

INTERMEDIATE 2 Theory Revision

INTERMEDIATE 2 Theory Revision. Declaring Variables PseudoCode Graphical Notation Test Data: NORMAL, EXTREME, EXCEPTIONAL Features of a User Guide Features of a Technical Guide. Analysis.

wilmet
Télécharger la présentation

INTERMEDIATE 2 Theory Revision

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INTERMEDIATE 2Theory Revision Declaring Variables PseudoCode Graphical Notation Test Data: NORMAL, EXTREME, EXCEPTIONAL Features of a User Guide Features of a Technical Guide

  2. Analysis • The Analysis is a specific breakdown of the problem at hand – what is actually required by the client. I.e. in simple terms, what is our program required to do. • This is broken down into the following sections:

  3. Breakdown of Analysis • Input • Process • Output

  4. Scenario: • A client comes up to you (the analysis team) and tells you that they need a program that will calculate the ages of all their employees as to determine if they are entitled to a free health check or not. • (Free health checks offered to employees over 55.)

  5. Breakdown • Input: Employee Name and age • Process: calculation performed : current year – user age input • Output: clear message displaying employee name, current age and whether entitled to a free health check or not.

  6. Declaring Variables • Variables: Places in the computers memory used to store values of data as the program is run 3 main types: INTEGERS, SINGLE, STRING

  7. Declaring Variables – Slide 2 • Integers: Whole numbers like 1,2 and 3 • Strings: Text or groups of characters like names ‘fred’ or addresses ‘15 Taylor Street’. • Singles/ Reals: Numbers with a decimal point in them

  8. Pseudocode • Pseudocode: A numbered list of instructions written in normal human language e.g. English. • EXAMPLE: Boiling a Kettle • Get a mug out of the cupboard • Put a teabag in it • Boil Kettle • Pour boiling water from kettle in to mug • Stir

  9. Graphical Notation • Also known as a STRUCTURE DIAGRAM Structure Diagram: Describes the overall structure of the proposed program graphically from left to right without describing how the problem is solved.

  10. Test Data • 3 main types include: • NORMAL • EXTREME * EXCEPTIONAL

  11. NORMAL test data • This is data that is worked out by running the program in the environment in which it was originally created for. • Example: If you had written a program to deal with numbers between 1 and 10 then these are the numbers you would enter during ‘Normal’ testing.

  12. EXTREME test data • This is data taken whilst running the program at the ‘Extreme’ ranges of what is considered Normal! • Examples of this can include: • Zero ‘0’ • Or very large numbers

  13. EXCEPTIONAL test data • This kind of testing involves types of data in which the program has not been designed to cope with: • EXAMPLES include: • Entering a STRING instead of an INTEGER • Entering an INTEGER instead of a STRING • ETC

  14. USER GUIDE • User guide: Describes how to use the program, frequently incorporating a tutorial in electronic form.

  15. TECHNICAL GUIDE • Technical Guide: - gives details of the system requirements to run the software, i.e. type of processor and memory requirements and how to install the software.

More Related