Professional Documents
Culture Documents
NPTEL SE Model Question Paper Set 2
NPTEL SE Model Question Paper Set 2
Question : 4 Function point analysis (FPA) method decomposes the system into functional
units. The total number of functional units are
A. 2
B. 5
C. 4
D. 1
1
NPTEL Software Engineering Model Question Paper SET 2
2
NPTEL Software Engineering Model Question Paper SET 2
Question : 17 In COCOMO model, if project size is typically 2-50 KLOC, then which mode is
to be selected?
A. Organic
B. Semidetached
C. Embedded
D. None of the above
3
NPTEL Software Engineering Model Question Paper SET 2
Question : 27 A system that does not interact with external environment is called
A. Closed system
B. Logical system
C. Open system
D. Hierarchal system
Question : 29 When two modules refer to the same global data area, they are related as
A. External coupled
4
NPTEL Software Engineering Model Question Paper SET 2
B. Data coupled
C. Content coupled
D. Common coupled
Question : 30 The module in which instructions are related through flow of control is
A. Temporal cohesion
B. Logical cohesion
C. Procedural cohesion
D. Functional cohesion
Question : 31 The extent to which different modules are dependent upon each other is called
A. Coupling
B. Cohesion
C. Modularity
D. Stability
5
NPTEL Software Engineering Model Question Paper SET 2
c) Modularity
d) Polymorphism
Question : 37 What is a data flow diagram (DFD) used for in Function-Oriented Design?
a) To represent the flow of control in a program
b) To visualize the data flow between different software modules
c) To show the user interface layout
d) To document the code implementation details
Question : 43 In top-down design, which of the following represents the initial focus of design
efforts?
a) Detailed algorithms and coding.
b) Subsystems and high-level modules.
6
NPTEL Software Engineering Model Question Paper SET 2
Question : 44 Which design approach is more suitable for complex systems where the overall
architecture is not well-defined initially?
a) Top-down design.
b) Bottom-up design.
c) Both approaches are equally suitable.
d) Neither approach is suitable for complex systems.
7
NPTEL Software Engineering Model Question Paper SET 2
8
NPTEL Software Engineering Model Question Paper SET 2
d) Procedural cohesion.
Question : 60 What is "functional cohesion" in software design?
a) It refers to modules that perform a single, well-defined task.
b) It describes modules that have no clear purpose or organization.
c) It represents modules that contain unrelated functions.
d) It is a measure of how often a module is used in the program.
Question : 61 In software design, what is meant by "temporal cohesion"?
a) Modules perform tasks that are related in time, such as initialization and cleanup.
b) Modules are organized based on the order they were written.
c) Modules are organized based on their file location.
d) Modules are cohesive due to their common use of global variables.
Question : 62 Which of the following is an example of "sequential cohesion"?
a) Module A contains functions related to file I/O, and Module B contains functions related to
database operations.
b) Module A contains functions related to data processing, and Module B contains functions
related to user interface.
c) Module A and Module B contain functions that are executed one after the other.
d) Module A contains functions related to mathematical calculations, and Module B contains
functions for generating reports.
Question : 63 Why is maximizing cohesion important in software design?
a) It simplifies the code and makes it more readable.
b) It reduces the likelihood of bugs and makes the code easier to maintain.
c) It increases the amount of code that can be reused.
d) It allows for better distribution of code across multiple files.
Question : 64 What is the primary purpose of using design notation in software engineering?
a) To create colorful and visually appealing diagrams.
b) To provide a standardized and precise way of representing design concepts.
c) To write code directly without the need for documentation.
d) To simplify the design process by using natural language.
Question : 65 Which design notation is commonly used for representing the structure of a
system's classes and their relationships in object-oriented design?
a) UML (Unified Modeling Language)
b) ERD (Entity-Relationship Diagram)
c) DFD (Data Flow Diagram)
d) IDEF0 (Integrated Definition for Function Modeling)
Question : 66 In UML (Unified Modeling Language), what does a solid line with a filled
arrowhead indicate in a class diagram?
a) Inheritance or generalization relationship.
b) Composition relationship.
c) Aggregation relationship.
d) Dependency relationship.
Question : 67 Which type of diagram in UML is used to represent the dynamic behavior of a
system by showing the interactions between objects or components?
a) Class diagram
9
NPTEL Software Engineering Model Question Paper SET 2
b) Sequence diagram
c) Use case diagram
d) State diagram
Question : 68 What does a rectangle in an Entity-Relationship Diagram (ERD) represent?
a) A relationship between entities.
b) An attribute of an entity.
c) An entity or table.
d) A link to external data sources.
Question : 69 Which design notation is commonly used to model data flow within a system and
how data is transformed from one process to another?
a) UML (Unified Modeling Language)
b) ERD (Entity-Relationship Diagram)
c) DFD (Data Flow Diagram)
d) IDEF0 (Integrated Definition for Function Modeling)
Question : 70 In a Data Flow Diagram (DFD), what does a rounded rectangle symbolize?
a) A data store or repository.
b) A process or function.
c) A data flow or data transfer.
d) An external entity.
Question : 71 What is the primary purpose of design specifications in software engineering?
a) To describe the physical appearance of the user interface.
b) To document the complete source code for the software.
c) To provide detailed information about how the software should be designed and built.
d) To list the names of the project team members.
Question : 72 What is the primary goal of Structured Design Methodology in software
engineering?
a) To create a visually appealing user interface.
b) To develop detailed code.
c) To provide a systematic approach to designing and building software.
d) To ensure rigorous testing of the software.
Question : 73 In Structured Design, what is the purpose of a Data Flow Diagram (DFD)?
a) To represent the flow of control in a program.
b) To visualize the user interface design.
c) To depict the flow of data and information between different components of a system.
d) To document the code implementation details.
Question : 74 Which of the following is a key concept in Structured Design Methodology?
a) Object-oriented programming.
b) Flowcharts.
c) Modularity and decomposition.
d) Database normalization.
Question : 75 What is the primary purpose of a Structure Chart in Structured Design?
a) To illustrate the user interface layout.
b) To provide a detailed algorithm for a specific function.
c) To represent the hierarchy and organization of software modules.
10
NPTEL Software Engineering Model Question Paper SET 2
11
NPTEL Software Engineering Model Question Paper SET 2
12
NPTEL Software Engineering Model Question Paper SET 2
13
NPTEL Software Engineering Model Question Paper SET 2
d) System metrics.
Question : 100 What is the purpose of using "code complexity metrics" in software
development?
a) To measure the complexity of the software development process.
b) To identify bugs in the code.
c) To assess the complexity of the source code, which may affect maintainability and quality.
d) To calculate the project budget.
Question : 101 Which of the following is a commonly used software metric for code size in
lines of code (LOC)?
a) McCabe's Cyclomatic Complexity.
b) Halstead's Software Science.
c) Function Points.
d) LOC.
Question : 102 What does "defect density" refer to in software metrics?
a) The number of defects in a software project relative to the project's size or lines of code.
b) The number of developers assigned to a project.
c) The complexity of the software.
d) The percentage of project milestones completed.
Question : 103 Which type of software metric measures the amount of time it takes to complete
a specific task or project?
a) Product metrics.
b) Process metrics.
c) System metrics.
d) Project metrics.
Question : 104 What is the primary goal of "function points" as a software metric?
a) To measure the complexity of the source code.
b) To estimate the effort required to develop a software system.
c) To identify security vulnerabilities.
d) To assess the quality of the user interface.
Question : 105 In software development, what does "COCOMO" stand for?
a) Comprehensive Code Modeling.
b) Constructive Cost Model.
c) Code Complexity Measurement.
d) Complexity of Compiled Objects.
Question : 106 Which software metric is used to evaluate the maintainability and readability of
source code?
a) Halstead's Software Science.
b) McCabe's Cyclomatic Complexity.
c) Code coverage.
d) Code readability index.
Question : 107 In the context of software metrics, what is "software quality"?
a) The number of lines of code in the software.
b) The extent to which software meets its requirements and user expectations.
c) The cost of the software development project.
14
NPTEL Software Engineering Model Question Paper SET 2
Answers:
1. D
2. C
3. D
4. B
5. C
6. B
7. D
8. A
9. B
10. A
11. B
12. D
13. B
14. C
15. C
16. D
17. A
18. B
19. D
20. B
21. A
22. C
23. B
24. B
25. C
26. C
27. A
28. A
29. D
30. A
31. A
32. A
33. C
15
NPTEL Software Engineering Model Question Paper SET 2
16
NPTEL Software Engineering Model Question Paper SET 2
76. b) Beginning with the overall system and breaking it down into smaller components.
77. c) Modularity.
78. a) The degree to which modules are closely related in terms of their functionality.
79. a) The degree of interdependence between modules.
80. d) To provide a structured way to represent different conditions and their outcomes.
81. c) Flowchart.
82. c) Describing the detailed design of each module, including input, processing, and output.
83. b) A review process to ensure that the design conforms to the standards and is logically
sound.
84. c) To provide a high-level, human-readable representation of the program's logic.
85. a) Encapsulation.
86. c) Structured Analysis.
87. b) To define the project scope and objectives.
88. c) To establish clear, measurable goals for the project.
89. b) To maintain a high level of team morale throughout the project.
90. a) Specific, Measurable, Achievable, Realistic, Timely.
91. d) Alignment with organizational strategy.
92. b) The project manager ensures that project objectives are met by overseeing the project's
execution.
93. c) Risk management.
94. b) Resource management.
95. b) "Reduce customer support response times by 25% within six months."
96. b) They provide a framework for monitoring and measuring project progress.
97. c) To quantify and measure various aspects of the software development process and the
resulting software products.
98. c) System metrics.
99. a) Product metrics.
100. c) To assess the complexity of the source code, which may affect maintainability and
quality.
101. d) LOC.
102. a) The number of defects in a software project relative to the project's size or lines of
code.
103. d) Project metrics.
104. b) To estimate the effort required to develop a software system.
105. b) Constructive Cost Model.
106. d) Code readability index.
107. b) The extent to which software meets its requirements and user expectations.
108. b) To calculate the time and resources required to complete a software project.
17