• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/21

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

21 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
Syntax Error
Errors in the grammar of the programming language.

FOR without NEXT

Misspelling a keyword

Detected during syntax analysis
Logic error
Occurs when the programmer makes a mistake in the logic of the program which means the program does not produce the right output.

Detected during black box testing
Run time error
An error that occurs during the running of a program when a statement cannot run properly. It can crash the program or produce an error message.

Dividing by zero,
Infinite looping,

during runtime the program will crash
5 stages of testing
White Box
Black Box
Alpha Testing
Beta Testing
Acceptance Testing
Describe white box testing
Testing that is done by the programmer

Tests the algorithms in the code to make sure all parts of the algorithm function as intended.

Aim is to test every possible route of execution through the program
Describe black box testing
Testing performed by the programmer

Using input data for which the output is known (expected output)

The individual instructions of the program are not known/relevant
Describe alpha testing
Done by a team of testers playing the role of the user. They work for the same company developing the software

The software may not be complete at this stage and small known bugs may still be present
Benefit of alpha testing
If it is done in house they can quickly replace the version being tested and they won’t get a bad reputation for producing bad software
Describe beta testing
(Takes place after alpha testing is complete and any bugs have been fixed.)

A near finished version of the software is released to potential users outside the company.

They test the software in the actual conditions in which it is intended to be used.
Acceptance testing
After development is complete the program is tested to prove to the end user that the program works correctly and meets the original objectives.

It is done before officially handing it over / end user will pay if satisfied
Name 3 types of test data
Valid
Invalid
Borderline
Describe what is meant by invalid data
Data which should generate an error message
Describe what is meant by valid data
Data you would expect a user to enter
Describe what is meant by borderline data
VALID DATA that is right on the boundary between valid and invalid.
What is another name for borderline data
Extreme data
Name 3 debugging tools
Translator diagnostics
Breaking points and stepping
Watch Window / variable checks
Describe what is meant by translator diagnostics
A translator can find errors like syntax errors OR warnings of possible logic errors.

The programmer can fix the error and then try and translate again

Example: FOR without a NEXT
Describe how a programmer might use break points
Break points can be added anywhere in the code by the programmer.

When the program is executed it will pause at that line and the programmer can check the values of different variables at that point in the code.
Describe how a programmer might use stepping
Stepping is similar to break points but it forces the program to run one statement at a time and will then pause allowing the programmer to check the variables. Once checked the programmer can run the next statement
Describe the purpose of watch windows
A watch window can be used to display the values of variables and expressions as they change

The window will tell the user the value and data type of a specific variable and they can check it against the expected value.
Describe the steps involved in an installation routine
Decrypts or decompresses the files if necessary

Copying the source code and compiler to the correct folder in the computer.

Copying any data files required into the folder that the program expects them to be in.

Copying any library files that the program uses and register them if necessary

Creating icons in the program menu and desktop short cuts to make the program easily accessible

Selecting and saving user settings such as preferred language
Decrypt
copy source code
Data files
Library files register
desktop icons
language settings