2023 February 1
2023 February 1
in
Information Technology
Final Examination
Year 1, Semester 2 (2023)
February Intake
Duration: 3 Hours
Instructions to Candidates:
Page 1 of 8
Question 01 (20 Marks)
Read the following description and answer the questions that follow.
University Course Registration System (UCR) is a system that automates the course registration
activities for Colombo City Campus. The process of assigning lecturers to courses and the
registration of students is a frustrating and time-consuming experience. At the beginning of
each semester, students may request a course catalogue that provides them with information
about the courses that are offered, such as the instructor's name, credit points, and required
prerequisites.
The new system will allow students to select four course offerings for the upcoming semester.
In addition, each student will select two alternative choices in case the course offered is
completed or cancelled. Once the registration process is completed for a student, the registration
system sends information to the billing system so the student can be billed for the semester.
Lecturers can access the online system to indicate which courses they will be teaching and to
see which students have signed up for their course.
For each semester, there is a period that they can change their schedule. Therefore, they must be
able to access the system during this time to add or drop courses. A registrar is the person who
is responsible for the maintenance of the registration system. Task includes maintaining
information about courses, lecturers, and students and creating the course catalogue.
a) Draw the use case diagram for the scenario given above. (10 marks)
Note – State any assumptions that you make.
Page 2 of 8
b) Consider the following details of student selecting the course offering and (10 marks)
write the use case scenario for Register for Semester use case.
The new system will allow students to select four course offerings for the upcoming semester.
To register for the semester first the student must be login to the system. Then the student can
select the year and the semester registering. The system displays the course list for the selected
semester. The student can click on the checkboxes displayed in front of each course name and
select four courses of his/her choice. In addition, each student will select two alternative choices
in case the course offered is completed or cancelled. Finally, the student can confirm the
selections where the system completes the semester registration. Once the registration process
is completed for a student, the registration system sends information to the billing system so the
student can be billed for the semester.
Page 3 of 8
Question 02 (20 Marks)
b) Explain the usage of Fork and Join in Activity diagrams using a suitable (6 marks)
example.
c) Read the following scenario and draw a complete Activity diagram (12 marks)
including swim lanes.
In step 7: If the client disagrees to the available time then the process ends.
Page 4 of 8
Question 03 (20 Marks)
a) Describe the usage of the following in sequence diagrams. Use suitable
examples for each (6 marks)
i. Synchronous messages
ii. Object creation and destruction
iii. Asynchronous messages
b) Figure 1 is a UML sequence diagram that models the interaction in a Book Lending
system to create a Book Loan. Answer the questions that follows.
Page 5 of 8
i. The above diagram contains mistakes. Identify the mistakes and re-draw (5 marks)
the diagram in the correct way.
ii. Modify the diagram drawn in (i) to add the following behaviours`. (6 marks)
1. If the book is not available, the loan object should return an error
message to the UI.
2. Assume that three books can be taken for one book loan. In such a
situation the system must check the availability of each book and
update the status as necessary or return error.
iii. Explain the interaction represented by the findBook() operation. (1 marks)
iv. What is the name of the object created from the LoanBook class? (1 mark)
v. To which class the checkAvailability() operation belongs to? (1 mark)
Page 6 of 8
Question 04 (20 Marks)
a) Describe the difference between iconic representation and expanded (4 marks)
representation of an interface using a suitable example.
b) List the three types of components. (3 marks)
c) Draw the physical diagram for the system described below. Use UML 2.0 (13 marks)
notation.
An online Student Registration system has been developed for an Academic Institute. This
system consists of a Web Server, Application Server, Registration Server and a Student Server.
Web Server and Application servers are running in a Sun Server machine while Registration
Server and Student Server are deployed in a private Amazon server. These devices communicate
over the internet.
Web Server contains an application called Student Registration and Online Learning. The
registration server contains the Registration database component and Student server contains the
Student Registration component. Student Registration component implements IStudent
interface which is used by the Online Learning component. Further Student Registration
component communicates with the Registration database through the interface IRegistration,
which is implemented by the Registration Database.
Page 7 of 8
Question 05 (20 Marks)
a) Why testing and quality assurance are important in software (2 marks)
development? State two reasons.
b) List down two advantages of unit testing (2 marks)
c) Describe two System Testing types. (4 marks)
d) Briefly explain the following (2 x 3 marks)
Page 8 of 8