Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
13. (a) (i) Draw a translating diagram for analysis model into a software
design Specification. (8)
(ii) Give a complete template for documentation design specification.
(8)
Or(b) (i) Which is a measure of interconnection among modules in a
program structure?Explain. (8)
(ii) What is the difference between Level-0 and Level-1 DFD? Draw a
Level-0 and Level-1 DFD for safe Home Security System. (8)
14. (a) (i) What are all the formulas for cyclomatic complexity?
Calculate cyclomatic Complexity for greatest of three numbers. (8)
(ii) How would you derive test cases for the given project? Explain in
detail. (8)
Or(b) (i) Narrate the path testing procedure in detail with a sample
code.(8)
(ii) Explain the different integration testing approaches. (8)
Part-B-(16*5=80)
11. (a) What are the major differences between system engineering and software engineering and
explain the stages and distinguish the two.
Or
(b) What is prototyping? Mention its types. Also explain this model with advantage and
Disadvantage (16)
14. (a) What are all the formulas for cyclomatic complexity? Calculate cyclomatic complexity for binary
search (16)
Or
(b) Explain the types of white box testing (16)
Answers – Part –A
1. IEEE definition – the application of a systematic, disciplined, quantifiable approach to the development,
operation and maintenance of software,.
3. It is a repository that contains descriptions of all data object consumed or product by the software
4. Cardinality is the specification of the number of occurrences of one object that can be related to the
number of occurrence of another.
Modality – Indicates whether or not a particular data object must participate in the relationship.
6. Real time system is a software system where the correct functioning of the system depends on the result
produced by the system and time at which these results are produced.
7. Is the re-execution of some subset of tests that have already been conducted to ensure that changes have
not propagated unintended side effects
10. Software measure means deriving a numeric for an attribute of a software product or process.
Part-B
11. - System Engineering process is called business engineering
- It occurs as a consequences f a process.
- It focus on a variety of elements, analyzing, designing and organizing those elements into a system that
can be a product, a service, or a technology for the transformation of information or control.
Software Engg is a development strategy that encompasses the process, methods, and tools layers and
the generic phases incorporated by a team of software engineers is a process models or a software
engineering paradigm.
b) Customers see what appears to be working version of the software, unaware that the prototype is held
together “ with chewing gum and baling wire, “unware that in the rush to get it working no one has
considered overall software quality or long term maintainability
- The developer often makes implementation compromises in order to get a prototype working quickly.
Feasibility
studies
Requirement
elicitation &
Requirement
Analysis
Specification
Requirement
Validation
Feasibility
Report System
models User & Requirement
System document
Requirement
(b) Data Modeling
It answers a set of specific questions that are relevant to any data processing application?
2. What is the composition of each data object and what attributes describe the object
4. What are the relationship between each object and other objects
5. What are the relationship between the objects and the processes that transform them?
Data Object- is a representation of almost any composite information that must be understood by software.
Data Attributes- define the properties of a data object and take on one of three different characteristics.
The overall process for designing a user interface begins with creation of different models of system function.
The human and computer oriented task that are required to achieve system function are then delineated. Design
issues that apply to all interface designs are considered; tools are used to prototype and ultimately implement the
design models; the result is evaluated for quality.
Is a set of design steps that allows a DFD with transform flow characteristics to be mapped into a specific
architectural style. Example –SafeHome Security
Step 2 – Review and refine data flow diagrams for the software
Step 3- Determine whether the DFD has transform or transaction flow characteristics
Step 4 – Isolate the transform center by specifying incoming and outgoing flow boundaries.
Step 7 – Refine the first –iteration architecture using design heuristics for improved software quality.
Scheduling
Information
Interrupt Handler
Real Time Clock
Scheduler
Process Resource
Processes Requirements. Available
awaiting resource list
resources
Resource
Manager
Ready list Ready Processes Released Process Processor List
Despatcher
Executing Process
is a Software system where the correct functioning of the system depends on the result produced by the system
and time at which these results are produced.
Soft real time - It’s operation is degraded, if results are not produced according to the specified timing
requirements. Ex. Arircraft control
Hard real time – is a system whose operation is incorrect if results are not according to the specified timing
requirements. Ex. ATM, Ticket Reservation.
Senso
Senso Senso senso
r
r r r
Is a white box testing technique by Tom Mccabe. It derive a logical complexity measure of a procedural design
amd use this measure as a guide for defining a basis set of execution paths.
Is a Notation of control flow. In flow graph each circle called flow graph node, represents one or more
procedural statements. A sequence of process boxes and a decision diamond can map into single node. Arrow on
the flow graph is link or edges. An edge must terminate at a node, even if the node does not represent any
procedural statements/
2,
3
R2
1 6 4,
1 5
R1
7 R3 8 R4
9
Independent Program Paths 1
Path 1 : 1-11 0
Path 2 : 1-2-3-4-4-5-10-1-11
Path 3: 1-2-3-6-8-9-10-1-11
Path 4: 1-2-3-6-8-9-10-1-11
2. V(G)=E-N+2 E is the number of flow graph edges, N is the number of flow graph nodes.
3. V(G)=P+1
o Condition testing
o Loop Testing
Simple Loops
Nested Loops
Concatenated Loops
Unstructured Loops
16.(a) Software Configuration Management
SCM is an umbrella activity that is applied throughout the software process. Because change can occur at any
time, SCM activities are developed to
Output of process is information that may be divided into three broad categories
Baselines- Is a SCM concept that helps us to control change without seriously impending justifiable change.
IEEE- A specification or product that has been formally reviewed and agreed upon, that thereafter serves as the
basis for further development & that can be changed only through formal change control procedures.
b) Software metrics
Quality Reviews are expensive and time consuming and inevitably delay the completion of a software
system. Software measurement is concerned with deriving a numeric value for some attribute of a
software product or a software process.
Product Metrics
It concerned with characteristics of the software itself. Characteristics can be easily measured, such as
size and cyclomatic complexity.
19. What is Empirical Estimation Model & give the general structure of it?
A Typical Estimation Model is derived using Regression Analysis on data collected from past
software projects.
Structure is E = A + B x (ev)C
A, B, C ? constants
ev ? estimation variable (LOC/FP)
35. Calculate the minimum development time and effort for a CAD s/w with has
33200 lines of code and with a productivity parameter of 12,000 ,with special skill factors equals
0.28 using a s/w equation.?
Tmin= 8.14 (LOC /P) 0.43
Here LOC =33200 and P=12,000
Tmin= 8.14(33200/12000)0.43
=12.6 calendar months.
E = 180Bt3
=180 * 0.28 *(1.05)3
=58 person-months. (note : 1.05 =12.6 / 12 years)
[ Nb:For small programs with (KLOC =5 to 15) ,B=0.16 .For programs greater than 70 KLOC
,B=0.39 ].
40. If 18 components are to be developed from scratch and average component is 100 LOC ,and if
cost for each LOC is $14.00 ,with a risk probability of 80% , what is the risk exposure?
Thus RE= 0.80 * 25,200 = $20,200.
UNIT-II
3.What are the extra-functional properties a good architecture design must satisfy?
other system characteristics.
UNIT-III
1.What is an indicator ?
An indicator is a metric or combination of metrics that provide insight into the software process, a
software project or product itself. An indicator provides insight that enables the project manager or
s/w Engineer to adjust process, project
.
2.List out the uses of project indicators?
Project indicators enable a software project manager to :
- Assess the status of an ongoing project.
- Track potential risks.
- Uncover problem areas before they go “critical”.
- Adjust workflows.
- Evaluate project team’s ability to control quality of software products.
5.What is PSP?
The personal software process (PSP)is a structured set of process descriptions, measurements and
methods that can help engineers to improve their personal performance. It provides the forms ,
scripts and standards that help them to estimate and plan their work.
UNIT-IV
1. Specify the objectives of testing.
Testing is a process of executing a program with the intent finding an as yet undiscovered error.
A successful test is one that uncovers an as yet undiscovered error.
8.What is antibugging?
It is the technique to setup error handling paths and to reroute or cleanly terminate processing when
an error occurs.
9.What is regression testing?
It is the re-execution of some subset of tests that have already been capture/playback tools.