All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 06 · MOCK TEST

Mock 3 – Requirements & Software Design (Part 1)

Unit 6: Software Engineering · 24 questions · about 28 minutes. Press End Mock any time to see your score and the correct answers.

All 15 topic-wise mocks in this unit
0 / 24 answered 00:00
Q1.
Mr X designed open source software which must comply with some criteria. Choose the false statement in respect of above.
(A) No restriction on redistribution of the software as part or whole
(B) The integrity of the author's source code must be maintained.
(C) The software can be sold after distribution.
Q2.
Match List (I) with List (II):
List I
A. Product Complexity
B. Structured System Analysis
C. Coupling & cohesion
D. Symbolic Execution
List II
I. System Requirements Design
II. Software design
III. Validation techniques
IV. Software cost estimation
Choose the correct answer from the options given below:
Q3.
Statement I: "Quality control involves the series of inspections, reviews and tests used throughout the software process, to ensure each work product meets the requirements placed upon it."
Statement II: "Quality assurance consists of auditing and reporting functions of management."
In the light of the above statements, choose the correct answer:
Q4.
Which of the following are the reasons for software re-engineering?
P: Allow legacy software to quickly adapt to the changing requirements.
Q: Upgrade to newer technologies/platforms/paradigm (for example, object-oriented).
R: Improve software maintainability.
S: Allow change in the functionality and architecture of the software.
Q5.
Consider the following statements:
P: Refactoring is the process of changing a software system in such a way that it does not alter the external behaviour of the code yet improves the internal architecture.
Q: An example of refactoring is adding new features to satisfy a customer requirement discovered after a project is shipped.
Which of the above statements is/are true?
Q6.
________ is intended to show that a system both conforms to its specifications and meets the expectations of the system customer.
Q7.
Software validation mainly checks for inconsistencies between:
Q8.
If S1 is the total number of modules defined in the program architecture, and S3 is the number of modules whose correct function depends on prior processing, then the number of modules not dependent on prior processing is:
Q9.
Which design metric is used to measure the compactness of the program in terms of lines of code?
Q10.
The steps for analysis and design of object oriented system:
(A) Draw interaction diagrams
(B) Draw state chart and object diagram
(C) Draw use case and activity diagram
(D) Draw component and deployment diagram
(E) Draw class diagram
Q11.
Given below are two statements:
Assertion A: Cohesion is a qualitative indication of the degree to which a module can be written more compactly and is able to complete its function in a timely manner.
Reason R: Cohesion is a qualitative indication of the degree to which a module is connected to other modules and the outside world.
In the light of the above statements, choose the correct answer from the options given below:
Q12.
Modules X and Y operate on the same input and output, then the cohesion is
Q13.
Arrange the following types of Cohesion from best to worst type.
A. Logical Cohesion
B. Sequential Cohesion
C. Communication Cohesion
D. Temporal Cohesion
E. Procedural Cohesion
Choose the correct answer from the options given below:
Q14.
Which of the following UML diagrams has a static view?
Q15.
Which of the following statements is/are TRUE?
P: In software engineering, defects that are discovered earlier are more expensive to fix.
Q: A software design is said to be a good design, if the components are strongly cohesive and weakly coupled.
Select the correct answer from the options given below:
Q16.
Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect to module coupling?
P: Common Coupling occurs when two modules share the same global data.
Q: Control Coupling occurs when modules share a composite data structure and use only part of it.
R: Content Coupling occurs when one module modifies or relies on the internal working of another module.
Q17.
Match each UML diagram in List-I with the appropriate description in List-II:
List-I
(a) State Diagram
(b) Use-Case Diagram
(c) Class Diagram
(d) Activity Diagram
List-II
(i) Describes how the external entities (people, devices) can interact with the system
(ii) Used to describe the static or structural view of a system
(iii) Used to show the flow of a business process, the steps of a use-case or the logic of an object behaviour
(iv) Used to describe the dynamic behaviour of objects and could also be used to describe the entire system behaviour
Q18.
Coupling is a measure of the strength of the interconnections between software modules. Which of the following are correct statements with respect to module coupling?
P: Common coupling occurs when one module controls the flow of another module by passing it information on what to do.
Q: In data coupling, the complete data structure is passed from one module to another through parameters.
R: Stamp coupling occurs when modules share a composite data structure and use only parts of it.
Q19.
A software design pattern often used to restrict access to an object is:
Q20.
Consider the following statements regarding software architecture:
S1: Coupling is a measure of how well the things grouped together in a module belong together logically.
S2: Cohesion is a measure of the degree of interaction between software modules.
S3: If coupling is low and cohesion is high then it is easier to change one module without affecting others.
Which of the following is true?
Q21.
A software design pattern used to enhance the functionality of an object at run-time is:
Q22.
Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
Q23.
The design concept 'Refinement' is a:
Q24.
A software design is highly modular if: