System Analysis and Design ยท Unit 3 ยท 13 hrs
Analysis
Exam-focused notes for Analysis (System Analysis and Design, CSC326): what the TU syllabus asks and how it has actually been tested, with 15 solved past questions from this unit.
Analysis in short
Analysis is the SDLC phase where a system's requirements are discovered in depth, split into requirements determination (collecting facts about the current system and desired changes) and requirements structuring (organising those facts into process, logic and data models).
What this unit covers
- Determining System Requirements: Introduction
- Performing Requirements Determination
- Traditional Methods for Determining Requirements
- Contemporary Methods for Determining System Requirements
- Radical Methods for Determining System Requirements
- Structuring System Process Requirements: Introduction
- Process Modeling
- Data Flow Diagrams
- Modeling Logic with Decision Tables, Decision Trees, and Pseudocodes
- Structuring System Data Requirements: Introduction
- Conceptual Data Modeling
- Gathering Information for Conceptual Data Modeling
- Introduction to E-R Modeling
Radical Methods for Determining System Requirements
2082 ยท 10 marks
Compare and contrast between observation and document analysis while requirement determination. Explain radical methods for determining the requirements.[10]
Show solved answerHide answer
Comparison of Observation vs. Document Analysis & Radical Methods for Requirements Determination
Part 1: Compare and Contrast - Observation and Document Analysis
Both observation and document analysis are methods used during requirements determination in the systems analysis phase. They supplement interviewing by providing additional insights into the current system.
Observation
- The analyst physically watches how users perform their tasks and how the current system operates in real time.
- Provides firsthand, direct evidence of actual workflows, bottlenecks, and informal procedures.
- Useful for understanding undocumented practices that users may not mention in interviews.
- Can reveal discrepancies between what users say they do and what they actually do.
- Limitation: Users may change their behavior when they know they are being observed (Hawthorne effect). It is also time-consuming and may not capture rare events.
Document Analysis
- The analyst examines existing documents, forms, reports, procedure manuals, and organizational records related to the current system.
- As stated in the notes: "By examining existing system and organizational documentation, system analyst can find out details about current system and the organization."
- Documents can reveal:
- Problems with the existing system
- Reasons why current systems were designed in a particular way
- Data flows, inputs, and outputs already in use
- Useful for understanding the formal, documented side of the organization.
- Limitation: Documents may be outdated, incomplete, or may not reflect actual current practice.
Comparison Table
| Feature | Observation | Document Analysis |
|---|---|---|
| Nature | Direct, real-time watching | Indirect, reviewing existing records |
| Source | People and processes in action | Forms, reports, manuals, files |
| Captures | Informal/actual practices | Formal/documented practices |
| Timeliness | Current behavior | May be outdated |
| Effort | Time-consuming, requires presence | Can be done independently |
| Limitation | Observer effect, rare events missed | Documents may be incomplete or obsolete |
| Best for | Understanding actual workflow | Understanding system history and design rationale |
Key Contrast: Observation captures what actually happens, while document analysis captures what is formally recorded. Together, they provide a more complete picture than either method alone.
Part 2: Radical Methods for Determining Requirements
When traditional methods (interviews, observation, document analysis) are insufficient for achieving major improvements, radical methods are used. These methods aim to fundamentally rethink and redesign business processes rather than simply improving existing ones.
1. Business Process Reengineering (BPR)
Definition:
"The overall process by which current methods are replaced with radically new methods is referred to as Business Process Reengineering (BPR)."
BPR does not just improve the existing system -- it completely replaces old methods with new, more efficient ones.
Main Goals of BPR:
- Reorganize the complete flow of data in major sections of the organization
- Eliminate unnecessary steps in existing processes
- Combine steps wherever possible to reduce redundancy
- Become more responsive to future change
Core Idea:
BPR searches for the implementation of radical change in business processes to achieve breakthrough improvements in products and services. It is not about incremental improvement but about fundamental transformation.
2. Identification of Processes to Reengineer
Before reengineering can begin, the analyst must identify which processes need to change.
Steps:
-
Understand key business processes:
- "Key business processes are the structured set of measurable activities designed to produce a specific output for a particular customer or market."
- These processes are customer-focused.
-
Identify specific activities within those processes that can be radically improved through reengineering.
3. Disruptive Technologies
Definition:
"Technologies that enable breaking long-held business rules that discourage organizations from making radical business changes are called disruptive technologies."
Approach:
- Problems are first identified, and then solutions are formulated using new technologies.
- Disruptive technologies challenge existing assumptions and allow organizations to redesign processes in ways that were previously impossible.
- Examples include the internet, mobile computing, cloud services, and AI -- technologies that fundamentally changed how businesses operate.
Summary Diagram
Radical Methods
|
|--- Business Process Reengineering (BPR)
| |--- Reorganize data flow
| |--- Eliminate/Combine steps
| |--- Improve responsiveness
|
|--- Identification of Key Processes
| |--- Customer-focused processes
| |--- Find activities to reengineer
|
|--- Disruptive Technologies
|--- Break old business rules
|--- Identify problems first, then solutions
Conclusion
Observation and document analysis are complementary traditional methods for requirements determination -- one capturing real behavior, the other capturing formal records. When these methods reveal that the existing system needs more than minor improvements, radical methods like BPR and disruptive technologies are applied to fundamentally redesign processes and achieve breakthrough results.
2081 ยท 5 marks
Explain how disruptive technologies can be used in determining requirement. [5]
Data Flow Diagrams
2082 ยท 10 marks
Draw DFD for the following scenario: A patient after registration in the online pathology system will get login credentials. After the valid login the patient upon entering the details of test to be conducted will get the test date and time. The patient can also pay online. The patient can download the test report from the system after notification. The patient will also get schedule for doctor visit if required and in that case the report will also be emailed to the doctor.[10]
Show solved answerHide answer
DFD for Online Pathology System
Context Diagram (Level 0 DFD)
The Level 0 DFD shows the entire system as a single process with external entities and data flows.
Login Credentials
+--------+<-------------------+
| | Registration Data |
|Patient +-------------------->+
| | Test Details | +--------+
+---+----+-------------------->+ | |
| | Payment Info | ONLINE | Doctor |
| +-------------------->+ PATHOLOGY | |
| | Test Date/Time | SYSTEM +---+----+
| |<--------------------+ |
| | Test Report | |
| |<--------------------+ |
| | Doctor Schedule | |
| |<--------------------+ |
+----+ +------+-----------+
|
Report via Email
Level 1 DFD
The Level 1 DFD decomposes the system into major processes.
External Entities
- Patient (E1)
- Doctor (E2)
Processes
- P1: Registration and Login
- P2: Test Scheduling
- P3: Online Payment
- P4: Report Generation and Notification
- P5: Doctor Visit Scheduling
Data Stores
- D1: Patient Database
- D2: Test Schedule Database
- D3: Payment Database
- D4: Report Database
- D5: Doctor Database
Level 1 DFD Diagram
Registration Data
E1 (Patient) -----------------------> [P1: Registration
& Login]
|
Login Credentials | Patient Record
<------------------------- v
[D1: Patient DB]
|
Valid Login |
E1 (Patient) -----------------------> [P2: Test Scheduling]
|
Test Details | Test Entry
-----------------------> v
[D2: Test Schedule DB]
|
Test Date & Time |
<------------------------- |
|
Payment Info |
E1 (Patient) -----------------------> [P3: Online Payment]
|
Payment Confirmation v
<------------------------- [D3: Payment DB]
[P4: Report Generation
& Notification]
|
[D4: Report DB]
|
Test Report |
E1 (Patient) <-------------------------- |
|
Doctor Visit Schedule |
E1 (Patient) <------------------------ [P5: Doctor Visit
Scheduling]
|
[D5: Doctor DB]
|
Report via Email |
E2 (Doctor) <------------------------------+
Detailed Level 1 DFD Description
| Process | Input Data Flow | Output Data Flow | Data Store Used |
|---|---|---|---|
| P1: Registration and Login | Registration data from Patient | Login credentials to Patient | D1: Patient DB |
| P2: Test Scheduling | Test details from Patient (after valid login) | Test date and time to Patient | D2: Test Schedule DB |
| P3: Online Payment | Payment information from Patient | Payment confirmation to Patient | D3: Payment DB |
| P4: Report Generation and Notification | Test results from lab | Notification and report download to Patient | D4: Report DB |
| P5: Doctor Visit Scheduling | Patient report data | Doctor visit schedule to Patient; Report emailed to Doctor | D5: Doctor DB |
Summary of Data Flows
- Patient --> P1: Registration data
- P1 --> Patient: Login credentials
- Patient --> P2: Test details (after valid login)
- P2 --> Patient: Test date and time
- Patient --> P3: Payment information
- P3 --> Patient: Payment confirmation
- P4 --> Patient: Test report (after notification)
- P5 --> Patient: Doctor visit schedule
- P5 --> Doctor: Report via email
Note: The DFD follows standard Yourdon-DeMarco notation with rectangles for external entities, circles/rounded rectangles for processes, open rectangles for data stores, and arrows for data flows, which is the standard approach followed in system analysis and design curriculum.
2080 ยท 10 marks
What do you mean by balancing DFDs? Draw context diagram and data flow diagrams for online movie rental system that allows its users to watch movies online.[10]
Show solved answerHide answer
Balancing DFDs and DFDs for Online Movie Rental System
Part 1: Balancing DFDs
Balancing DFDs refers to the consistency that must be maintained between a parent DFD and its child DFD (exploded diagram) when decomposing a process into more detail.
Key Rules for Balancing:
- Every data flow entering or leaving a process on a higher-level DFD must also appear on the corresponding lower-level (child) DFD for that process.
- The inputs and outputs of a parent process must exactly match the inputs and outputs of the child diagram that decomposes it.
- No new external entities should appear in a child DFD that were not present or implied in the parent.
- Data stores that are used only within a child diagram (internal data stores) do not need to appear in the parent diagram, but any data store shared across processes must be consistent.
In short: what goes in and what comes out of a process must be the same at every level of decomposition.
Part 2: Context Diagram and DFDs for Online Movie Rental System
System Description
The Online Movie Rental System allows users to:
- Register and log in
- Browse and search movies
- Rent/stream movies online
- Make payments
- Receive recommendations
- Administrators manage movie catalog and generate reports
Level 0: Context Diagram
The context diagram shows the entire system as a single process with all external entities and major data flows.
Registration/Login Info
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โผ
โโโโโโโโโดโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ Movie Search โ โ
โ USER / โโโโโโโโโโโโโโโบโ โ
โ CUSTOMER โโโโโโโโโโโโโโโโ ONLINE MOVIE โ
โ โ Movie Stream โ RENTAL SYSTEM โ
โ โโโโโโโโโโโโโโโโ (Process 0) โ
โ โ Payment Info โ โ
โ โโโโโโโโโโโโโโโบโ โ
โโโโโโโโโโโโโโโโ โ โ
โ โ
โโโโโโโโโโโโโโโโ โ โ
โ โ Movie Detailsโ โ
โ ADMIN / โโโโโโโโโโโโโโโบโ โ
โ MANAGEMENT โโโโโโโโโโโโโโโโ โ
โ โ Reports โ โ
โโโโโโโโโโโโโโโโ โ โ
โ โ
โโโโโโโโโโโโโโโโ โ โ
โ PAYMENT โโโโโโโโโโโโโโโโ โ
โ GATEWAY โโโโโโโโโโโโโโโบโ โ
โโโโโโโโโโโโโโโโ Payment โโโโโโโโโโโโโโโโโโโโโโโโโ
Confirmation
External Entities:
| Entity | Role |
|---|---|
| User/Customer | Registers, searches, rents, and streams movies |
| Admin/Management | Manages catalog, views reports |
| Payment Gateway | Processes payment transactions |
Level 1: DFD (Decomposition of Process 0)
This diagram breaks the main system into major sub-processes.
USER
โ
โ Registration Info
โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Process 1.0 โ โ โ
โ User โโโโโโโโโบโ D1: USER DB โ
โ Registration โ โ โ
โ & Login โโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โ Verified User
โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Process 2.0 โ โ โ
โ Browse & โโโโโโโโโบโ D2: MOVIE DB โ
โ Search Movies โโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โ Selected Movie
โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Process 3.0 โ โ โ
โ Rental & โโโโโโโโโบโ D3: RENTAL DB โ
โ Streaming โโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โ Rental/Payment Request
โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Process 4.0 โ โ โ
โ Payment โโโโโโโโโบโ PAYMENT GATEWAY โ
โ Processing โโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โ Payment Confirmation
โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Process 5.0 โ โ โ
โ Report โโโโโโโโโบโ ADMIN / โ
โ Generation โ โ MANAGEMENT โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โฒ
โ Data from D1, D2, D3
Level 2: DFD for Process 3.0 - Rental and Streaming (Exploded)
This shows balancing: inputs/outputs of Process 3.0 match those in Level 1.
Selected Movie (from Process 2.0)
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโ
โ Process 3.1 โ
โ Check Movie โโโโโโ D2: MOVIE DB
โ Availability โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ Available Movie
โผ
โโโโโโโโโโโโโโโโโโโโโโโ
โ Process 3.2 โ
โ Create Rental โโโโโโโโโบ D3: RENTAL DB
โ Record โโโโโโโโโ D3: RENTAL DB
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ Rental Confirmed
โผ
โโโโโโโโโโโโโโโโโโโโโโโ
โ Process 3.3 โ
โ Stream Movie โโโโโโโโโบ USER (Movie Stream)
โ to User โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ Rental/Payment Request
โผ
(passed on to Process 4.0: Payment Processing)
Balancing Check
The Level 2 diagram takes exactly one input, Selected Movie from Process 2.0, and produces exactly one output, Rental/Payment Request to Process 4.0, which are the same input and output shown for Process 3.0 in the Level 1 diagram. The internal sub-processes (3.1, 3.2, 3.3) and the internal use of D3: RENTAL DB are visible only inside this exploded diagram, which is consistent with the balancing rule that a child DFD's external inputs and outputs must match its parent process exactly, while its internal detail need not appear at the parent level.
2079 ยท 10 marks
Why do we use DFD? Draw context diagram and data flow diagrams of a retail clothing store in a mall that sells different cloths to its customers.[10]
2076 ยท 10 marks
Assuming a retail clothing store in a mall, draw a context diagram and a level-0 diagram that represent the selling system at the store.[10]
Modeling Logic with Decision Tables, Decision Trees, and Pseudocodes
2081 ยท 10 marks
Draw a reduced decision table for the following scenario:An applicant has to fill up the form to participate in a music competition. The applicantโs age should be greater than 18 years and nationality has to be Nepalese for being selected for the competition. The applicant will be provided a registration number after paying Rs. 5000 as an entry fee. The applicant has to play an instrument for three minutes else will be disqualified. The experts will provide points on the basis of some criteria. The applicant having the highest point will be declared winner and will get a cash prize of Rs. 1,00,000 and all the qualified applicants will get a gift hamper.[10]
Process Modeling
2081 ยท 5 marks
Difference between process modeling and data modeling. How do you think data modeling play an important role? [5]
Traditional Methods for Determining Requirements
2080 ยท 5 marks
List traditional methods for determining system requirements. Explain advantages and pitfalls of observing workers to determine system requirements. [5]
Show solved answerHide answer
Traditional Methods for Determining System Requirements & Observation Method
Traditional Methods for Determining System Requirements
The traditional methods used by system analysts to determine system requirements are:
-
Interviewing - Conducting structured or unstructured interviews with users, managers, and stakeholders to gather information about the current system and requirements.
-
Observing Workers - Directly watching employees perform their day-to-day tasks to understand how the current system is actually used in practice.
-
Analyzing Procedures and Documents - Examining existing organizational documents, manuals, reports, forms, and records to find details about the current system, its problems, and the reasons why current systems are designed the way they are.
-
Questionnaires/Surveys - Distributing written sets of questions to a large number of users to collect information efficiently.
-
Joint Application Development (JAD) - Bringing together users, managers, and analysts in structured group sessions to define system requirements collectively.
Observing Workers to Determine System Requirements
Observation involves the system analyst directly watching workers perform their tasks in their actual work environment to understand how the current system operates.
Advantages of Observing Workers
-
First-hand, Accurate Information
- The analyst sees exactly how tasks are performed in reality, not just how users think or say they perform them. This reduces misunderstandings and inaccuracies.
-
Reveals Undocumented Processes
- Workers often follow informal procedures or shortcuts that are never written down. Observation uncovers these hidden steps that interviews or documents might miss.
-
Validates Other Information
- Observation can confirm or contradict information gathered through interviews and questionnaires, helping the analyst cross-check data.
-
Understanding the Work Environment
- The analyst gains insight into the physical and organizational context, such as workload, interruptions, and communication patterns, which helps in designing a more practical system.
-
No Reliance on Memory
- Unlike interviews where users must recall how they work, observation captures real-time behavior, making the data more reliable.
Pitfalls of Observing Workers
-
Hawthorne Effect (Change in Behavior)
- Workers may change or improve their behavior when they know they are being watched. This means the analyst may not see the true, everyday way tasks are performed, leading to inaccurate requirements.
-
Time Consuming
- Observation requires the analyst to spend significant time at the workplace, making it an expensive and slow method, especially for complex or lengthy processes.
-
Incomplete Picture
- Not all tasks occur frequently or during the observation period. Rare but important processes may be missed entirely.
-
Disruption to Work
- The presence of an observer can distract workers and slow down normal operations, causing inconvenience to the organization.
-
Analyst Bias
- The analyst may misinterpret what they observe or focus on certain activities while overlooking others, leading to a biased understanding of requirements.
-
Limited to Observable Tasks
- Mental or decision-making processes that workers perform internally (such as judgment calls or reasoning) cannot be captured through observation alone.
Conclusion
, "both interviewing and observing have some sort of limitations", which is why observation is best used in combination with other methods such as document analysis and interviewing to get a complete and accurate picture of system requirements.
2076 ยท 5 marks
What is a group interview? What are the benefits and drawbacks of group interviews? [5]
Introduction to E-R Modeling
2080 ยท 5 marks
Draw ER diagram to store data about students, programs, and courses at your college. [5]
Contemporary Methods for Determining System Requirements
2079 ยท 5 marks
Explain Joint Application Design in brief. How is it better than traditional information gathering techniques? [5]
2078 ยท 5 marks
How can you use prototyping for determining system prototyping requirements? Compare throwaway with evolutionary prototyping. [5]
Conceptual Data Modeling
2079 ยท 5 marks
What is conceptual data modeling? Explain conceptual data modeling process. [5]
2078 ยท 10 marks
What is conceptual data model? How do you gather information for conceptual data modelling? Draw an ER diagram for a retail store in a mall which sells different items to its customers.[10]
Make Unit 3 stick
Practice CSC326 with flashcards & quizzes