ICT2622-Exam OctNov 2023
ICT2622-Exam OctNov 2023
ICT2622
Object-Oriented Analysis
100 Marks
Duration 02 Hours
EXAMINERS:
FIRST: MR LS NXUMALO
SECOND: DR S SSEMUGABI
This exam question paper consists of four (4) pages, including this page.
Instructions:
1. Candidates are warned against irregular or dishonest practices, which discredit not
only the candidate concerned, but also the good name of the University.
2. This exam question paper has six (6) questions. Answer all questions.
3. This is a closed book examination.
4. You are expected to use IRIS for invigilation. Failing which, the university will not
release your results.
5. You will be required to sign an honour pledge for this examination.
6. Save your document as a single pdf file before submitting.
7. Do not password protect your document.
8. Use myExams to submit your answer script. No emailed script will be marked.
9. Students are provided 30 minutes to submit answer scripts after the official
examination time. Submissions made after the official examination time will be
rejected by the examination regulations and will not be marked.
[TURN*OVER]
2 ICT2622
Oct/Nov 2023
Question 1 [12]
1.1 What would you, as an analyst do if you got conflicting answers for the same procedure from two
different people you interviewed, especially if one was a clerical person and the other was the
department manager? (8)
1.2 List one (1) similarity and one (1) difference between classes and use cases. (4)
Question 2 [18]
2.1 Discuss the two (2) types of questions that can be asked when conducting an interview with the
users of the system. (4)
2.2 List and briefly describe the five (5) parts included in the description of a design pattern. (10)
2.3 Study the diagram below and extract the business rules. (4)
Question 3 [14]
Consider the case study that follows and answer the subsequent question in 3.1.
[TURN*OVER]
3 ICT2622
Oct/Nov 2023
A real estate company sells houses and apartments. The company’s listings management system stores
evidence of listings. A listing contains the listing number, property address, image, year it was built, area, and
price. In case of houses, people usually want to know the number of floors, size of lot, and basement
characteristics. For apartments, the sizes of storage and of balcony are distinguishing characteristics. The
company’s system associates listings with agent records. These include agent ID, name, address, and
employment start date. A single agent manages a number of listings at a time. While a listing is usually managed
by a single agent, sometimes it happens that a listing is transferred from one agent to another. It is recorded
when an agent starts and ends to manage a listing.
3.1 Based on this description, draw a class diagram. You do not need to make any assumptions or to
specify multiplicity. (14)
Question 4 [12]
Consider the case study that follows and answer the subsequent question in 4.1.
The system for managing listings in a real estate company cited in question 3 is used by the real estate agents
and managers on the daily basis. To be able to do any job with the system, any user must first have their
credentials verified by the system. An agent can create a listing and then retrieve it later when needed. Some
agents can update listings as well. A listing update becomes complete only after a manager approves it. Managers
can get listing reports from the system. They can also remove a listing to an archive file or, when the company
ceases to market a property, to a trash can (deletion).
Question 5 [25]
Consider the case study that follows and answer the subsequent question in 5.1.
When a contractor buys materials at Quality Building Supply, he takes it to the contractor checkout desk. The
clerk enters the contractor’s name into a point-of-sale system (the system). The system displays the contractor
record, including his current credit standing. The clerk then opens up a new sales record for the contractor. Next,
the clerk scans in the number of the item to be purchased into the system. The system finds the price and product
name, then displays these on the screen and adds the item to the sales record. In turn, the clerk enters the
quantity of the item. When all items are scanned, the clerk ends the sale. The system calculates the total and
checks it against the contractor’s credit limit. If the limit is not reached, the system updates the contractor’s
account by subtracting the amount of the sale from the credit available. If the credit limit is reached, the clerk is
alerted to ask for a cash payment. If the contractor does not wish to pay in cash, the clerk cancels the sale.
Successfully closed sales are finalized so that the system prints a receipt.
5.1 Use all the details provided to draw an activity diagram. (25)
[TURN*OVER]
4 ICT2622
Oct/Nov 2023
Question 6 [19]
6.1 Consider the following use case narration which describes the scenario of a specially designed
telephone box used to take telephone calls using a credit card. Draw a sequence diagram to
represent the above scenario. (19)
Use Case Name: Take a telephone call using the credit card
Participant: User, Credit card processing centre
Entry Conditions: User has a valid credit card.
Credit balance should be sufficient for the
minimum amount required to take a phone call.
Exit Conditions: User hangs the receiver.
Credit card is returned to the user.
Flow of events:
1. The user inserts the credit card.
2. Telephone box sends the message to the card centre.
3. Card centre processes the card.
4. Card centre sends the available credit to the Telephone box.
5. Telephone box processes the available balance.
6. Telephone box shows a message for the user to pick up the receiver.
7. User picks up the receiver.
8. Telephone box displays the number pad to the user on the screen.
9. User dials the number and makes the phone call.
10. Telephone box processes the duration and the amount charged.
11. User ends the phone call by pressing the ‘END’ button/hanging the receiver.
12. Telephone box displays the total phone call duration and the amount charged.
13. Telephone box sends the amount to the card centre.
14. Card centre charges the amount from the credit card.
15. Card centre sends the confirmation to the telephone box.
16. Telephone box displays the message” THANK YOU, COME AGAIN”.
17. Telephone box ejects the credit card.
Exceptional conditions and alternative flow of events:
When the credit is not sufficient to make a call
5.1 Display error message and Go to 17
When the amount exceeds the credit card balance
10.1 Ends the phone call and Go to 12
©
UNISA 2023