You are on page 1of 3

CSE 327: Software Engineering (Section: 4)

Fall 2020, Faculty – MMA1


Final, Marks: 25, Deadline: 2:20 pm (25/01/21)
Answering Guideline:

• Write your answer on the paper, scan the images using your smartphone and submit the
assignment in pdf version.
• You may consult textbooks and lecture slides.
• It is not allowed to take help from internet or consult with any person who has knowledge
of this subject, including other students of this course.
• All solutions have to be your own work.

Answer all the questions


1. Consider the following scenario: 10

A school wants to automate their attendance taking. Attendance will be taken via a
web interface. Each teacher can log in to the system and see a list of classes they are
teaching. The teacher can choose one of those classes and be presented with a list of
students who are enrolled in that class. The teacher can then set the attendance status of
the students (present/absent) and submit the form, which should update the attendance
record of the class for that time.

Students can log in and check their attendance record on a per class basis. Only the
assigned-teacher or the principal can give attendance for a class. In case the assigned-
teacher is absent, the principal must first assign another teacher for the class for that
particular day. The temporary-assigned-teacher can then take attendance for the class,
only for that day. The system must record this event for cases of attendance record
dispute.

A teacher may be the assigned teacher of more than one class for a given teaching
period. Only the principal can change set or change the assigned teacher during the
teaching period. Once a teaching period finishes, the status of the attendance records must
become ‘archived’. During the teaching period each attendance record must have a status
of ‘active’.

Guardians can check the attendance record of their wards online. This however is
limited to only the current active attendance data. If ‘archived’ records are to be accessed,
special request must be lodged online, which the principal can then approve if she/he
wishes.

(i) Which Software Process Models discussed in lectures would be the best one (consider
as first option) to develop the software for the proposed system in the Case Study? Give
two (2) reasons for your choice.

(ii) Which Software Process Models discussed in lectures would you consider as second
option to develop the software for the proposed system in the Case Study? Give two (2)
reasons for your choice.

1
2. In Bangladesh Premier League (BPL) player selection system, each team owner 5
possesses a numbered paddle that is used to indicate a base price for a player. The BPL
managing committee then starts the proceeding by mentioning the base price, and checks
when a paddle is raised to accept that price to buy that player. As a result, the acceptance
of the player’s base price changes which is broadcast to all the team owners in the form
of a new bid.

Which design pattern is applicable here and why? Which design pattern is applicable
here and why?

2
3. Find the Cyclomatic Complexity of the following code segment and show 4 different 10
basic paths (if exists) for test cases:

N.B.: The value of N is from the 3rd digit to 6th digit of your student ID, for example, if
student ID = 231785342, then N = 1785. Again, max is from the 2nd digit to 6th digit and
min is the addition of first two digits of your student ID.

You might also like