Thursday, 23 November 2017

SW-II

Software Engineering-II

Solved paper Section-B

Q4: Differentiate between LOC and FP?
A: Loc and FP both are used for measurement of program size. Line Of Code is used to measure the size of program by counting the Lines of Source code of the Program. Where Functional point used to measure the functional size.

Q5: Give solid reason for the actual benefits of documentation?
A:  Documentation is an important part of Software Engineering. It is a viable part of Software Development process and without it, it is hard to maintain any project and the developers have to re-invent the wheel.

Q6: When you feel that client don’t knot about their business environment in requirements gathering process. Which SDLC model you will preferred and why?
A: Agile SDLC will be preferred in this situation becuase;
     Customer satisfaction by rapid, continues delivery of useful software.
     Peoples and interactions are emphasized rather than process and tools.
     face to face communication and late requirements are welcome.

Q7: How extreme programming works for any given case of software development?
A: Extreme programming works in given case simply by placing two peoples together to work more faster than one person to overcome mistakes and errors. So in less time product is produced faster.

Q8: Is it possible that we can find the direct effort from FP analysis. If not give reason.
A: Yes this possible to find direct effort from functional points analysis as compare to other approach generation 2 that is known as COSMIC. That means it is worth to migrate from 1st generation method to 2nd generation.

Section-C
Q9: Following are the partial requirements written for a module “Online Banking debate  crad activation” of xyz marketing system.
The requirements listed above are a part of specification document. We want to calculate the lack of ambiguity for the requirements listed above in the “ Online Buying” module. The result will help us in gathering the data for maintaining the metrics for specification quality.
You have to analyze these requirements and then you have to find the value for lack of ambiguity in these requirements. For this you also have to mention the functional, Non-functional, total and ambiguous requirements in the given set of requirements.

Req-01 System shall allow user to enter 5 digit pin code number
Req-02 System shall allow user to enter national id card no
Req-03 System shall allow user to select type of user (current, pls and administrator) from combo
Req-04 System should have good user interface
Req-05 System should be user friendly
Req-06 System should be able to perform operations efficiently
Req-07 System shall confirm activation after getting correct info

A:
Metrics for specification quality,
 Software Requirements proposed by Davis in 1993
1. Functional requirements
2. Non-Functional requirements
Total Requirements (nr)= Functional req(nf) + Non-functional req(nnf)
Lack of ambiguity in requirements is calculated as;
Q = nui (ui = non-func req) / ur

Now calculate the un-ambiguity as follow;
check above table that how many are functional and non functional requirements in specification listed.

Req-01 (Functional) System shall allow user to enter 5 digit pin code number
Req-02 (Functional) System shall allow user to enter national id card no
Req-03 (Functional) System shall allow user to select type of user (current, pls & administrator)                                            from combo
Req-04 (Non-Fun)         System should have good user interface
Req-05 (Non-fun)         System should be user friendly
Req-06 (Non-fun)         System should be able to perform operations efficiently
Req-07 (Functional) System shall confirm activation after getting correct info

we  have Function req= 4, Non functional req= 3
Total Req= 4 ( Func_Req ) + 3 ( Non-Func_req)
Total Req= 7
Find Un-ambiguous efficiency:
Q = Non-Func_Req / Total Req
Q = 3 / 7
Q = .42%  (Un-ambiguous)

Q10: You are required to do functional point Analysis for these ease study given below.
This is real world example of FP Analysis. This will give you hand on experience of performing FP Analysis.
In the assignment you were provided with Library Information and Management system (LIMS). Consider only three tables from the same software (LIMS) named new_acc_no, Member and IssueHis.
1.  Newaccno: newacc keeps the record of books with all the details like title, Accession+, Author, Subauthor etx. max=40
2.  Member: member holds the data of the person who holds library membership Max=35
3.  IssueHis: This table holds the data of the books being issued. Max=14
The following operations are being performed on this system:


  • Add a book (with all it's details)
  • Delete the record of a book
  • Add a new member in the system
  • Generate a membership card for the library member
  • Generate a report that shows the number of books issued between two given dates
For this problem to do following:
a) Identify all ILF's, EIF's, DET's, EI's, EO's, and EQ's and calculate their complexities.
Calculate the understand FP count for the application.
Following support material for the problem.


EI


RET's
DET's
1 - 45 - 15> 16
<2LowLowAverage
2LowAverageHigh
> 2AverageHighHigh

EO, EQ
FTR's
DET's
1 - 56 - 19> 20
<2LowLowAverage
2 - 3LowAverageHigh
> 3AverageHighHigh

ILF, EIF

FTR's
DET's
1 - 1920-50> 51
1LowLowAverage
2-5LowAverageHigh
> 5AverageHighHigh

FP contribution of different Analysis Components
RatingValues
EOEQEIILFELF
Low43375
Average544107
High6561510

Solution: 
FTRDET
MaintainData_RefData_ProcTransactional
Add bookYesNoNoEI
Del bookYesNoNoEI
Add memYesNoNoEI
Gen_Card    YesNoYesEO
Book IssuedNoNoNoEQ

Complexities of the Functional POint Analysis
FTRDET
Transaction          FTR      DET Complexity  FP
Add bookEIbook>16Avg4
Del bookEIbook>16Avg4
Add memEImember>16Avg4

Gen_Card    EOmem. Lib>20high6
Book IssuedEQlib,mem,book>20high5

From above given tables we find Functional Points:FP= ILF + EIF + EI +EO+ EQ
FP= ILF + EIF + 23
FP= ILF +   0   + 23

FP= 3*7 +   0   + 23
FP= 21   +   0   + 23
FP= 44% out of 100%

You can also download Word file solution copy for more clearance , click
https://drive.google.com/open?id=1UL0GjSpR2wYTatZI36PbGbuGY5sy_2nx

23-nov-2017                                                          ALL-RIGHTS-RESERVED  ©DANIYALYOUNIS

No comments:

Post a Comment