Chapter 10 Implementation and Testing Flashcards

1
Q

Coding Standards

A
  • Coding not only needs to do its job well, but also must be easy to add, 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, maintenance
  • Company wide standardisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Principles of Good Programming

A
  • KISS keep short and simple
  • DRY - don’t repeat yourself
  • abstraction
  • open/close
  • single responsibility principle
  • minimise coupling
  • maximise cohesion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Code Smells

A
  • Duplicated code
  • Large classes-
  • Long methods
  • Long parameter list
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Refactoring

A
  • Improve software internal structure in a safe way while not changing / adding / removing behaviours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Software Testing

A
  • Testing is the process of exercising a program with the intent of finding errors
  • Each function must be tested to make sure it functions well
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of Testing

A

Unit Testing
- Testing of an individual program
Integration Testing
- Testing two or more programs that depend on each other to ensure
System Testing
- Verify all system components are integrated properly and actual processing situations will be handled correctly

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

Test Plan

A
  • Used as a guide to test software
  • Uses ‘dummy data’ (sample data)
  • Prepared by ‘software testers’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly