Software Engineering
Software Engineering
Deemed University
(Declared under Distinct Category by Ministry of Education, Government of India)
NAAC Accredited with A++ Grade
Note:
i. Attempt 25 questions
ii. Each questions carry 1 marks
1) What is the primary purpose of a Software Requirements Specification (SRS) document?
a) To describe the design of the system
b) To define the user interface
c) To describe the system's behavior and functions
d) To outline the code structure
SECTION B
Note:
i. Attempt 10 questions
ii. Each question carry 1.5 marks
1) Level-0 DFD is also known as?
a) Data Diagram
b) Flow Graph
c) Context Diagram
d) Entity Diagram
2) Select the correct order (worst to best) for different types of software module cohesion:
a) Logical Cohesion, Sequential Cohesion, Temporal Cohesion, Communicational Cohesion
b) Temporal Cohesion, Logical Cohesion, Communicational Cohesion, Sequential Cohesion
c) Logical Cohesion, Temporal Cohesion, Communicational Cohesion, Sequential Cohesion
d) Temporal Cohesion, Logical Cohesion, Sequential Cohesion, Communicational Cohesion
3) What is the primary purpose of UML (Unified Modeling Language) in software design?
a) Writing code
b) Executing programs
c) Debugging software
d) Communicating design ideas
4) What is the basic equation of the COCOMO model?
a) E = a * (KLOC)^b
b) E = a * (KLOC)^b * (COCOMO factor)
c) E = a * (KLOC)^b / (COCOMO factor)
d) E = a / (KLOC)^b * (COCOMO factor)
5) Minimum value of a cyclomatic complexity for a program can be:
a) 0
b) 1
c) -1
d) 10
6) What is the primary purpose of unit testing?
a) To test the integration of different software components.
b) To test the system as a whole.
c) To test individual units or components of the software in isolation.
d) To test the software's performance under load.
7) What is the primary goal of software configuration management?
a) To ensure that the software meets user requirements.
b) To track changes to the software and control the development process.
c) To identify and fix defects in the software.
d) To optimize the performance of the software.
8) Which of the following is NOT a software testing technique?
a) Validation testing
b) Black-box testing
c) Unit testing
d) Alpha testing
9) What does the term "scalability" refer to in software engineering?
a) The ability of software to adapt to changing environments
b) The ability of software to handle increasing workloads
c) The ability of software to recover from failures
d) The ability of software to maintain high performance
10) Which of the following is a characteristic of object-oriented programming?
a) Encapsulation
b) Spaghetti code
c) Procedural programming
d) Linear programming
SECTION C
Note:
i. Attempt 5 questions
ii. Each question carry 2 marks
1) A software project is estimated to have a size of 500 KLOC (Kilo Lines of Code). The project falls
into the "Semi-detached" category. Calculate the Effort in Person-Months using the Basic COCOMO
model.
a) 3126
b) 1637
c) 6238
d) 6832
2) "Consider the following program module.
while (x!=y){
if(x>y)
x=x-y,
else y=y-x;
return x;
a) 4
b) 3
c) 2
d) 1
3) A simple stand-alone software utility is to be developed in 'C' programming by a team of software
experts for a computer running Linux and the overall size of this software is estimated to be 25,000
lines of code. Considering (a,b)=(2.4,1.05) as multiplicative and exponention factor for the Basic
COCOMO effort estimation equation and (c,d)=(2.5, 0.38) as multiplicative and exponention factor
for the Basic COCOMO development time estimation equation, approximately how long does the
software project take to complete?
a) 9.52 Months
b) 10.52 Months
c) 11.52 Months
d) 12.52 Months
4) A software project was estimated to have 33,200 LOC, with an average productivity of 620
LOC/person-month, then the total effort needed to complete the project is:
a) 54 person-month
b) 53 person-month
c) 19 person-month
d) 18 person-month
5) How is cyclomatic complexity calculated using a flow graph?
a) Predicate Nodes+1
b) Predicate Nodes-1
c) 1-Predicate Nodes
d) 1+Predicate Nodes
ANSWER KEYS:
Section A Section B Section C
Question No. Answer Question No. Answer Question No. Answer
1. C 1 C 1 A
2. C 2 C 2 B
3. D 3 D 3 D
4. B 4 A 4 A
5. C 5 B 5 A
6. D 6 C - -
7. D 7 B - -
8. A 8 A - -
9. A 9 B - -
10. A 10 A - -
11. D - - - -
12. C - - - -
13. D - - - -
14. C - - - -
15. A - - - -
16. D - - - -
17. D - - - -
18. C - - - -
19. A - - - -
20. A - - - -
21. B - - - -
22. B - - - -
23. D - - - -
24. C - - - -
25. D - - - -