SE-Practice MCQ
SE-Practice MCQ
(D) No testing
31 What is the first step in Requirements Engineering?
(A) Requirements Specification
(B) Requirements Analysis
(C) Requirements Elicitation ✅
(D) Requirements Validation
32 Which of the following is NOT a requirement type?
(A) Functional
(B) Non-functional
(C) Business
(D) Waterfall ✅
33 Which of the following is a functional requirement?
(A) Security standards
(B) System should process customer orders ✅
(C) Response time should be less than 2 seconds
(D) User interface should be simple
34 Non-functional requirements focus on:
(A) What the system should do
(B) How the system should perform ✅
(C) Implementation details
(D) Database design
Which of the following is NOT a requirement gathering
35
technique?
(A) Interviews
(B) Surveys
(C) Prototyping
(D) Testing ✅
36 What is the purpose of requirements validation?
(A) Ensure requirements are correct and complete ✅
(B) Convert requirements into design
(C) Implement requirements in software
(D) Ignore conflicting requirements
37 What is scope creep in requirements engineering?
(A) Keeping project requirements fixed
(B) Uncontrolled changes in project requirements ✅
(C) A type of validation technique
(D) A database design issue
38 What is the result of the requirements engineering process?
(A) Software code
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(C) A triangle
(D) A hexagon
161 Which of the following is NOT a part of a UML class diagram?
(A) Class name
(B) Attributes
(C) Methods
(D) Flowchart ✅
162 What relationship in a class diagram represents inheritance?
(A) Aggregation
(B) Association
(C) Generalization ✅
(D) Dependency
163 Which of the following is an example of aggregation in UML?
(A) A car and its wheels ✅
(B) A student and a classroom
(C) A function calling another function
(D) A variable storing data
What type of relationship is represented by a solid line with a
164
filled diamond in UML?
(A) Association
(B) Aggregation
(C) Composition ✅
(D) Dependency
165 What does a "+" sign in a class diagram indicate?
(A) Private attribute
(B) Public attribute ✅
(C) Protected attribute
(D) Static attribute
166 What is an interface in UML class diagrams?
(A) A type of class with only abstract methods ✅
(B) A specific instance of a class
(C) A database structure
(D) A data type
167 In UML, how do we represent a private attribute?
(A) +
(B) - ✅
(C) #
(D) *
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(C) A class
(D) A data structure
176 What symbol is used to represent a use case?
(A) Rectangle
(B) Oval ✅
(C) Diamond
(D) Arrow
What relationship is used when one use case depends on
177
another?
(A) Association
(B) Inheritance
(C) Include ✅
(D) Aggregation
What does the "extend" relationship indicate in a Use Case
178
Diagram?
(A) That one use case is a specialized version of another ✅
(B) That a use case is a mandatory part of another
(C) That the system has a class hierarchy
(D) That actors inherit roles
179 How is an "include" relationship represented?
(A) A solid line
(B) A dashed arrow labeled "<<include>>" ✅
(C) A bold arrow
(D) A line with a triangle
180 What is the purpose of an "include" relationship?
(A) To show optional behavior
(B) To represent behavior that must always happen ✅
(C) To show the inheritance of actors
(D) To define the flow of a program
If a use case is optional and occurs under certain conditions,
181
which relationship should be used?
(A) Include
(B) Extend ✅
(C) Association
(D) Aggregation
182 In a Use Case Diagram, what does a system boundary represent?
(A) The division between actors and use cases ✅
(B) The flow of data
(C) The hardware used
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(B) Strategy ✅
(C) TCP/IP
(D) MVC
241 What does a Factory Method pattern do?
(A) Produces HTML reports
(B) Creates objects without specifying the exact class ✅
(C) Manages SQL queries
(D) Encrypts user data
242 The Strategy Pattern is used to...
(A) Encrypt passwords
(B) Implement multiple algorithms interchangeably ✅
(C) Handle database connections
(D) Format strings
243 Which of the following defines "Pattern Format"?
(A) The programming syntax of a pattern
(B) Standard format used to document a pattern ✅
(C) The source code
(D) The UML diagram
Which of the following fields is NOT part of the standard design
244
pattern format?
(A) Name
(B) Intent
(C) Drawbacks ✅
(D) Structure
245 What does the “Context” refer to in Strategy Pattern?
(A) Algorithm
(B) Interface
(C) Class that uses a Strategy ✅
(D) Object returned by Factory
246 In Factory Method, what role does the “Creator” class play?
(A) It stores data
(B) It declares the factory method ✅
(C) It handles UI
(D) It manages the database
Why is Strategy Pattern preferred over multiple if-else
247
conditions?
(A) It is faster in runtime
(B) It improves readability and maintainability ✅
(C) It avoids inheritance
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(C) LoadRunner ✅
(D) TestNG
317 Integration testing is best suited for:
(A) White-box testing
(B) Grey-box testing ✅
(C) Black-box testing
(D) Usability testing
318 Who usually performs integration testing?
(A) End users
(B) Business analysts
(C) Developers and testers ✅
(D) HR team
319 Which of these types of errors is commonly found during
integration testing?
(A) Syntax errors
(B) Missing module errors
(C) Interface mismatches ✅
(D) Requirement gaps
320 What is the main purpose of system testing?
(A) To test individual modules
(B) To test system performance
(C) To test the complete integrated system ✅
(D) To fix bugs
321 System testing is typically performed:
(A) Before unit testing
(B) After integration testing ✅
(C) Before integration testing
(D) After acceptance testing
322 System testing focuses on:
(A) Testing internal logic
(B) Testing user interface only
(C) Testing the whole system behavior ✅
(D) Testing database performance only
323 Which type of testing is NOT part of system testing?
(A) Performance testing
(B) Load testing
(C) Unit testing ✅
(D) Stress testing
324 Which team typically performs system testing?
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(A) Developers
(B) Independent QA team ✅
(C) End users
(D) Project managers
325 System testing is a type of:
(A) Black box testing ✅
(B) White box testing
(C) Unit testing
(D) Debugging
326 Which of the following is checked during system testing?
(A) Only code correctness
(B) Complete functionality ✅
(C) Only GUI
(D) Only input validation
327 Which test is conducted before system testing?
(A) Acceptance testing
(B) Integration testing ✅
(C) Regression testing
(D) Security testing
328 Which testing verifies the software meets business
requirements?
(A) System testing ✅
(B) Unit testing
(C) Code testing
(D) Syntax testing
329 Which of the following is NOT a system testing type?
(A) Regression testing
(B) Usability testing
(C) Stress testing
(D) White box testing ✅
330 What is the key input for system testing?
(A) User stories
(B) SRS (Software Requirement Specification) ✅
(C) Test Plan
(D) Source code
331 Which testing includes end-to-end scenarios?
(A) Unit testing
(B) System testing ✅
(C) Code walkthrough
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(A) Development
(B) Live production
(C) Staging / UAT environment ✅
(D) Debugger
356 Acceptance testing is usually:
(A) Black-box testing ✅
(B) White-box testing
(C) Code inspection
(D) Performance-only testing
357 The final phase of testing before release is:
(A) Unit testing
(B) Regression testing
(C) Acceptance testing ✅
(D) Integration testing
358 What is verified during acceptance testing?
(A) Architecture
(B) Business requirements ✅
(C) Test cases
(D) Algorithms
359 Which type of testing is acceptance testing closely related to?
(A) Integration
(B) Usability ✅
(C) Stress
(D) Static
360 What is the main objective of validation testing?
(A) To check internal code logic
(B) To verify software requirements are met ✅
(C) To identify syntax errors
(D) To optimize performance
361 Validation testing ensures:
(A) Code is compiled correctly
(B) Software meets design specifications
(C) User requirements are fulfilled ✅
(D) Functions are integrated
362 Validation testing is primarily:
(A) White-box testing
(B) Black-box testing ✅
(C) Structural testing
(D) Debug testing
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(B) Complete
(C) Random ✅
(D) Unit
387 When should regression testing be avoided?
(A) Never — it's always useful ✅
(B) After initial development
(C) For critical modules
(D) Before UAT
388 Regression testing helps in:
(A) Project planning
(B) Finding new defects due to changes ✅
(C) Compiling source code
(D) Performance enhancement
389 Regression testing is part of:
(A) Verification
(B) Validation ✅
(C) Deployment
(D) Compilation
390 What is smoke testing?
(A) Testing for fire safety
(B) Initial testing to check basic functionality ✅
(C) Final testing before deployment
(D) Security testing
391 Smoke testing is also known as:
(A) Unit testing
(B) Surface testing
(C) Build verification testing ✅
(D) Black box testing
392 Smoke testing is done:
(A) After every change
(B) After the build is deployed ✅
(C) Only in production
(D) Once per project
393 Smoke tests are usually:
(A) Comprehensive
(B) Exhaustive
(C) Shallow and wide ✅
(D) Deep and narrow
394 Which of these is a key benefit of smoke testing?
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(B) Compiler
(C) Operator
(D) Reviewer
426 A benefit of pair programming is:
(A) Fewer ideas
(B) Slower development
(C) Better code quality ✅
(D) No need for testing
427 Continuous integration is used to:
(A) Stop builds
(B) Delay code merge
(C) Frequently merge code to main branch ✅
(D) Avoid testing
428 CI systems often include:
(A) Build and test automation ✅
(B) UI design
(C) Static documentation
(D) Long planning phases
429 A benefit of CI is:
(A) Late bug discovery
(B) Deployment delays
(C) Early error detection ✅
(D) Bigger merges
430 Tools used for CI include:
(A) Canva
(B) GitHub Actions ✅
(C) MS Excel
(D) WordPress
431 XP emphasizes:
(A) Testing at the end
(B) No testing
(C) Continuous testing throughout development ✅
(D) Delayed test planning
432 Unit tests in XP are written by:
(A) Testers
(B) Developers ✅
(C) Customers
(D) Product owners
433 Acceptance tests in XP are based on:
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
(B) 1 ✅
(C) 2
(D) Depends on code
448 Higher cyclomatic complexity generally implies:
(A) Simpler code
(B) Lower test coverage
(C) Higher probability of defects ✅
(D) Better maintainability
449 What phase of the software development lifecycle is first?
(A) System Design
(B) Coding
( C) System Testing
(D) Preliminary Investigation and Analysis
ANS. D
There are several phases that make up the software life cycle. The
waterfall model is the term used to describe the traditional model.
453 Which stage is characterized by the following statement: "The
concept is investigated and refined, and the client's requirements are
elicited?"
(A) Implementation
(B) Design
( C) Specification
(D) Requirements
ANS. D
454 Which of the key phases in the software engineering spiral model?
(A) Defining, Prototyping, Testing, Delivery
(B) Requirements
( C) Planning, Risk Analysis, Engineering, Customer Evaluation
(D) Quick Design, Build Prototype, Evaluate Prototype, Refine Prototype
ANS. C
(D) Management
ANS. D
ANS. A
ANS. C
478 Which stage of the following involves the design of test cases?
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
488 What UML diagram of the ones below has a static view?
(A) Use case
(B) Collaboration
( C) DFD
(D) Activity
ANS. A
(B) Attributes
( C) Method
(D) Actor
ANS. D
( C) Generalization
(D) Method
ANS. C
( C) Multiplicity
(D) Generalization
ANS. A
( C) Actor
(D) Fragments
ANS. A
ANS. A
ANS. D
( C) Self Message
(D) Recursive Message
ANS. A
(A) IT Enviroment
(B) Human design
( C) Business Strategy
(D) Qulity attributes
ANS. B
"A new user fills the signup form and clicks the signup button on
547 Facebook and then a FB account is created for him" this is an
example of ______pattern.
(A) Microkernel Pattern
(B) Microservice Pattern
( C) – Event-Driven Pattern
(D) – Client-Server Pattern
ANS. C
( C) – Event-Driven Pattern
(D) – Client-Server Pattern
ANS. A
(D) Green-box
ANS. B
UML diagram that shows the interaction between users and system,
554
is known as_____
(A) Activity diagram
(B) Class diagram
( C) Use case diagram
(D) E-R diagram
ANS. C
( C) Activity Diagram
(D) Sequence diagram
ANS. B
ANS. B
ANS. C
572 Which of the following property does not correspond to a good SRS ?
(A) Verifiable
(B) Ambiguous
( C) Complete
(D) Traceable
ANS. B
Department of Information and communication Technology
Subject: Software Engineering (01CT0615)
Semester: 6
Practice MCQ
580 Risk management is one of the most important jobs for a______
(A) Client
(B) Investor
( C) Production team
(D) Project manager
ANS. D
587 The word which describes the importance of software design is?
(A) Complexity
(B) Quality
( C) Efficiency
(D) Accuracy
ANS. B