Back to the 2026 paper

Module 3: Software Design & Metrics

20267m

Construct a DFD for an online library system that supports registration, book search, issue/return and fine calculation. Show the major data stores and external entities.

Worked SolutionAI Assisted

DFD for an Online Library System

Elements

  • External entities: Member, Librarian
  • Processes: 1.0 Register Member, 2.0 Search Book, 3.0 Issue Book, 4.0 Return Book, 5.0 Calculate Fine
  • Data stores: D1 Member File, D2 Book Catalogue, D3 Issue/Return Record, D4 Fine Record

Level 0: Context diagram

                registration details, search request,
                issue / return request, fine payment
   [ Member ] ------------------------------------> (  0  Online  )
   [ Member ] <------------------------------------ (  Library    )
                login status, search results,         (  System     )
                issue slip, fine receipt                  ^   |
                                                          |   v
   [ Librarian ] -- book details, member approval --------+   |
   [ Librarian ] <-------- reports, overdue list -------------+

Level 1 DFD

[Member]--registration details-->(1.0 Register Member)--member record-->[D1 Member File]
[Member]--search request-->(2.0 Search Book)<--book data--[D2 Book Catalogue]
(2.0 Search Book)--search results-->[Member]
[Member]--issue request-->(3.0 Issue Book)
(3.0 Issue Book)<--member check--[D1 Member File]
(3.0 Issue Book)<--availability / update copies-->[D2 Book Catalogue]
(3.0 Issue Book)--issue entry-->[D3 Issue/Return Record]
(3.0 Issue Book)--issue slip-->[Member]
[Member]--return request-->(4.0 Return Book)
(4.0 Return Book)<--issue entry-->[D3 Issue/Return Record]
(4.0 Return Book)--update copies-->[D2 Book Catalogue]
(4.0 Return Book)--return date-->(5.0 Calculate Fine)
(5.0 Calculate Fine)--fine record-->[D4 Fine Record]
(5.0 Calculate Fine)--fine receipt-->[Member]
[Librarian]--book details-->[D2 Book Catalogue]
[Librarian]<--overdue / fine reports--[D3, D4]

Data flow summary

Process Inputs Outputs
1.0 Register Member Registration details Member record to D1, confirmation
2.0 Search Book Search request, D2 data Search results
3.0 Issue Book Issue request, D1, D2 Issue entry to D3, updated D2, issue slip
4.0 Return Book Return request, D3 Updated D3 and D2, return date
5.0 Calculate Fine Return date, due date Fine to D4, fine receipt

Rules followed

  • Every process has at least one input and one output.
  • Data stores connect only to processes, never directly to entities.
  • Data flows are labelled; the Level 1 inputs and outputs match the context diagram (balancing).

In the exam, draw the diagram with circles (processes), rectangles (entities), open rectangles (data stores) and labelled arrows.

Similar questions

Software EngineeringDraw the first two levels of DFDs for an 'Online Examination System'. Make necessary assumptions.20217mSoftware EngineeringDraw the context diagram and Level-1 DFD for the following Mail Order Processing System. "HMV Records is a mail-order company that distributes CDs and tapes at discounted prices to record-club members. When an order processing clerk receives an order form, he verifies that the sender is a club member by checking the member file. If the sender is not a member, the clerk returns the order along with a membership application form. If the customer is a member, the clerk verifies the order item data by checking the Item file. Then the clerk enters the order data and saves it to the Daily Order file. The clerk also prints an invoice and shipping list for each order, which are forwarded to order fulfilment section."20247mSoftware EngineeringWhat do you mean by structured software design? Design level-1 DFD for cash ATM machine and explain it.201914mSoftware EngineeringDraw the context diagram and Level 1 DFD for the following Mail Order Processing System. "HMV Records is a mail-order company that distributes CDs and tapes at discount prices to record club members. When an order processing clerk receives an order form, he/she verifies that the sender is a club member by checking the member file. If the sender is not a member, the clerk returns the order along with a member form. If the sender is a member, the clerk verifies the order item data by checking the Item file. Then the Daily Order file. The clerk also prints an invoice and shipping list for each order, which are forwarded to order fulfillment."20237m
Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.