Open Software - Engg - UGC NET Old Paper - 2004 - 17 PDF
Open Software - Engg - UGC NET Old Paper - 2004 - 17 PDF
SOFTWARE ENGINEERING
Paper-II
System Development Life Cycle (SDLC): Steps, Water fall model,
Prototypes, Spiral model
Software Metrics: Software Project Management.
Software Design: System design, detailed design, function oriented design,
object oriented design, user interface design. Design level metrics.
Coding and Testing: Testing level metrics, Software quality and reliability,
Clean room approach, software reengineering.
Paper-III
Software development models, Requirement analysis and specifications,
Software design, Programming techniques and tools, Software validation and
quality assurance techniques, Software maintenance and advanced concepts,
Software management.
2. Paper-II June-2005
UCP can be used only when requirements are written in the form of use
cases.
Dependent on goal-oriented, well-written use cases. If the use cases
are not well or uniformly structured, the resulting UCP may not be
accurate.
Technical and environmental factors have a high impact on UCP. Care
needs to be taken while assigning values to the technical and
environmental factors.
48. Which one of the following ISO standard is used for software
process?
(A) ISO 9000 (B) ISO 9001
(C) ISO 9003 (D) ISO 9000-3
Ans: D
SEI = ‘Software Engineering Institute’ at Carnegie-Mellon University;
initiated by the U.S. Defense Department to help improve software
development processes.
CMM = ‘Capability Maturity Model’, developed by the SEI. It’s a
model of 5 levels of organizational ‘maturity’ that determine
effectiveness in delivering quality software.
ISO = ‘International Organization for Standards’ – The ISO 9001, 9002,
and 9003 standards concern quality systems that are assessed by
outside auditors, and they apply to many kinds of production and
manufacturing organizations, not just software. The most comprehensive is
9001, and this is the one most often used by software development
organizations. It covers documentation, design, development,
production, testing, installation, servicing, and other processes. ISO
9000-3 (not the same as 9003) is a guideline for applying ISO 9001 to
software development organizations.
ISO 9000 is a set of standards for quality assurance systems
ISO 9001 to the Development, Supply, and Maintenance of Software
ISO 9000-3, Guidelines for the Application of ISO 9001 to the
Development, Supply, and Maintenance of Software
63. The COCOMO model was introduced in the book title “Software
Engineering Economics” authored by
(A) Abraham Silberschatz
(B) Barry Boehm
(C) C.J. Date
(D) D.E. Knuth
Ans: B
65. Which one of the items listed below is not one of the software
engineering layers ?
(A) Process (B) Manufacturing
(C) Method (D) Tools
Ans: B
software engineering layers
Tools
Methods
Process
A Quality
Focus
69. For a data entry project for office staff who have never used
computers before (user interface and user-friendliness are extremely
important), one will use
(A) Spiral model (B) Component based model
(C) Prototyping (D) Waterfall model
Ans: C
70. An SRS
(A) establishes the basis for agreement between client and the supplier.
(B) provides a reference for validation of the final product.
(C) is a prerequisite to high quality software.
(D) all of the above.
Ans: D
The purpose of the SRS is to:
1. Establish the basis for agreement between the customers and the
suppliers on what the software product is to do. The complete
description of the functions to be performed by the software specified in
the SRS will assist the potential user to determine if the software
specified meets their needs or how the software must be modified to
meet their needs
2. Provide a basis for developing the software design. The SRS is the most
important document of reference in developing a design
3. Reduce the development effort. The preparation of the SRS forces the
various concerned groups in the customer's organisation to thoroughly
consider all of the requirements before design work begins. A complete
and correct SRS reduces effort waisted on redesign, recoding and
retesting. Careful review of the requirements in the SRS can reveal
omissions, misunderstandings and inconsistencies early in the
development cycle when these problems are easier to correct
4. Provide a basis for estimating costs and schedules. The description of
the product to be developed as given in the SRS is a realistic basis for
estimating project costs and can be used to obtain approval for bids or
price estimates
5. Provide a baseline for validation and verification. Organisations can
develop their test documentation much more productively from a good
SRS. As a part of the development contract, the SRS provides a baseline
against which compliance can be measured
6. Facilitate transfer. The SRS makes it easier to transfer the software
product to new users or new machines. Customers thus find it easier to
transfer the software to other parts of their organisation and suppliers
find it easier to transfer it to new customers
7. Serve as a basis for enhancement. Because the SRS discusses the
product but not the project that developed it, the SRS serves as a basis
for later enhancement of the finished product. The SRS may need to be
altered, but it does provide a foundation for continued product
evaluation.
71. McCabe’s cyclomatic metric V(G) of a graph G with n vertices, e
edges and p connected component is
(A) e
(B) n
(C) e – n + p
(D) e – n + 2p
Ans: C
Cyclomatic complexity = E - N + P
where,
E = number of edges in the flow graph.
N = number of nodes in the flow graph.
P = number of nodes that have exit points
83. While unit testing a module, it is found that for a set of test
data, maximum 90% of the code alone were tested with a probability of
success 0.9. The reliability of the module is
(A) atleast greater than 0.9
(B) equal to 0.9
(C) atmost 0.81
(D) atleast 1/0.81
Ans: C
Code tested maximum 0.90%
probability of success is 0.9
So, reliability of the module atmost 0.9 * 0.9 =0.81
yes no
90. The factors that determine the quality of a software system are
(A) correctness, reliability
(B) efficiency, usability, maintainability
(C) testability, portability, accuracy, error tolerances, expandability,
access control, audit.
(D) All of the above
Ans: D
91. A program P calls two subprograms P1 and P2. P1 can fail 50% times
and P2 40% times. Then P can fail
(A) 50% (B) 60%
(C) 10% (D) 70%
Ans: D
Program P fails when either P1 fails or P2 fails, i.e. failure of P1 +
failure of P2.
But this will also contain the case when both P1 and P2 fails at the same
time, i.e. failure of P1 ∩ failure of P2, since this case will be
already be counted on (P1+P2).
Therefore, our final answer will be failure of P1 + failure of P2 -
(failure of P1 ∩ failure of P2)
= (50/100)(50/100) + (40/100)(40/100) +(50/100 ∗ 40/100)
(50/100 ∗ 40/100)
= (90/100)(90/100) - (2000/10000)(2000/10000)
= (90/100)(90/100) - (20/100)(20/100)
= (70/100)(70/100)
= 70%
or
P1: fails 50% time. Success 50% time....0.5
P2: fails 40% time. Success 60% time.... 0.6
Success rate = both p1 and p2 wins = 0.5x0.6= 0.3
Failure rate =1- success rate = 1-0.3 =0.7=
70%
95. While estimating the cost of software, Lines of Code (LOC) and
Function Points (FP) are used to measure which one of the following?
(A) Length of code (B) Size of software
(C) Functionality of software (D) None of the above
Ans: B
Both FP and LOC are units of measurement for software size. The size of
a software that is subject to development is required in order to come
up with accurate estimates of effort, cost and duration of a software
project. Most parametric estimation models such as COCOMO accept size
expressed in either FP or LOC as input.
Alpha testing requires lab Beta testing doesn't require any lab
environment or testing environment environment or testing environment.
Software is made available to the
public and is said to be real time
environment
117. Given a flow graph with 10 nodes, 13 edges and one connected
components, the number of regions and the number of predicate (decision)
nodes in the flow graph will be
(A) 4, 5 (B) 5, 4
(C) 3, 1 (D) 13, 8
Ans: B
E= edges.
N=nodes.
V(g)=e-n+2
V(g)=13-10+2=5
V (G) = P + 1
Where P = Number of predicate nodes (node that contains condition)
Hence p=4.
Number of regions =5.(the cyclomatic complexity.)
140. Assume that the software team defines a project risk with 80%
probability of occurrence of risk in the following manner :
Only 70 percent of the software components scheduled for reuse will be
integrated into the application and the remaining functionality will have to be
custom developed. If 60 reusable components were planned with average
component size as 100 LOC and software engineering cost for each LOC as $
14, then the risk exposure would be
(A) $ 25,200 (B) $ 20,160
(C) $ 17,640 (D) $ 15,120
Ans: B
Total resusable components planned=60.
Custom developed =.3*60=18.
Total cost in development=18*100*14.
Risk exposure= .8*18*1400.=$20160
145. Which process model is also called as classic life cycle model?
(A) Waterfall model (B) RAD model
(C) Prototyping model (D) Incremental model
Ans: A
Waterfall model is one of the process models used in software
development .
This model is also called as the classic life cycle model as it suggests a
systematic sequential approach to software development. This one of
the oldest model followed in software engineering.
The process begins with the communication phase where the customer
specifies the requirements and then progress through other phases
of planning, modelling, construction and deployment of the software.
169. The quick design of a software that is visible to end users leads
to ............
(A) iterative model (B) prototype model
(C) spiral model (D) waterfall model
Answer: B
Explanation:
Prototype model: The basic idea here is that instead of freezing the
requirements before a design or coding can proceed, a
throwaway prototype is built to understand the requirements. This
prototype is developed based on the currently known
requirements. By using this prototype, the client can get an “actual feel” of
the system, since the interactions with prototype can enable the
client to better understand the requirements of the desired
system. Prototyping is an attractive idea for complicated and large
systems for which there is no manual process or existing system
to help determining the requirements.
Waterfall model is the simplest model of software development
paradigm. It says the all the phases of SDLC will function one after
another in linear manner.
Iterative model leads the software development process in iterations. It
projects the process of development in cyclic manner repeating every step
after every cycle of SDLC process.
V-model‘ is also used by many of the companies in their product. ‘V-
model’ is nothing but ‘Verification’ and ‘Validation’ model. In ‘V-
model’ the developer’s life cycle and tester’s life cycle are mapped to
each other. In this model testing is done side by side of the development.
Likewise ‘Incremental model’, ‘RAD model’, ‘Iterative model’ and
‘Spiral model’ are also used based on the requirement of the customer
and need of the product.
Big Bang Model
This model is the simplest model in its form. It requires little planning,
lots of programming and lots of funds. This model is conceptualized
around the big bang of universe.
173. Match each software term in List – I to its description in List – II:
List – I List – II
I. Wizards a. Forms that provide structure for a
document
II. Templates b. A series of commands grouped into a
single command
III. Macro c. A single program that incorporates
most commonly used tools
IV. Integrated Software d. Step-by-step guides in application
software
V. Software Suite e. Bundled group of software programs
Codes :
I II III IV V
(A) d a b c e
(B) b a d c e
(C) d e b a c
(D) e c b a d
Answer: A
Equivalence prtitioning is black box testing approach and not a white box
testing
Equivalent Partioning or Equivalnece Class Partitioning is a black box
technique (code is not visible to tester) which can be applied to all levels of
testing like unit, integration, system, etc. In this technique, you divide the set of
test condition into a partition that can be considered the same.