2082 12

CSC326 ยท 2082 ยท 5 marks

Write short notes on: a) Integration testing Write short notes on: b) Relational model [2.5+2.5]

Write short notes on: a) Integration testing Write short notes on: b) Relational model [2.5+2.5]

System Analysis and DesignChapter 5: Implementation and MaintenanceSoftware Application Testing

Quick answer

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.

Short Notes


a) Integration 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.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.