CHAPTER 8: Implementation AND TESTING Flashcards

1
Q

what should Coding Standards do and the definition

A

Code not only needs to do its job well, but must also be easy to add to, maintain and debug.
A coding standards document tells developers how they must write their code.

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

Why do we need coding standards?

A

Consistent look
Improve readability
Simplifies copying, editing and maintenance
Company wide standardization

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

Principles of Good Programming

A

KISS – Keep It Short and Simple
DRY - Don’t Repeat Yourself
Abstraction
Open/Closed Principle Software entities should be open for extension, but closed for modification.

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

Principles of Good Programming

A

Single Responsibility Principle - A component of code (e.g. class or function) should perform a single well defined task.

Minimize Coupling- Any section of code should minimize the dependencies on other areas of code.
Maximize Cohesion - Code that has similar functionality should be found within the same component

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

Software Testing

A

Testing is the process of exercising a program with the specific intent of finding errors prior to delivery to the end user.

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

what is Desk checking ?

A

the process of reviewing the program code to spot logic errors, which produce incorrect result

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

what is Unit Testing and the objective of it

A

The testing of an individual program or module
Objective is to identify and eliminate execution errors that could cause the program to terminate abnormally, and logic errors that could have been missed during desk checking

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

what is Integration Testing

A

Testing two or more programs that depend on each other to make sure that the programs work together properly

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

what is System Testing

A

Verify that all system components are integrated properly and that actual processing situations will be handled correctly
Confirm that the information system can handle predicted volumes of data in a timely and efficient manner

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

Test Plan

A

Used as a guide to test software.
Uses ‘dummy data’ (sample data)
Usually prepared before software is built
Prepared by ‘software testers’

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