System Analysis and Design · Unit 5 · 4 hrs
Implementation and Maintenance
Exam-focused notes for Implementation and Maintenance (System Analysis and Design, CSC326): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.
Implementation and Maintenance in short
Implementation carries a completed design into working use, and maintenance keeps it useful for the rest of its life; this chapter covers coding through to installation, testing, documentation, training, the organisational side of rollout, and the ongoing work of maintaining a live system.
What this unit covers
- System Implementation: Introduction
- System Implementation
- Software Application Testing
- Installation
- Documenting the System
- Training and Supporting Users
- Organizational Issues in Systems Implementation
- Maintaining Information Systems: Introduction
- Maintaining Information Systems
- Conducting Systems Maintenance
Installation
Conducting Systems Maintenance
2082 · 5 marks
How can maintenance effectiveness be measured? Explain. [5]
2080 · 5 marks
What are the major activities of system maintenance? Explain. [5]
2076 · 5 marks
List major activities of maintenance. Explain different types of maintenance activities. [5]
Software Application Testing
2082 · 5 marks
Write short notes on: a) Integration testing Write short notes on: b) Relational model [2.5+2.5]
Show solved answerHide answer
Short Notes
a) Integration Testing
Integration testing is a phase of software testing in which individual software modules or units are combined and tested as a group. It occurs after unit testing and before system testing.
Purpose
The main goal of integration testing is to verify that different modules or components of a system work correctly together, and to detect interface defects between integrated units.
Key Points
- After individual modules are developed and unit tested, they are combined progressively and tested for their interactions.
- It checks data flow between modules, function calls, and shared data structures.
- It helps identify problems such as:
- Incorrect data passing between modules
- Mismatched interfaces
- Timing and synchronization issues
Approaches to Integration Testing
| Approach | Description |
|---|---|
| Top-Down | Testing starts from the top-level modules and lower modules are integrated step by step |
| Bottom-Up | Testing starts from the lowest level modules and moves upward |
| Big Bang | All modules are integrated at once and tested together |
| Sandwich/Hybrid | Combination of top-down and bottom-up approaches |
Relation to SDLC
As noted in the implementation phase of SDLC, "programs and the entire system is tested to find and correct errors" -- integration testing is a critical part of this testing activity before the system goes live.
b) Relational Model
The relational model is a way of organizing and representing data in a database using a collection of related tables.
Definition:
"The relational database model represents data in the form of related tables, or relations. Each relation (or table) consists of a set of columns called attributes and an arbitrary number of rows called records."
Key Terminology
| Term | Meaning |
|---|---|
| Relation (Table) | A two-dimensional structure that stores data |
| Attribute (Column) | A named property or characteristic of the entity |
| Record (Row/Tuple) | A single instance or entry in the table |
| Primary Key | A unique identifier for each record in a table |
| Foreign Key | An attribute that links one table to another |
Example
Student Table (Relation)
| StudentID | Name | Faculty |
|---|---|---|
| 001 | Ram | CSIT |
| 002 | Sita | BCA |
Here, StudentID and Name are attributes, and each row is a record.
Characteristics
- It represents the logical view of how data is stored in relational databases.
- Tables can be related to each other through keys.
- It supports operations such as selection, projection, and join (relational algebra).
- It is the foundation of popular database systems like MySQL, Oracle, and PostgreSQL.
- E-R diagrams can be translated into relational models during the database design process.
2081 · 10 marks
Differentiate between black box and white box testing. Explain the testing process.[10]
Show solved answerHide answer
Black Box Testing vs White Box Testing and the Testing Process
1. Differentiation: Black Box vs White Box Testing
| Aspect | Black Box Testing | White Box Testing |
|---|---|---|
| Definition | Testing where the tester has no knowledge of the internal structure or code of the system | Testing where the tester has full knowledge of the internal structure, logic, and code |
| Focus | Tests the functionality and output based on inputs | Tests the internal logic, paths, and code structure |
| Tester's Knowledge | Tester does not need to know programming | Tester must have programming and technical knowledge |
| Basis of Testing | Based on requirements and specifications | Based on source code and program logic |
| Also Known As | Functional testing / Closed box testing | Structural testing / Glass box testing / Clear box testing |
| Who Performs | Usually performed by end users or QA testers | Usually performed by developers |
| Error Detection | Detects missing functions, interface errors, and incorrect outputs | Detects logical errors, unused code paths, and security vulnerabilities |
| Coverage | Tests what the system does | Tests how the system does it |
2. The Testing Process
Software testing is the process of verifying and validating that a software or application is bug-free and meets technical requirements. It also measures efficiency, accuracy, and usability of the software.
The testing process follows a structured sequence of stages as described below:
Step 1: Inspections
- A testing technique in which participants examine program code for predictable, language-specific errors.
- Syntax, grammar, and other routine errors can be checked by automated inspection software.
- This is typically the first step before actual execution begins.
Step 2: Desk Checking
- A testing technique in which the programmer manually traces through the logic of the program using paper and pencil.
- The reviewer acts as the computer, mentally checking each step and its results for the entire set of computer instructions.
- This helps catch logical errors early without running the program.
Step 3: Unit Testing
- An automated technique where each module is tested alone in an attempt to discover any errors that may exist in the module's code.
- The goal is to isolate each part of the program and verify that individual parts work correctly.
Step 4: Stub Testing
- A technique used in testing modules, especially where modules are written and tested in a top-down fashion.
- A "stub" is a dummy module that simulates the behavior of modules not yet written, allowing higher-level modules to be tested first.
Step 5: Integration Testing
- The process of bringing together more than one module that a program comprises for testing purposes.
- After individual modules pass unit testing, they are combined and tested together to check for interface errors and interaction problems between modules.
Step 6: System Testing
- The process of bringing together all of the programs that a system comprises for testing purposes.
- The system is tested as a whole to verify that it meets all specified requirements.
- System testing can be carried out using:
- Black Box Testing -- testing based on inputs and expected outputs without knowledge of internal code.
- White Box Testing -- testing based on knowledge of the internal structure and logic of the system.
Summary Diagram of Testing Process
Inspections
|
Desk Checking
|
Unit Testing
|
Stub Testing
|
Integration Testing
|
System Testing
(Black Box / White Box)
Conclusion
The testing process moves from individual code review (inspections, desk checking) to module-level testing (unit and stub testing) and finally to system-level testing (integration and system testing). Black box testing focuses on what the system does, while white box testing focuses on how the system does it. Together, they ensure that the software is both functionally correct and internally sound.
2079 · 10 marks
Differentiate between black box and white box testing. Explain different stages of testing.[10]
2078 · 5 marks
What is testing? Explain any four different testing techniques. [5]
Maintaining Information Systems
2079 · 5 marks
Define system maintenance. Explain the process of maintaining information systems in brief. [5]
Make Unit 5 stick
Practice CSC326 with flashcards & quizzes