0% found this document useful (0 votes)
245 views3 pages

Final Term Exam Software Engineering: Question No: 1 Short Questions Marks (11 2 22)

This document contains instructions for a final term exam for a software engineering course. The exam is 3.5 hours and worth 50 marks. It contains 4 questions - [1] short answer questions worth 22 marks, [2] project metrics questions worth 12 marks, [3] a software design question worth 12 marks, and [4] a question about cohesion types worth 4 marks. The questions assess a range of topics covered in the course including unit testing, system testing, verification and validation, software design, requirement engineering, and cohesion.

Uploaded by

Mirza Abubakr
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)
245 views3 pages

Final Term Exam Software Engineering: Question No: 1 Short Questions Marks (11 2 22)

This document contains instructions for a final term exam for a software engineering course. The exam is 3.5 hours and worth 50 marks. It contains 4 questions - [1] short answer questions worth 22 marks, [2] project metrics questions worth 12 marks, [3] a software design question worth 12 marks, and [4] a question about cohesion types worth 4 marks. The questions assess a range of topics covered in the course including unit testing, system testing, verification and validation, software design, requirement engineering, and cohesion.

Uploaded by

Mirza Abubakr
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/ 3

Final Term Exam

Credit Hours: 3 Software Engineering Time allowed: 3:30 Hrs


Course Code: CS-321 Maximum Marks: 50

Question No: 1 Short Questions Marks [11*2=22]

a. Is Unit Testing possible or even desirable in all circumstances? Provide examples to justify your answer.
b. Define the following types of system testing
i. Stress Testing
ii. Recovery Testing
c. Some people argue that developers should not be involved in testing their own code but that all testing should be the
responsibility of a separate team. Give arguments for and against testing by the developers themselves.
d. Using your own words, describe the difference between verification and validation. Do both make use of test-
case design methods and testing strategies?
e. Who should perform the validation test—the software developer or the software user? Justify your answer.
f. Identify at least three reasons in favour of why functional independence is the key factor for a good software
design.
g. Outline the fact finding or elicitation techniques?
h. What is balanced DFD?
i. Differentiate among basic COCOMO model, intermediate COCOMO model and complete COCOMO model.
j. Explain, in the context of the models you have produced, what is meant by saying:
“A good specification should be correct, consistent and complete”.
k. Requirement engineering mainly deals with the definition phase of the system. Discuss the importance of
Requirement Engineering.

Question No-2: (Project Metrics) Marks [3+3+6=12]

a. Explain why the process of project planning is iterative and why a plan must be continually reviewed
during a software project.

b. In MS Project we have to mention the estimated task duration while listing the project tasks. What are
the good sources of task duration estimates?

c. Software managers do the same kind of job as other engineering project managers. As we know that,
software engineering is different from other types of engineering in a number of ways. Describe these
distinctions that make software management particularly difficult.

All of these data are of average complexity, and the overall system is relatively simple.

Information Domain Value Total Count Simple Average Complex

Number of Inputs 25 5 10 10

Number of outputs 30 10 10 10

Number of files 5 5 0 0
Number of external interfaces 15 4 8 3

Number of inquiries 27 10 7 10

1) Calculate FP from above data, where  (Fi) = 42


2) If Organizational average productivity is 3.3 FP/PM and organizational labor rate is Rs. 5945 per month.
Calculate total project cost and estimated effort on the basis of function point calculated.

Function Point complexity Table


Weighting factor

Item Simple Average Complex


External inputs 3 4 6
External outputs 4 5 7
External inquiries 3 4 6
External files 7 10 15
Internal files 5 7 10

Question No-3: (Software Design) Marks [4+4+4=12]

a. Draw the context level and 1st level DFD

Software is to be developed to find the average marks of people in a class. The user interacts with
the software via a special panel that lets him enter the required information. Initially, the software
asks for number of students in the class by displaying a message on the panel screen. Once this
information is entered, the software displays a message to enter names of students and marks. If
negative marks or marks greater than 100 are entered, an error message is displayed. If marks are
correctly entered the software calculates the average marks, stores them and also displays them on
the screen.

b. Identify errors in the following section of a DFD

ID, Name Info.


Patient
check file
past
history

Illness
Query
Clerk

Prints

Repor
Doctor’s
ts
Record
Reports
c. Consider the following requirements specification for a computerized appointments system for a doctors'
surgery. Identify all non-functional requirements.

"The system will be primarily operated by the doctors' receptionists. They will make appointments
for patients who contact the surgery. To make an appointment the receptionist gets the patient's
name, checks that the patient is registered and gets the next available appointment slot. Providing
this slot is acceptable to the patient the appointment is confirmed and the diary updated. The system
should enable receptionists to cancel appointments either in response to patients' or doctors' requests.
If a patient cancels a confirmed appointment within 24 hours, he has to pay 50 Rs. cancellation
charges; patients who fail to turn up for an appointment must pay 100 Rs. charges. The system must
prepare invoices for customers who have to pay charges. As the system is only to be used by
receptionists or doctors it should have user friendly interface and an appropriate login procedure
that will only allow authorized users to enter the system."

Question No-4: Marks [4]

a. Find the appropriate type of Cohesion of the following scenarios.

1. Scenario 1 2. Scenario 2
 Compute cosine of angle  Find title of book
 Verify alphabetic syntax  Find price of book
 Read transaction record  Find publisher of book
 Determine customer mortgage repayment  Find author of book
 Compute point of impact of missile
 Calculate net employee salary
 Assign seat to airline customer

3. Scenario 3 4. Scenario 4
 Fix car  put out milk bottles
 Bake cake  put out cat
 Walk dog  turn off tv
 Fill out astronaut-application form  brush teeth
 Have a glass of juice
 Get out of bed

++++++++++++++++

You might also like