Professional Documents
Culture Documents
1000 MEQs - Software Engineering 100
1000 MEQs - Software Engineering 100
1000 MEQs
100 Qs on SOFTWARE
ENGINEERING
Most Expected Questions Course
701. The software life cycle can be said to consist of a series of phases. The
classical model is referred to as the waterfall model. Which phase defined
as “The concept is explored and refined, and the client’s requirements are
elicited?”
(A) Requirements
(B) Specification
(C) Design
(D) Implementation
701. The software life cycle can be said to consist of a series of phases. The
classical model is referred to as the waterfall model. Which phase defined
as “The concept is explored and refined, and the client’s requirements are
elicited?”
(A) Requirements
(B) Specification
(C) Design
(D) Implementation
Waterfall Model
Simple and easy to understand and use
Easy to manage due to the rigidity of the model. Each phase has specific
deliverables and a review process.
Phases are processed and completed one at a time.
Works well for smaller projects where requirements are very well understood.
Clearly defined stages.
Well understood milestones.
Easy to arrange tasks.
Process and results are well documented.
702. In the maintenance phase the product must be tested
against previous test cases. This is known as _________ testing.
(A) Unit
(B) Integration
(C) Regression
(D) Module
702. In the maintenance phase the product must be tested
against previous test cases. This is known as _________ testing.
(A) Unit
(B) Integration
(C) Regression
(D) Module
UNIT TESTING :
Individual modules are tested to determine if there are any issues by the developer
himself.
It is concerned with functional correctness of the standalone modules.
INTEGRATION TESTING :
Verify the functional, performance, and reliability between the modules that are
integrated.
MODULE TESTING
Checks individual subprograms, subroutines, classes, or procedures in a program.
Instead of testing whole software program at once, it testing the smaller building
blocks of the program.
white box oriented.
703. In the classical chief programmer team approach, the team member
responsible for maintaining the detailed design and coding is
(A) The chief programmer
(B) The programming secretary
(C) A specialized function that exists outside ‘the team’
(D) The individual coder
703. In the classical chief programmer team approach, the team member
responsible for maintaining the detailed design and coding is
(A) The chief programmer
(B) The programming secretary
(C) A specialized function that exists outside ‘the team’
(D) The individual coder
CHIEF PROGRAMMER TEAM APPROACH
1. The Chief programmer : It is the person who is actively involved in the planning,
specification and design process and ideally in the implementation process as well.
2. The project assistant : It is the closest technical co-worker of the chief programmer.
3. The project secretary : It relieves the chief programmer and all other programmers
of administration tools.
Staffing
It deals with the appoint personnel for the position that is identified by the
organizational structure.
It involves:
a) Defining requirement for personnel.
b) Recruiting , identifying, interviewing, and selecting candidates.
708. Which of the following is not a description of planning?
(A) Planning is used to find credible ways to produce results with limited
resources and limited schedule flexibility
(A) Planning is used to find credible ways to produce results with limited
resources and limited schedule flexibility
2. Logical cohesion - When logically categorized elements are put together into a module, called logical cohesion.
3. Temporal Cohesion - When elements of module are organized such that they are processed at a similar point in
time, it is called temporal cohesion.
4. Procedural cohesion - When elements of module are grouped together, which are executed sequentially in order
to perform a task, it is called procedural cohesion.
5. Communicational cohesion - When elements of module are grouped together, which are executed sequentially
and work on same data or information, it is called communicational cohesion.
6. Sequential cohesion - When elements of module are grouped because the output of one element serves as input
to another and so on, it is called sequential cohesion.
7. Functional cohesion - It is considered to be the highest degree of cohesion, and it is highly expected.Elements of
module in functional cohesion are grouped because they all contribute to a single well-defined function. It can
also be reused.
710. Which of the following items should not be included in the software
project management plan?
(A) Milestone
(B) Project function
(C) Activity
(D) Task
712. Work that continues throughout the project and does not relate to any
specific phase of software development is termed as
(A) Milestone
(B) Project function
(C) Activity
(D) Task
713. Which of the following is a life-cycle concern?
(A) Testing
(B) Portability
(C) Programming
(D) Planning
713. Which of the following is a life-cycle concern?
(A) Testing
(B) Portability
(C) Programming
(D) Planning
714. In choosing a development life-cycle model, one would consider the
It tells at what level the modules interfere and interact with each other.
The lower the coupling, the better the program.
1. Content coupling - When a module can directly access or modify or refer to the
content of another module, it is called content level coupling.
2. Common coupling- When multiple modules have read and write access to some
global data, it is called common or global coupling.
3. Control coupling- Two modules are called control-coupled if one of them decides the
function of the other module or changes its flow of execution.
4. Stamp coupling- When multiple modules share common data structure and work on
different part of it, it is called stamp coupling.
717. How does a software project manager need to act to minimize the risk
of software failure?
I. CPM
II. DRE
III. FP
IV. PERT
I. CPM
II. DRE
III. FP
IV. PERT
(A) One of the main challenges Software Engineering facing today is the
requirement of most software systems to work with a multitude
homogenous systems
(B) ‘Legacy systems’ are custom developed software systems for the legal
domain
(C) Software does not wear-out in the traditional sense of the term, but
software does tend to deteriorate as it evolves
(A) One of the main challenges Software Engineering facing today is the
requirement of most software systems to work with a multitude
homogenous systems
(B) ‘Legacy systems’ are custom developed software systems for the legal
domain
(C) Software does not wear-out in the traditional sense of the term, but
software does tend to deteriorate as it evolves
(C) The discipline is relatively new, say in comparison to bridge building that
is an activity that has millennia of practice
(D) The complexity of systems and their interaction continues faster than we
can understand it
724. What is the fundamental reason that software cannot be considered to
be engineered?
(C) The discipline is relatively new, say in comparison to bridge building that
is an activity that has millennia of practice
(D) The complexity of systems and their interaction continues faster than we
can understand it
725. What would be investigated during Requirements analysis?
(A) Compartmentalization
(B) Market assessment
(C) Time allocation
(D) Effort validation
726. Which of the following is not the guiding principle of software project
scheduling?
(A) Compartmentalization
(B) Market assessment
(C) Time allocation
(D) Effort validation
727. Which of the following interface design principles reduces the user’s
memory load?
(A) Embedded
(B) Semidetached
(C) Organic
(D) Multiplicative
728. In Intermediate COCOMO the mode that represents complex products
is referred to as
(A) Embedded
(B) Semidetached
(C) Organic
(D) Multiplicative
In Intermediate COCOMO there are three modes:
organic, semidetached and imbedded .
729. In planning a software project one would
(A) Build-and-fix
(B) Freezing
(C) Synchronization
(D) Risk analysis
731. A simple way of looking at the spiral software life-cycle model is as a
waterfall model with each phase proceeded by
(A) Build-and-fix
(B) Freezing
(C) Synchronization
(D) Risk analysis
732. Software configuration activities would not include
(A) Money
(B) Time
(C) Product quality
(D) Product quantity
737. Which of the following is not a ‘concern’ during the management of a
software project?
(A) Money
(B) Time
(C) Product quality
(D) Product quantity
738. Which of the following is not an objective for building analysis models?
a) Increased Effectiveness
b) Better Product Quality
c) Improved Staff Satisfaction
d) Reduced Costs
e) Tighter managerial control.
743. Which of the following is not viewed as a primary mover in improving
the software process?
a) Increased Effectiveness
b) Better Product Quality
c) Improved Staff Satisfaction
d) Reduced Costs
e) Tighter managerial control.
744. Which of the following is true for a thin-client?
(A) Architecture
(B) Data design
(C) Interfaces design
(D) Project scope
745. Which of the following is not an area of concern in the design model?
(A) Architecture
(B) Data design
(C) Interfaces design
(D) Project scope
746. Which is not involved in software development process?
(A) People
(B) Problem
(C) Practice
(D) Process
746. Which is not involved in software development process?
(A) People
(B) Problem
(C) Practice
(D) Process
747. Problems with using Lines of Code to measure the size of a product include(s)
(a) The creation of source code is only part of the development effort
(b) The Lines of Code (LOC) will differ between languages and cannot be
measured for some languages
(c) Should comments, data definitions etc (i.e. non-executable LOC) be included
as well?
(d) The final size (kLOC) can only be determined once the product is delivered
(e) All of the above.
747. Problems with using Lines of Code to measure the size of a product include(s)
(a) The creation of source code is only part of the development effort
(b) The Lines of Code (LOC) will differ between languages and cannot be
measured for some languages
(c) Should comments, data definitions etc (i.e. non-executable LOC) be included
as well?
(d) The final size (kLOC) can only be determined once the product is delivered
(e) All of the above.
748. How does a software project manager need to act to minimize the risk
of software failure?
1000 MEQs
100 Qs on SOFTWARE
ENGINEERING
Most Expected Questions Course
748. When to Re-Engineer?
I. When the system changes are mostly confined to part of the system then re-
engineer that part.
II. When hardware or software support becomes obsolete.
III. When tools to support re-structuring are available.
a) I & II
b) I & III
c) II & III
d) All of them
e) None of them
748. When to Re-Engineer?
I. When the system changes are mostly confined to part of the system then re-
engineer that part.
II. When hardware or software support becomes obsolete.
III. When tools to support re-structuring are available.
a) I & II
b) I & III
c) II & III
d) All of them
e) None of them
751. Legacy system is a system that is hard to maintain.
So it involves:-
1) Re-documenting the system.
2) Organizing but not re-structuring the system.
3) Modifying and upgrading structure and value of the system data.
a) 1 and 3
b) 2 and 3
c) 1 and 2
d) All of them
751. Legacy system is a system that is hard to maintain.
So it involves:-
1) Re-documenting the system.
2) Organizing but not re-structuring the system.
3) Modifying and upgrading structure and value of the system data.
a) 1 and 3
b) 2 and 3
c) 1 and 2
d) All of them
752. A company needs to develop digital signal processing software for one of
its newest inventions. The software is expected to have 40000 lines of code.
The company needs to determine the effort in person-months needed to
develop this software using the basic COCOMO model. The multiplicative
factor for this model is given as 2.8 for the software development on
embedded systems, while the exponentiation factor is given as 1.20.
What is the estimated effort in person-months?
a) 234.25
b) 932.50
c) 287.80
d) 122.40
752. A company needs to develop digital signal processing software for one of
its newest inventions. The software is expected to have 40000 lines of code.
The company needs to determine the effort in person-months needed to
develop this software using the basic COCOMO model. The multiplicative
factor for this model is given as 2.8 for the software development on
embedded systems, while the exponentiation factor is given as 1.20.
What is the estimated effort in person-months?
= 234.25
753. Which one of the following is NOT desired in a good Software
Requirement Specifications (SRS) document?
a) Functional Requirements
b) Non-Functional Requirements
c) Goals of Implementation
d) Algorithms for Software Implementation
753. Which one of the following is NOT desired in a good Software
Requirement Specifications (SRS) document?
a) Functional Requirements
b) Non-Functional Requirements
c) Goals of Implementation
d) Algorithms for Software Implementation
SOFTWARE REQUIREMENTS SPECIFICATION (SRS) DOCUMENT
A requirements specification for a software system
It is a complete description of the behavior of a system to be developed and may
include a set of use cases that describe interactions the users will have with the
software.
In addition it also contains non-functional requirements.
Non-functional requirements impose constraints on the design or implementation
such as performance engineering requirements, quality standards, or design
constraints.
754. What is the appropriate pairing of items in the two columns listing various activities
encountered in a software life cycle?
SET 1 SET 2
P. Requirements Capture 1.Module Development and Integration
Q. Design 2.Domain Analysis
R. Implementation 3.Structural and Behavioral Modeling
S. Maintenance 4.Performance Tuning
A) P-3, Q-2, R-4, S-1
B) P-2, Q-3, R-1, S-4
C) P-3, Q-2, R-1, S-4
D) P-2, Q-3, R-4, S-1
754. What is the appropriate pairing of items in the two columns listing various activities
encountered in a software life cycle?
SET 1 SET 2
P. Requirements Capture 1.Module Development and Integration
Q. Design 2.Domain Analysis
R. Implementation 3.Structural and Behavioral Modeling
S. Maintenance 4.Performance Tuning
A) P-3, Q-2, R-4, S-1
B) P-2, Q-3, R-1, S-4
C) P-3, Q-2, R-1, S-4
D) P-2, Q-3, R-4, S-1
755. Consider the following statements about the cyclomatic complexity of the control
flow graph of a program module. Which of these are TRUE?
I. The cyclomatic complexity of a module is equal to the maximum number of linearly independent
circuits in the graph.
II. The cyclomatic complexity of a module is the number of decisions in the module plus one,where
a decision is effectively any conditional statement in the module.
III. The cyclomatic complexity can also be used as a number of linearly independent paths that
should be tested during path coverage testing.
a) I and II
b) II and III
c) I and III
d) I, II and III
755. Consider the following statements about the cyclomatic complexity of the control
flow graph of a program module. Which of these are TRUE?
I. The cyclomatic complexity of a module is equal to the maximum number of linearly independent
circuits in the graph.
II. The cyclomatic complexity of a module is the number of decisions in the module plus one,where
a decision is effectively any conditional statement in the module.
III. The cyclomatic complexity can also be used as a number of linearly independent paths that
should be tested during path coverage testing.
a) I and II
b) II and III
c) I and III
d) I, II and III
756. Match the following :
SET I SET II
1) Waterfall model a) Specifications can be developed incrementally
2) Evolutionary model b) Requirements compromises are inevitable
3) Component-based c) Explicit recognition of risk software engineering
4) Spiral development d) Inflexible partitioning of the project into stages
a) Synchronization
b) Versioning and Revision history
c) Syntax highlighting
d) Project forking
758. Which one of the following is not typically provided by Source Code
Management Software ?
Syntax Highlighting
Strategy to improve the readability and
a) Synchronization context of the text; especially for code
b) Versioning and Revision history that spans several pages.
a) Waterfall
b) Musa
c) COCOMO
d) Rayleigh
759. Which of the following models used for software reliability ?
a) Waterfall
b) Musa
c) COCOMO
d) Rayleigh
Rayleigh Model COCOMO
• Predicts fault detection over the life of The constructive cost model was developed as a
the software development effort. model for estimating effort, cost, and schedule for
• This model assumes that over the life of software projects.
the project that the faults detected per
month will resemble a Raleigh curve. Waterfall Model
It is the software development life cycle model
Musa Model which depicts the phases of conception, initiation,
• Used to predict, prior to system testing, analysis, design, construction, testing, deployment
what the failure rate will be at the start and maintenance.
of system testing.
• Then later be used in the reliability
growth modelling. Musa model is also used for software
• For this prediction method, it is
reliability testing
assumed that the only thing known
about the hypothetical program is a
But
prediction of its size and the processor Rayleigh model is very popularly used with
speed. higher accuracy.
760. In unit testing of a module, it is found that for a set of test data, at the
maximum 90% of the code alone were tested with the probability of success
0.9. The reliability of the module is
1. 100%
2. 10
3. 1
4. 100
a) 1 or 4
b) 1 or 3
c) Only 2
d) Only 3
e) All of the above
761. Maximum possible value of reliability is
1. 100%
2. 10
3. 1
4. 100
a) 1 or 4
b) 1 or 3
c) Only 2
d) Only 3
e) All of the above Max possible reliability is 1 or 100 %
762. Which of the following is used for extending the UML language ?
a) Backward compatibility
b) Stereotype
c) Software metrics
d) All of them
762. Which of the following is used for extending the UML language ?
a) Backward compatibility
b) Stereotype
c) Software metrics There are three type of stereotypes :
d) All of them 1. An boundary often represent a user interface (GUI).
2. A controller is responsible for representing the
business logic between boundary and data entity.
3. An entity is a data object or persistent data object.
763. Which of the follwoing is carried out to port the existing software to a new
environment ?
a) Corrective maintenance
b) Adaptive maintenance
c) Perfective maintenance
d) Preventive maintenance
763. Which of the following is carried out to port the existing software to a new
environment ?
a) Corrective maintenance
b) Adaptive maintenance
c) Perfective maintenance
d) Preventive maintenance
764. A software design is highly modular if cohesion is ________ and coupling is
_____________
a) ONLY S1
b) ONLY S2
c) BOTH
d) NONE
766. Consider the statements :
a) ONLY S1
b) ONLY S2
c) BOTH
d) NONE
767. Which of the following is the tools to automate many tasks of SDLC ?
1. Use Case
2. Class Diagram
3. Analysis Diagram
4. Swimlane Diagram
a) 1, 2 and 3
b) 1, 2 and 4
c) 2, 3 and 4
d) Only 1 and 2
e) All of them
768. Which of the following is/are a UML DIAGRAM?
1. Use Case
2. Class Diagram
3. Analysis Diagram
4. Swimlane Diagram
a) 1, 2 and 3
b) 1, 2 and 4
c) 2, 3 and 4
d) Only 1 and 2
e) All of them
769. figure represents which one of the following UML diagram for a single send
session of an online chat system?
c) Both Disadvantages:
Expensive
d) None Company doesn't own the system when the agreement
771. Consider the statements:
1. Warnier/Orr Diagram is a kind of hierarchical flowchart that allows the
description of the organization of data and procedures.
2. Warnier/Orr Diagram enables analyst to represent information hierarchy in
a detailed manner.
a) 3
b) 4
c) 5
d) 6
772. The Cyclomatic Complexity metric V(G) of the following
control flow graph :
a) 3
b) 4
c) 5
d) 6
773. Consider the statements about Pareto Analysis :
a) Verification
b) Validation
c) Maintenance
d) Modeling
775. Activities which ensure that the software that has been built, is traceable
to customer requirement is covered as part of
a) Verification
b) Validation
c) Maintenance
d) Modeling
776. Which statement(s) is/are CORRECT about verification ?
a) Only 1
b) Only 2
c) Both
d) None
776. Which statement(s) is/are CORRECT about verification ?
a) Only 1
b) Only 2
c) Both
d) None
776. Which statement(s) is/are CORRECT about verification ?
a) Only 1
b) Only 2
c) Both
d) None
776. Which statement(s) is/are CORRECT about verification ?
a) Only 1
b) Only 2
c) Both
d) None
777. Requirements elicitation consists of :
1) Requirements prioritisation
2) Requirements negotiation
a) Only 1
b) Only 2
c) Both
d) None
777. Requirements elicitation consists of :
1) Requirements prioritisation
2) Requirements negotiation
a) Only 1
b) Only 2 Requirements Elicitation Methods
a) Interviews
c) Both b) Brainstorming Sessions
c) Facilitated Application Specification Technique (FAST)
d) None
d) Quality Function Deployment (QFD)
e) Use Case Approach
778. Mutation testing is a fault simulation technique. In this technique,
a) The fault is introduced in the program by creating the mutant of the actual program.
b) Mutant programs are the version of the actual program.
When the testing is performed on actual program and its mutant program with the same test cases
than the actual program and mutant program should generate at least one different output which
leads the mutant program to get failed and show the effectiveness of the test cases.
779. If a program P calls two subprograms P1 and P2 and P1 can fail 50% of the
time and P2 can fail 40% of the time, what is the failure rate of program P
a) 50%
b) 60%
c) 70%
d) 10%
779. If a program P calls two subprograms P1 and P2 and P1 can fail 50% of the
time and P2 can fail 40% of the time, what is the failure rate of program P
while (m < n)
if (x > y ) and (a < b) then
a=a+1
y=y-1
end if
m=m+1
end while
Cyclomatic Complexity = e − n + 2p
Where,
e = total number of edges in the graph.
n = total number of nodes in the graph.
p = total number of connected components.
while (m < n)
if (x > y ) and (a < b) then
a=a+1
y=y-1
end if
m=m+1
end while
a) Only 1 & 3
b) Only 2 & 4
c) Only 2
d) Only 3
e) None of them
785. There are 2 types of quality of software products named as internal and
external quality. Which one of the following is INCORRECT about quality of
software product types ?
a) Only 1 & 3
b) Only 2 & 4
c) Only 2
d) Only 3 Maintainability and Reusability are internal
e) None of them qualities of software product.
External qualities of a software product:
1) Correctness
2) Reliability
3) Robustness
4) Efficiency
5) Usability
1) Maintainability
2) Reusability
3) Portability
4) Interoperability
786. Generally, process models end when software is __________ and in case of
spiral model stops when the software product is __________
a) expired, delivered
b) delivered, expired
c) delivered, retired
d) retired, risk analysis completed
786. Generally, process models end when software is __________ and in case of
spiral model stops when the software product is __________
a) expired, delivered
b) delivered, expired
c) delivered, retired
d) retired, risk analysis completed
787. Which of the following divides the development process into four distinct
phases named as business modeling, analysis and design, implementation,
testing, and deployment ?
a) Only 1 and 2
b) Only 2 and 3
c) Only 1 and 3
d) All of them
788. Software safety is quality assurance activity.
Which statement(s) is/are CORRECT about Software safety?
1) Software safety focuses on hazards that may cause an entire system to fail.
2) It is related to marketing or input errors or affection of reliability.
3) If system fails all things related to system will be affected.
a) Only 1 and 2
b) Only 2 and 3
c) Only 1 and 3 It is not related to marketing or input errors or
d) All of them affection of reliability.
789. MATCH THE FOLLOWING :
a) 4
b) 5
c) 6
d) 7
790. What is the cyclomatic complexity of a module
which has seventeen edges and thirteen nodes?
a) 4
When a Control-flow graph is given,
b) 5 The Cyclomatic Complexity of a graph
= e − n + 2p
c) 6
d) 7 The given graph has:
e = 17, n = 13 and p = 1
a) 1 and 2
b) Only 2
c) Only 3
d) 2 and 3
e) All of them
791. Which of the following statement(s) is/are TRUE about data coupling ?
1. It is the strongest coupling.
2. It is most desirable coupling in a software.
3. It is having low degree of coupling which is not good for a software.
a) 1 and 2
b) Only 2
DATA COUPLING
c) Only 3 1. It is the weakest coupling.
2. It is most desirable coupling in a software.
d) 2 and 3 3. It is having low degree of coupling which is
e) All of them good for a software.
792. ERP automates and integrates majority of business processes which is
expensive to implement. It provides access to information in a Real Time
Environment.
Which of the following is FALSE regarding ERP ?
a) 1, 2 and 3
b) Only 1 and 2
c) Only 2 and 3
d) Only 1 and 3
e) None of these
792. ERP automates and integrates majority of business processes which is
expensive to implement. It provides access to information in a Real Time
Environment.
Which of the following is FALSE regarding ERP ?
a) 1, 2 and 3
b) Only 1 and 2
c) Only 2 and 3
d) Only 1 and 3
e) None of these
793. No doubt that data is integrated within the system in ERP, but
a) 28
b) 175
c) 56
d) 84
794. Consider a software program that is artificially seeded with 100 faults. While testing
this program, 159 faults are detected, out of which 75 faults are from those artificially
seeded faults. Assuming that both real and seeded faults are of same nature and have
same distribution, the estimated number of undetected real faults is ____________.
a) 28
b) 175 Total faults detected = 159
Real faults detected among all detected faults = 159 - 75 = 84
c) 56
Since probability distribution is same,
d) 84 Total number of real faults is (100/75)*84 = 112
Undetected real faults = 112- 84 = 28
METHOD 1
METHOD 2
75% of faults are detected because 75 artificially seeded faults are detected out of 100.
Given that the total faults detected = 159
Real faults detected among all detected faults = 159 – 75= 84
Since probability distribution is same, total number of real faults is (100/75)*84 = 112
Therefore undetected real faults = 112-84 = 28.
795. In a software project, COCOMO Model is used to estimate ____________
a) effort and duration based on the size of the software
b) size and duration based on the effort of the software
c) effort and cost based on the duration of the software
d) size, effort and duration based on the cost of the software
795. In a software project, COCOMO Model is used to estimate ____________
a) effort and duration based on the size of the software
b) size and duration based on the effort of the software
c) effort and cost based on the duration of the software
d) size, effort and duration based on the cost of the software
a) 1 and 2
b) 1 and 3
c) Only 2
d) Only 3
e) All of them
800. Which of the following is NOT TRUE about Use Case Approach ?
a) 1 and 2
b) 1 and 3
c) Only 2
d) Only 3 The use cases describe the ‘what’, of a system
e) All of them and not ‘how’.