5 Implementation And Maintenance

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.

Implementation and Maintenance: notes

System Implementation

System implementation is the process of carrying a developed system into working condition, through coding, testing, installation, and documenting, training and supporting users. Coding turns the physical design specifications produced by the analysis team into working code, written by the programming team. Once coding begins, testing can proceed in parallel: each module is tested individually, then as part of a larger program, then as part of the whole system. Installation is the process by which the current system is replaced by the new one, including converting existing data, software, documentation and work procedures to match it. Documentation, though it proceeds throughout the life cycle, receives formal attention here because implementation marks the end of the analysis team's direct involvement; larger organisations also provide ongoing training and support, some specific to particular applications and some general to the operating environment.

Software Application Testing

Software testing judges a program's functionality: it verifies and validates that the software is bug free, meets its technical requirements, and measures its efficiency, accuracy and usability.

  • Inspection: participants examine code for predictable, language-specific errors; syntax and grammar checks can be automated.
  • Desk checking: the programmer works through the code with paper and pencil, mentally acting as the computer to check each instruction and its result.
  • Unit testing: each module is tested alone to find errors in its own code.
  • Integration testing: more than one module is brought together and tested as a group.
  • System testing: all the programs making up the system are tested together, using black box or white box testing.
  • Stub testing: modules are tested top-down, with placeholder "stub" modules standing in for parts not yet built.
Black box testingWhite box testing
Knowledge of internal codeNot requiredRequired
Performed byTestersDevelopers
Also calledFunctional / external testingStructural / interior testing
Programming knowledge neededNoYes

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

2082 · 5 marks

Explain different types of installation. [5]

Installation is the process by which a new information system becomes a part of the daily activities of the organization, replacing or supplementing the old system. It is a key step in the Implementation phase of the SDLC. --- - The old system is completely stopped and the new system is started a...

Open this answer on its own page →

Conducting Systems Maintenance

2082 · 5 marks

How can maintenance effectiveness be measured? Explain. [5]

Maintenance effectiveness refers to how well the maintenance activities of a software system are performing in terms of keeping the system reliable, functional, and cost-efficient over time. --- To measure maintenance effectiveness, the following three key factors must be measured: - The total co...

Open this answer on its own page →

2080 · 5 marks

What are the major activities of system maintenance? Explain. [5]

The correcting and upgrading process of a system is called system maintenance. Maintenance is necessary to eliminate errors in the working system during its working life and to keep the system running smoothly after it has been deployed in an organization. --- According to the course notes, four ...

Open this answer on its own page →

2076 · 5 marks

List major activities of maintenance. Explain different types of maintenance activities. [5]

According to the system maintenance process, four major activities occur within maintenance: 1. Obtaining Maintenance Requests - A formal process is established where users can submit system change requests. - This ensures all requests are properly documented and tracked. 2. Transforming Request ...

Open this answer on its own page →

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 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

ApproachDescription
Top-DownTesting starts from the top-level modules and lower modules are integrated step by step
Bottom-UpTesting starts from the lowest level modules and moves upward
Big BangAll modules are integrated at once and tested together
Sandwich/HybridCombination 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

TermMeaning
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 KeyA unique identifier for each record in a table
Foreign KeyAn attribute that links one table to another

Example

Student Table (Relation)

StudentIDNameFaculty
001RamCSIT
002SitaBCA

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.

Open this answer on its own page →

2081 · 10 marks

Differentiate between black box and white box testing. Explain the testing process.[10]

Show solved answer

Black Box Testing vs White Box Testing and the Testing Process

1. Differentiation: Black Box vs White Box Testing

AspectBlack Box TestingWhite Box Testing
DefinitionTesting where the tester has no knowledge of the internal structure or code of the systemTesting where the tester has full knowledge of the internal structure, logic, and code
FocusTests the functionality and output based on inputsTests the internal logic, paths, and code structure
Tester's KnowledgeTester does not need to know programmingTester must have programming and technical knowledge
Basis of TestingBased on requirements and specificationsBased on source code and program logic
Also Known AsFunctional testing / Closed box testingStructural testing / Glass box testing / Clear box testing
Who PerformsUsually performed by end users or QA testersUsually performed by developers
Error DetectionDetects missing functions, interface errors, and incorrect outputsDetects logical errors, unused code paths, and security vulnerabilities
CoverageTests what the system doesTests 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.

Open this answer on its own page →

2079 · 10 marks

Differentiate between black box and white box testing. Explain different stages of testing.[10]

--- System testing can be performed by either black box testing or white box testing. These two approaches differ fundamentally in their perspective and methodology. Criteria Black Box Testing White Box Testing --------- Knowledge of Code No knowledge of internal code or structure Full knowledge ...

Open this answer on its own page →

2078 · 5 marks

What is testing? Explain any four different testing techniques. [5]

Testing is the process of evaluating a software system or its components with the intent to find whether it satisfies the specified requirements or not. It is a systematic activity of executing a program or application with the purpose of finding errors, bugs, or defects, and verifying that the s...

Open this answer on its own page →

Maintaining Information Systems

2079 · 5 marks

Define system maintenance. Explain the process of maintaining information systems in brief. [5]

The correcting and upgrading process of a system is called system maintenance. Maintenance is necessary to eliminate errors in the working system during its working life and to evolve the system to meet changing organizational needs. --- Before explaining the process, it is important to note the ...

Open this answer on its own page →