0% found this document useful (0 votes)
7 views5 pages

SE-final Examination 2022

The document is a final examination paper for the Software Engineering course at the National University of Computer & Emerging Sciences, Karachi, held on June 13, 2022. It includes various questions related to software requirements, agile methodologies, interface design principles, functional points, programming concepts, project management, and system design for a hospital's online solution. The exam consists of multiple questions, each with specific points and weightage, covering a range of topics relevant to software engineering.

Uploaded by

Haseeb Mujtaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

SE-final Examination 2022

The document is a final examination paper for the Software Engineering course at the National University of Computer & Emerging Sciences, Karachi, held on June 13, 2022. It includes various questions related to software requirements, agile methodologies, interface design principles, functional points, programming concepts, project management, and system design for a hospital's online solution. The exam consists of multiple questions, each with specific points and weightage, covering a range of topics relevant to software engineering.

Uploaded by

Haseeb Mujtaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

National University of Computer & Emerging Sciences, Karachi​

Final Examination, Spring-2022


th
13 June 2022, 12:00 noon – 03:00 PM
Course Code: CS3009 Course Name: Software Engineering
Instructor Name: Dr. Farrukh Hasan Syed, Romasha Khurshid, Sobia Iftikhar, Muhammad
Sohail, Hajra Ahmed
Student Roll No: Section No:

Instructions:
●​ Return the question paper and make sure to keep it inside your answer sheet.
●​ Read each question completely before answering it. There are 4 questions and 2 pages.
●​ In case of any ambiguity, you may make assumption. But your assumption should not
contradict any statement in the question paper. Write all the assumptions you’re making
on paper.
●​ You are not allowed to write anything on the question paper (except your ID and
Section).

Time: 180 minutes.​ ​ ​ ​ ​ ​ ​ Total Points: 100 , Wtg: 50

Question 01: ​ ​ ​ ​ ​ ​ ​ ​ [pt-10 wtg-5 CLO – 2]


a)​ You are employed as requirements engineer in a company that develops control software
for electric motors. During your work it becomes increasingly evident that the developers
are very well aware of the necessary requirements, even though the requirements are not
documented in their entirely. But you decide to document requirements systematically.
Why it is necessary to do so? Justify your answer with two arguments.

Question 02: ​Each part carry equal points & weightage​ ​ [pt-10, wtg-5 CLO - 1]
a)​ How does XP reflect agile manifesto?
b)​ Write briefly on Scrum Framework? How does a project proceed in a Scrum
Environment?
c)​ Over the past two sprints, the development team committed to completing user stories
totaling 80 points but only completed 72 points. What is the team's actual velocity?
d)​ What is the right sequence when developing software using the XP practice of Test First
development?
e)​ How does software differ from traditional engineering disciplines such as construction?

Question 03: ​Each part carry equal points & weightage​ [pt-10, wtg-5 CLO - 2]
Suppose you are working on a software to automate user stories. In order to enter the user stories
into the system, your team’s designer has designed the interface shown below.

Page 1 of 5
Using your expert knowledge of interface design, answer whether the following design
principles are being followed or not. Also justify you answer with a brief explanation.

a)​ Define interaction modes in a way that does not force a user into unnecessary or
undesired actions
b)​ Allow user interaction to be interruptible and undoable
c)​ Design for direct interaction with objects that appear on the screen.
d)​ Anticipation.
e)​ Metaphors.

Question 04: ​Each part carry equal points & weightage​ [pt-10, wtg-5 CLO - 2]
a)​ Define the below terms related to UI design.
b)​ For each of the terms, also explain what they would mean in context of the user interface
given in question 3.
●​ Novice users
●​ Knowledgeable, intermittent users
●​ Knowledgeable, frequent users
●​ User’s mental model
●​ Syntactic knowledge

Question 05: Each part carry equal points & weightage​ [pt-10, wtg-5 CLO - 4]
Specification: Spell Checker
Provide the document name and personal dictionary
It will check all words in a document by comparing them to a list of words in the internal
dictionary and an optional personal dictionary.
After processing the document, send a report on all misspelled words to standard output.
On request from user shows number of words processed on standard output
On request from user shows number of spelling errors detected on standard output

Page 2 of 5
a)​ Determine the domain measurements from the following data flow diagram and calculate
the functional points for the system, when complexity adjustment factors are essential and
weighting factor Average. Refer to the table given below.

Weighting Factor

Measurement Parameter Simple Average Complex

Number of User Input 2 5 8

Number of User Outputs 3 4 7

Number of User Inquires 4 6 9

Number of Files 6 8 10

Number of external Interface 5 7 8

b)​ On the basis of above data, let’s suppose the average productivity for a system of this
type is 10FP/pm with rs.5000 labor rate per month. identify cost per FP, System Cost and
Effort

Question 06: ​​ ​ ​ ​ ​ ​ ​ [pt-10, wtg-5 CLO -


4]
Use the following program fragment for question (a)-(d) below.
1.​ Program triangle
2.​ Dim a,b,c As Integer
3.​ Dim IsATriangle As Boolean
'Step 1: Get Input
4.​ Output("Enter 3 integers which are sides of a triangle")
5.​ Input(a,b,c)
6.​ Output("Side A is ",a)
7.​ Output("Side B is ",b)
8.​ Output("Side C is ",c)
'Step 2: Is A Triangle?
9.​ If (a < b + c) AND (b < a + c) AND (c < a + b)
10.​​ Then IsATriangle = True
11.​​ Else IsATriangle = False
12.​EndIf
'Step 3: Determine Triangle Type
13.​If IsATriangle
14.​​ Then If (a = b) AND (b = c)
15.​​ ​ Then Output ("Equilateral")
16.​​ ​ Else If (a ≠ b) AND (a ≠ c) AND (b ≠ c)
17.​​ ​ ​ Then Output ("Scalene")
18.​​ ​ ​ Else Output ("Isosceles")
19.​​ ​ EndIf
20.​​ EndIf
21.​Else Output("Not a Triangle")
22.​EndIf
23.​End triangle2

Page 3 of 5
a.​ Draw a control flow graph [pts-2]
b.​ Calculate Cyclomatic complexity[pts-2]
c.​ Determine the “basis set” of paths [pts-2]
d.​ Generate test cases for any two independent paths (use input as per your assumptions.)
[pts-4]

Question 07: ​ ​ ​ ​ ​ ​ ​ [pt-20, wtg-10 CLO - 4]


A bicycle company is getting its assembly section ready to dispatch a greater number of bicycles
to the target market after the Eid holidays. Assembling a bicycle involves several steps to be
done by different people. These activities are given below:

Activity Name Description Time (minutes)

A Frame preparation 9

B Mounting & alignment of front wheel 7

C Mounting & alignment of rear wheel 7

D Attaching chain wheel to crank 2

E Attaching chain wheel & crank to the frame 2

F Mounting right pedal 8

G Mounting left pedal 8

H Saddle attachment 10

I Stickers’ placement 5

Since the above given tasks are dependent, so the order of doing tasks is given below:
●​ C must be After A
●​ D must be after A
●​ E must be after D
●​ F must be after D & E
●​ G must be after D & E
●​ H must be after A, B, C, D, E, F & G

Now answer the following questions:


a)​ Draw the activity network diagram
b)​ Mention the early start time, early finish time, late start time & late finish time for each
task.
c)​ Identify all possible paths and highlight the critical paths in network
d)​ Calculate the total slack and free slack values.
e)​ What will be the impact on overall project time, if the Saddle attachment task got delayed
by 15 minutes? Discuss with proper reasoning.

Question 08: Each part carries 5 points​ ​ ​ ​ [pt-20, wtg-10 CLO - 3]


Quaid-e-Azam International hospital is shifting to an online system. Since the break of COVID
they have realized the importance of providing online solutions. Hence, they are interested in an
online system which will allow their patients to create their account on the website. The system
Page 4 of 5
will offer two types of check up i) Quick Check up ii) Routine Check up. Quick check up is for
patients suffering with seasonal or non-critical diseases, the routine check up is for patients with
long term illness.
Each user will be asked for the symptoms of the disease if the symptoms belong to the
non-critical diseases the user will be directed to the Quick Check up section, where s/he will be
asked to submit the fee for the checkup. The system will allow the user to pay via multiple
payment methods (e.g. Easy Paisa, Debit Card, Online Transfer, Jazz Cash etc), once the payment
is successful the user will be navigated to the next screen where s/he will be able to see the
available physicians along with patients in queue. The user can select a physician of choice or let
the system assign a physician. The physician will keep calling the next patient if there are patients
waiting in queue.
The patients with long term sickness will be directed to the Routine Check up section, they will
be shown the list of available specialists for their sickness. They will have the liberty to select any
from the list or let the system assign one. Upon selection they will be shown next possible
appointment slots (date & time), the user can reserve the slot. However, a payment is required to
confirm the appointment. Upon first appointment the system will show the next appointment slot
for the patient to the physician which will be assigned to the patient after the confirmation of the
physician.
The user will also be able to view its medical history, previous payments, medications prescribed.
Hospital is currently facilitating 1000 patients on a daily basis which require only one time check
up and has an active patient base of around 10000 which visit the hospital periodically for routine
checkups. Since, the failure of the system can badly affect the reputation of the hospital, the
management wants to ensure the system safety and efficiency.

a.​ The sequence diagram helps in finding the test cases. You are required to draw a sequence
diagram for the following use cases and design test cases with the help of the sequence
diagrams.
●​ Quick Checkup
●​ Routine Checkup
b.​ For each test case, please mention the category (e.g. unit/performance/black box/) it
belongs to.
c.​ How can you validate the safety and efficiency of the system, what kind of test cases will
be required?
d.​ Can we utilize the Test Driven Development approach for the above mentioned system,
support your answer with 2-3 logical arguments.

Page 5 of 5

You might also like