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
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 - 4 | 5 - 15 | > 16 | |
<2 | Low | Low | Average |
2 | Low | Average | High |
> 2 | Average | High | High |
EO, EQ
FTR's
|
DET's
| ||
1 - 5 | 6 - 19 | > 20 | |
<2 | Low | Low | Average |
2 - 3 | Low | Average | High |
> 3 | Average | High | High |
ILF, EIF
FTR's
|
DET's
| ||
1 - 19 | 20-50 | > 51 | |
1 | Low | Low | Average |
2-5 | Low | Average | High |
> 5 | Average | High | High |
FP contribution of different Analysis Components
Rating | Values | ||||
EO | EQ | EI | ILF | ELF | |
Low | 4 | 3 | 3 | 7 | 5 |
Average | 5 | 4 | 4 | 10 | 7 |
High | 6 | 5 | 6 | 15 | 10 |
Solution:
FTR | DET | ||||
Maintain | Data_Ref | Data_Proc | Transactional | ||
Add book | Yes | No | No | EI | |
Del book | Yes | No | No | EI | |
Add mem | Yes | No | No | EI |
Gen_Card | Yes | No | Yes | EO | |
Book Issued | No | No | No | EQ |
Complexities of the Functional POint Analysis
FTR | DET | ||||
Transaction | FTR | DET | Complexity | FP | |
Add book | EI | book | >16 | Avg | 4 |
Del book | EI | book | >16 | Avg | 4 |
Add mem | EI | member | >16 | Avg | 4 |
Gen_Card | EO | mem. Lib | >20 | high | 6 |
Book Issued | EQ | lib,mem,book | >20 | high | 5 |
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%
FP= 44% out of 100%
You can also download Word file solution copy for more clearance , clickhttps://drive.google.com/open?id=1UL0GjSpR2wYTatZI36PbGbuGY5sy_2nx
23-nov-2017 ALL-RIGHTS-RESERVED ©DANIYALYOUNIS
No comments:
Post a Comment