7.1, 7.2 (w/o loops), 7.5, 7.6 Flashcards

1
Q

a dog cant talk

the stages of a PDLC (program development life cycle)

4

A
  1. analysis,
  2. design,
  3. coding
  4. testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Analysis

PDLC

A

identification of the problem and requirements
uses two techniques-
* abstraction,
* decomposition
…of the problem

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

abstraction

A

the act of removing unimportant details of the problem to focus on important elements

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

decomposition

A

breaks down a complex problem into smaller parts which can then be subdivided and easily solved

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

Design

A

how a problem should be executed is planned and documented using
* flowcharts,
* pseudocode
* structure diagrams

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

Coding

A

writing the program code and the code is tested, amended and repeated until the module performs as required

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

testing

A

testing program code with the use of test data to detect and fix the errors in the program

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

computer system

PDLC

A

every computer system is made up of sub-systems, which are made up of further sub-systems

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

Components of a computer system/results of decomposition (4)

A
  • Inputs
  • Outputs
  • Processes
  • Storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Top down design

A

Decomposition of a computer system into subsystems until each system performs a single action

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

What is data validation?

A

Validation is an automated check carried out by a computer to make sure the data entered is reasonable

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

The different types of validation checks

6

A
  • Range checks
  • Length checks
  • Type checks
  • Presence checks
  • Format checks
  • Check digits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

range check

A

to test if the data input falls between a given upper bound and a given lower bound

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

length check

A

To test if the data input is under a certain number of characters

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

Type Check

A

To test if the data input is of the correct data type

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

Pressence check

A

make sure that input data has been entered and that the input box has not been left empty

17
Q

Format check

A

Format checks make sure that input data is of a predefined pattern

18
Q

What is verification check

A

To test if the data input is the same as the data that was intended to be input

19
Q

Vefification check methods

A
  • double entry check
  • visual checks
20
Q

Double entry checking

A
  • Expects each item of data to be entered twice and compares both entries to check they are the same,
  • if not the data entry opterator is asked to re-enter data
21
Q

Visual check

A
  • The user visually checks the data on the screen. A message then asks if the data is correct before proceeding.
  • If it isn’t the user then renters the data
22
Q

For trace tables what does MOD mean

A

MOD= remainder of your division

23
Q

For trace tables what does DIV mean

A

DIV= the answer for your division

24
Q

Char

A

data type for single charcter like A, F, G

25
Q

What are the Test Datas

4

A

Normal
Abnormal
Extreme
Boundary

26
Q

Extreme data

A
  • the largest/smallest acceptable value
27
Q

Boundary data

A
  • Boundary data is the largest/smallest acceptable value or the corresponding smallest/largest rejected value,
  • so can be within the range and not be in the range just close to the largest/smallest acceptable value, just at the boundary
28
Q

Normal data

A

normal test data is data that a system would be expected to handle, within range

29
Q

Abnormal data

A
  • erroneous data, abnormal data is data that is expected to fail and should be rejected by the system
  • Wrong data type like- entering numbers (integer) instead of someone’s name (string), or entering text instead of numbers
  • such as: abc, 7&n, Harry, £300, <!%, etc