Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

2023 February 1

The document is an examination paper for a Higher Diploma in Information Technology, specifically for the Software Engineering course. It includes instructions for candidates, a series of questions related to software engineering concepts such as use case diagrams, activity diagrams, sequence diagrams, and testing methodologies. The exam consists of five questions with a total of 100 marks, covering topics relevant to course registration systems and software testing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

2023 February 1

The document is an examination paper for a Higher Diploma in Information Technology, specifically for the Software Engineering course. It includes instructions for candidates, a series of questions related to software engineering concepts such as use case diagrams, activity diagrams, sequence diagrams, and testing methodologies. The exam consists of five questions with a total of 100 marks, covering topics relevant to course registration systems and software testing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Higher Diploma

in
Information Technology

Final Examination
Year 1, Semester 2 (2023)
February Intake

Software Engineering (IT1112)

Duration: 3 Hours

Instructions to Candidates:

 This is a closed book examination.


 This paper contains 5 questions on 7 pages without the cover page.
 Answer all questions on the WORKBOOK provided.
 Read all questions before answering.
 The total marks obtainable for this examination is 100.

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.

Use the template given below for the answer.

Use Case Name


Actors
Pre-Condition
Goal
Typical Course of Events
Actor Actions System responses
Post-Condition
Alternative Courses

Page 3 of 8
Question 02 (20 Marks)

a) What do swim lanes show in an activity diagram? (2 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.

Use Case Name Schedule an appointment


Actors Receptionist
Precondition There is a client who needs an appointment
Typical course of events
1. The use case starts when a client calls the front desk to take an appointment.
2. The receptionist asks the client for the appointment date.
3. The client tells the possible date.
4. The receptionist checks the availability of the date in the system.
5. The system prompts the available time on the screen.
6. The receptionist tells the client the available time.
7. The client confirms the time.
8. The use case ends when the receptionist confirms the appointment. At the same time
the system sends a message to the client's phone.
Post-Condition Appointment scheduled successfully
Alternate flow
In step 4: If the requested date is not available then the receptionist informs the client and
repeats from step 3.

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.

Figure 1 Sequence diagram – Create new Book Loan

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)

i. White Box testing


ii. Top down Integration Testing
iii. Black Box testing
e) Derive test data to validate the temperature changes of an automated (6 marks)
bread toaster using Equivalence Partitioning and Boundary Value
Analysis
There are two indicator bulbs in the toaster. One is Green color and the second one is Red color.
When the toaster is been heated, the bulb is turned to Green color. Heating temperature is from
1°C to 155°C. When the temperature is above 155°C, it starts toasting the bread. Then the bulb
turns to Red color. However, the maximum temperature the toaster can heat is up to 230°C. If
the temperature goes beyond that the toaster burns.

End of the Question Paper

Page 8 of 8

You might also like