Testing and Documentation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a syntax error?

A

-breaking the rules of the language
- an error in the spelling or grammar used when code:
• missing a letter, character or forgetting to include inverted commas/speech marks or indentation
- a syntax error will be identified by an interpreter as it will be unable to convert the source code into machine code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a logic error?

A
  • an error in the logic of the code
    e. g - using < instead of > or AND instead of OR
  • the program will execute but will produce unexpected results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an execution error?

A
  • occurs when a program is asked to do something that it cannot achieve
  • these are error that are not detected by the translator but are discovered when the program is run
    e. g - an attempt to use a variable thag hD not been declared
  • the use of invalid data
  • dividing by 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a dry run?

A

The process of manually working through the code to trace the value of variables

  • the tester will predict what the code will produce and fix world before the code is executed
  • dry runs are not usually put in a test plan.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does a dry run involve?

A

Updating the values of variables, usually in a table after the execution of each instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why are trace tables used?

A

To allow programmes to trace the values of variables as each line of code is executed.
The values of the variables are displayed in a table and assist the programmer in identifying any potential errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a breakpoint?

A

A marker set within the code of a program to halt program execution at a predefined spot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain how a breakpoint works.

A
  • The statement of variable expression responsible will be highlighted and can be inspected while the program is temporarily interrupted.
  • The program then continues, either to completion or until it hits another breakpoint.
  • When the program is halted the value of the variable can be compared with the trace table expected value.
  • Any differences can then be examined to identify the error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a watchpoint?

A
  • A program is set to halt when s variable has reached a specific point.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a surrogate key?

A

A unique identifier that is created to produce a unique identifier if no other natural primary key is present

e. g. - NI number
- Driving license number
- Car registration number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a wireframe?

A

One of the techniques used for user interface design. The user interface of any software is the part which users experience and is therefore a crucial part of the design process. It is a visual guide that represents a website or program interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When is a wireframe normally created?

A

At an early stage in the development of an application to give the client and developers a clear idea of how the finished product will function and how users will interact with it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is rapid application development?

A

It is often used as an alternative to the traditional waterfall method. Rather than rigidly following the steps in sequence, RAD places a great deal of emphasis on creating prototypes as quickly as possible and streaming each phase so that some run in parallel when compared to the waterfall method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe what happens in RAD.

A
  • The client is involved in the entire process as much as necessary and this is another important feature of RAD. There is less need for a legally binding software specification to be generated at the start of the process
  • The involvement of the client allows for the rapid development of potential solutions that can be refined as and when necessary.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly