Systems Analysis and Design ยท Unit 5
Requirements Determination and Modeling
Exam-focused notes for Requirements Determination and Modeling (Systems Analysis and Design, BIT253): what the TU syllabus asks and how it has actually been tested, with 12 solved past questions from this unit.
Requirements Determination and Modeling in short
Before building anything, the analyst must learn exactly what users need. This chapter covers the methods for collecting requirements and the data flow diagram, the main tool for showing how data moves through a system.
What this unit covers
- Interviewing and listening techniques
- Joint application design approach
- Prototyping approach to requirements
- Evolutionary prototype versus throwaway prototype
- Information gathering techniques
- Requirements collection methods
- Data flow diagram components and benefits
- Context diagram and DFD levels
- Rules for drawing good DFDs
- DFD as process modeling
Data flow diagram components and benefits
2082 ยท 10 marks
Draw DFD up to level 1 for the following scenario: An online college recommendation system provides recommendation based on the studentโs requirements. It takes input such as faculty name, standard, and location. It also tracks the intake of each college. The system also provides notification to students regarding the remaining available seats and fee structures. The admin of the system is able to add, delete, and update the list of colleges based on the ratings of the existing students.[10]
Show solved answerHide answer
DFD Up to Level 1: Online College Recommendation System
Context Diagram (Level 0 DFD)
The Level 0 DFD (Context Diagram) shows the entire system as a single process with all external entities.
Faculty Name
Standard
Location
Student โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ [0]
โฒ Online
โ Recommendations College
โ Notifications (Seats, Fees) Recommendation โโโโโ Admin
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ System โ
โ Add/Delete/Update
โ College List
โผ
(System updates)
External Entities:
- Student: Provides search criteria and receives recommendations/notifications
- Admin: Manages college data (add, delete, update)
Level 1 DFD
Level 1 DFD decomposes the main system into its major sub-processes.
Faculty Name / Standard / Location
โ
โผ
Student โโโโโโโโโโโบ [1.0 Validate & Collect]
Student Requirements
โ
โ Validated Requirements
โผ
[2.0 Search & Generate]โโโโโโโโโโโบ D1: College Database
Recommendations โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ Matched College List
โผ
Student โโโโโโโโโโโ [3.0 Display]
Recommendations
โ
โ
โโโโโโโโโโโ
โ College Intake Data
โผ
[4.0 Track College]โโโโโโโโโโโโโโโบ D2: Intake Records
Intake โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ Seat Availability / Fee Info
โผ
Student โโโโโโโโโโโ [5.0 Send Notification]
(Remaining Seats, Fee Structure)
โ
โ
Admin โโโโโโโโโโโโโโบ [6.0 Manage College]
Add/Delete/Update โ
College Info โ Updated College Records
โผ
D1: College Database
Detailed Level 1 DFD Description
External Entities
| Entity | Role |
|---|---|
| Student | Inputs requirements; receives recommendations and notifications |
| Admin | Adds, deletes, and updates college information |
Processes
| Process No. | Process Name | Description |
|---|---|---|
| 1.0 | Validate and Collect Student Requirements | Accepts faculty name, standard, and location from the student and validates the input |
| 2.0 | Search and Generate Recommendations | Searches the College Database based on validated requirements and generates a list of matching colleges |
| 3.0 | Display Recommendations | Presents the matched college list to the student |
| 4.0 | Track College Intake | Monitors the intake capacity of each college and checks remaining available seats |
| 5.0 | Send Notification | Sends notifications to students about remaining available seats and fee structures |
| 6.0 | Manage College List | Allows admin to add, delete, or update college records based on student ratings |
Data Stores
| Data Store | Contents |
|---|---|
| D1: College Database | College name, faculty, location, fee structure, ratings, available seats |
| D2: Intake Records | Intake capacity, enrolled students count, remaining seats per college |
Data Flows Summary
| From | To | Data Flow |
|---|---|---|
| Student | Process 1.0 | Faculty name, standard, location |
| Process 1.0 | Process 2.0 | Validated requirements |
| Process 2.0 | D1 | Search query |
| D1 | Process 2.0 | College records |
| Process 2.0 | Process 3.0 | Matched college list |
| Process 3.0 | Student | Recommendations |
| Process 2.0 | Process 4.0 | College intake data |
| Process 4.0 | D2 | Intake tracking data |
| D2 | Process 4.0 | Current intake records |
| Process 4.0 | Process 5.0 | Seat availability and fee info |
| Process 5.0 | Student | Notifications |
| Admin | Process 6.0 | Add/Delete/Update instructions |
| Process 6.0 | D1 | Updated college records |
Key Notes
- Level 0 treats the entire system as one black box showing only external entities and major I/O.
- Level 1 breaks the system into 6 major processes reflecting the functional requirements described in the scenario.
- Data stores D1 and D2 act as repositories that multiple processes read from and write to.
- All inputs and outputs from the context diagram are preserved and accounted for in Level 1.
2080 ยท 10 marks
Why do systems analysts use DFDs? Draw context diagram and data flow diagram up to level 1 for a retail clothing store in a mall that sells different clothes to its customers. Make necessary assumptions.[10]
Show solved answerHide answer
Data Flow Diagrams (DFDs) for a Retail Clothing Store
Part 1: Why Systems Analysts Use DFDs (4 marks)
A Data Flow Diagram (DFD) is a graphical tool that depicts the flow of data through a system, showing how data is input, processed, stored, and output. Systems analysts use DFDs for the following reasons:
1. Visual Communication
DFDs provide a clear, graphical representation of a system that can be easily understood by both technical developers and non-technical stakeholders (managers, clients). They bridge the communication gap between users and developers.
2. System Understanding and Documentation
DFDs help analysts understand how an existing system works by mapping all data flows, processes, data stores, and external entities. They serve as formal documentation of the system.
3. Logical System Modeling
DFDs focus on what the system does (logical view) rather than how it is implemented (physical view). This helps analysts design systems independent of technology constraints.
4. Identifying System Boundaries
Through the context diagram (Level 0), analysts can clearly define the scope of the system, identifying what is inside and outside the system boundary.
5. Decomposition and Complexity Management
DFDs support leveled decomposition (Level 0, Level 1, Level 2...), allowing analysts to break a complex system into manageable sub-processes without losing the overall picture.
6. Error and Inconsistency Detection
By tracing data flows, analysts can identify missing data, redundant processes, or logical errors early in the development lifecycle, reducing costly corrections later.
7. Basis for Further Design
DFDs serve as input for designing databases (data stores become tables), programs (processes become modules), and system interfaces.
Part 2: DFD Symbols Used
| Symbol | Shape | Represents |
|---|---|---|
| External Entity | Rectangle | Source or destination of data outside the system |
| Process | Circle / Rounded Rectangle | Transforms input data into output data |
| Data Store | Open Rectangle / Parallel lines | Repository where data is stored |
| Data Flow | Arrow | Movement of data between components |
Part 3: Assumptions Made
Since no specific details were provided, the following assumptions are made:
- The store sells clothes to walk-in customers.
- Customers can browse, select, and purchase items.
- The store maintains an inventory of clothes.
- The store generates bills/receipts for customers.
- The store places orders to suppliers when stock is low.
- A manager oversees sales reports.
- Payment is made by cash or card.
Part 4: Context Diagram (Level 0 DFD)
The context diagram shows the entire retail clothing store system as a single process with all external entities.
Item Inquiry / Purchase Request
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ
โ โ
CUSTOMER โโโโโโค โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Receipt / Bill / Selected Items โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโ
โ Stock Order Request โ โ
SUPPLIER โโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ RETAIL CLOTHING โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค STORE SYSTEM โ
โ Stock / Inventory Delivery โ (Process 0) โ
โ โ โ
โ Sales Report / Summary โโโโโโโโโโโโโโโโโโโโโ
MANAGER โโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Management Queries / Requests โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ
Cleaner Representation:
โโโโโโโโโโโโ Purchase Request / Item Query โโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบโ โ
โ CUSTOMER โ โ RETAIL CLOTHING โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค STORE SYSTEM โ
โโโโโโโโโโโโ Receipt / Bill โ (Process 0) โ
โ โ
โโโโโโโโโโโโ Stock Delivery โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบโ โ
โ SUPPLIER โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โโโโโโโโโโโโ Purchase Order / Reorder Request โ โ
โ โ
โโโโโโโโโโโโ Management Queries โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบโ โ
โ MANAGER โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โโโโโโโโโโโโ Sales Reports / Stock Summary โโโโโโโโโโโโโโโโโโโโโโโ
Part 5: Level 1 DFD
The Level 1 DFD explodes Process 0 into its major sub-processes.
Major Processes Identified:
| Process No. | Process Name |
|---|---|
| 1.0 | Manage Customer Sales |
| 2.0 | Manage Inventory |
| 3.0 | Generate Reports |
| 4.0 | Process Payment |
Data Stores Identified:
| Data Store | Contents |
|---|---|
| D1 | Customer Records |
| D2 | Inventory / Stock Records |
| D3 | Sales Records |
| D4 | Order Records |
Level 1 DFD Diagram:
Item Query / Order
+----------+ ------------------------> +---------------------+
| CUSTOMER | | 1.0 |
+----------+ <------------------------ | Manage Customer |
| Bill / Receipt | Sales |
| +----+-----------+----+
| Payment | |
| Customer Details | | Sale Details
v v v
+---------------------+ +--------------+ +--------------+
| 4.0 | | D1 Customer | | D3 Sales |
| Process Payment | | Records | | Records |
+----------+----------+ +--------------+ +------+-------+
| Payment Record | Sales Data
v v
+--------------+ +---------------------+
| D4 Order | | 3.0 |
| Records | | Generate Reports |
+--------------+ +----------+----------+
| Sales and
+----------+ Purchase Order +---------------------+ | Stock Report
| SUPPLIER | <----------------- | 2.0 | v
+----------+ -----------------> | Manage Inventory | +-----------+
Stock Supply +----------+----------+ | MANAGER |
| Stock +-----------+
| Update
v
+--------------+
| D2 Inventory |
| Records |
+--------------+
Balancing check: the flows crossing the boundary of this diagram (Item Query, Order, Payment, Bill, Stock Supply, Purchase Order, Sales Report, Management Queries) are exactly the flows shown on the context diagram, which is the consistency rule every level of a DFD must satisfy.
Conclusion
Systems analysts use DFDs because a diagram of processes, flows, stores and boundaries is understood by the client as well as the developer, it captures what the system does without committing to how it will be built, and it can be decomposed level by level so that complexity is revealed gradually. For the retail clothing store the context diagram states the boundary and the three external entities, and the Level 1 diagram opens Process 0 into customer sales, inventory, reporting and payment, each writing to its own data store while every external flow stays identical to the level above it.
0 ยท 10 marks
Explain different components of data flow diagram (DFD) with example. Draw context diagram and data flow diagram for a retail store in a mall which sells different items to its customers.[10]
Information gathering techniques
2082 ยท 5 marks
Explain any three types of information gathering techniques. [5]
Show solved answerHide answer
Information Gathering Techniques
Information gathering (also called requirements elicitation) is the process of collecting information about the existing system and user needs during system analysis. Below are three important techniques:
1. Interview
An interview is a direct, face-to-face conversation between the system analyst and the stakeholders (users, managers, clients) to gather information about the current system and requirements.
Types:
- Structured Interview: Predefined set of questions are asked in a fixed order.
- Unstructured Interview: Open-ended, flexible conversation without a fixed question list.
Advantages:
- Allows in-depth understanding of user needs.
- Analyst can ask follow-up questions immediately.
- Non-verbal cues can also be observed.
Disadvantage:
- Time-consuming and costly if many users are involved.
2. Questionnaire / Survey
A questionnaire is a written set of questions distributed to a large number of users or stakeholders to collect information simultaneously.
Types:
- Open-ended questions: Allow free-form answers.
- Closed-ended questions: Provide fixed choices (Yes/No, multiple choice).
Advantages:
- Can reach a large number of people at once.
- Less time-consuming and cost-effective.
- Respondents can answer at their own convenience.
Disadvantage:
- No opportunity to clarify misunderstood questions.
- Response rate may be low.
3. Observation
Observation involves the analyst directly watching how users perform their tasks and interact with the existing system in their actual work environment.
Types:
- Active Observation: The analyst participates in the work process.
- Passive Observation: The analyst silently watches without interfering.
Advantages:
- Provides firsthand, accurate information about actual workflows.
- Reveals tasks that users may forget to mention in interviews.
- Helps identify bottlenecks and inefficiencies in the current system.
Disadvantage:
- Users may change their behavior when they know they are being observed (Hawthorne effect).
- Time-consuming for complex processes.
Summary Table
| Technique | Best Used When | Key Benefit |
|---|---|---|
| Interview | Few key stakeholders | In-depth, detailed information |
| Questionnaire | Large number of users | Wide coverage, cost-effective |
| Observation | Understanding actual workflow | Real, unbiased process data |
DFD as process modeling
2081 ยท 5 marks
Why DFD is known as process modeling? Explain. [5]
Requirements collection methods
2081 ยท 5 marks
Which method for requirements collection do you suggest, and why? [5]
Interviewing and listening techniques
2080 ยท 5 marks
Explain interviewing and listening technique for determining requirements. [5]
2079 ยท 5 marks
How can you use interviewing technique to determine system requirements? Explain. [5]
Context diagram and DFD levels
2079 ยท 10 marks
Draw context diagram and data flow diagram for online food ordering system up to level 2 which is used to sell different food items to its customers online.[10]
Rules for drawing good DFDs
2080.2 ยท 10 marks
Explain the rules for drawing good DFDs. Draw context diagram and data flow diagram up to level 1 for managing internal examinations at your college. Make necessary assumptions.[10]
Prototyping approach to requirements
2080.2 ยท 5 marks
How can we use prototyping approach to determine requirements? Compare evolutionary prototype with throwaway prototype. [3+2]
Joint application design approach
0 ยท 5 marks
Explain joint application design (JAD) approach to collect information requirements for developing information system. [5]
Make Unit 5 stick
Practice BIT253 with flashcards & quizzes