Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

QB Software Testing

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

Question Bank

LEC 1
1. ________ is an engineering discipline that is concerned with all
aspects of software products.
a) Software Engineering
b) System Engineering
c) Computer science
d) Software Requirement
The correct answer is: a

2. Software is defined as ________


a) set of programs and documentation
b) set of programs
c) documentation and configuration of data
d) None of the mentioned
The correct answer is: a

3. Custom product is:


a) developed to be sold to a range of different customers
b) the specification of what the software should do is owned by the
software developer
c) none of these
d) Both a&b
The correct answer is: c

4. Which of these is true?


a) Generic products and customized products are types of software
products
b) Generic products are produced by organization and sold to open
market
c) Customized products are commissioned by particular customer
d) All of the mentioned
The correct answer is: d

5. ________ is a critical attribute because software change is an


inevitable requirement of changing business environment.
a) Maintainability
b) Dependability
c) Efficiency
d) Acceptability
The correct answer is: a

6. Which of the following characteristics represent the dependability


attribute:
a) Reliability
b) Security
c) Safety
d) All of the above
The correct answer is: d

7. A set of activities whose goal is the development or evolution of


software Generic activities in all software processes are:
a) Software specification
b) Software development
c) Software validation and Software evolution
d) all of the above
The correct answer is: d
8. _________ is a software development activity that is not a part of
software processes.
a) Validation
b) Specification
c) Development
d) Dependence
The correct answer is: d

9. _________ focuses on theory and fundamentals.


a) Software Engineering
b) System Engineering
c) Computer science
d) Software Requirement
The correct answer is: c

10. _________ application systems that run on a local


computer.
a) Standalone application
b) Embedded system
c) System of system
d) Entertainment system
The correct answer is: a

11. _________ software control systems that control and


manage devices.
a) Standalone application
b) Embedded system
c) System of system
d) Entertainment system
The correct answer is: b
12. _________ are systems that collect data from their
environment using set of sensors.
a) Standalone application
b) Embedded system
c) System of system
d) Data collection system
The correct answer is: d

13. _________ systems that are composed of a number of other


software systems such as an ERP system.
a) Standalone application
b) Embedded system
c) System of system
d) Data collection system
The correct answer is: c

14. Engineers should normally respect the confidentiality of


their employers. This statement defines the_________
a) Confidentiality
b) Competence
c) Computer misuse
d) Intellectual property rights
The correct answer is: a

15. Engineers should be aware of local laws governing the use of


intellectual property such as patents, copyright, etc. This
statement defines the_________
a) Confidentiality
b) Competence
c) Computer misuse
d) Intellectual property rights
The correct answer is: d

16. “Software engineers should not use their technical skills


to misuse other people’s computers.” Here the term misuse refers
to:
a) Unauthorized access to computer material
b) Unauthorized modification of computer material
c) Dissemination of viruses or other malware
d) All of the mentioned
The correct answer is: d

True and False questions:


1. Engineering discipline Using appropriate theories and methods to
solve problems bearing in mind organizational and financial
constraints. True
2. Bespoke (custom)Software Products are developed for multi-
customer according to their specification. False
3. Good software should deliver the required functionality and
performance to the user. True
4. Roughly 60% of software costs are development costs, 40% are
testing costs. True
LEC 2

1. COTS stands for……


a) Commercial Off-The-Shelf systems
b) Commercial Off-The-Shelf states
c) Commercial Off-The-System state
d) None of the mentioned

2. …… Checking that it does what the customer wants


a) Specification
b) Evolution
c) Validation
d) Design and implementation

3. …. Changing the system in response to changing customer needs


a) Specification
B)Evolution
C)Validation
D)Design and implementation

4. Where you design the system data structures and how these be
presented in a database this called ….
a) Interface Design
b) Architectural design
c) Component selection & design
d) Database design
5. What do you understand by V&V in software testing ?
A) Verified version
B) Version validation
C) Verification and validation
D) Version verification

6. In the ….. development process , the various phases of


development are completed sequentially one after other
A) Iterative
B) Waterfall
C) Agile
D) Spiral

7. Where software has to interface with hardware systems this is


called
a) Critical systems
b) Embedded systems
c) Large systems
d) Entertainment systems

8. In which model specification ,development and validation are


interleaved ?
a) Incremental development model
b) Waterfall model
c) Reuse-oriented model
d) None of the above

9. In which model where systems are integrated from existing


components or COTS
a) Waterfall model
b) Incremental development model
c)Reuse-oriented model
d) None of the above

10) which one of the models is not suitable for accommodating


any change ?
A) Build & fix model
B) Prototyping model
C) RAD model
D) Waterfall model

11) .... focus on software itself


a) Waterfall model
b) Incremental model
c) Spiral model
d) Reused model

12) …... is very suitable when requirements are very understood


at the beginning of the project
a) Waterfall modal
b) Incremental model
c) Spiral model
d) Reused model

13) When the system is developed at several sites we apply…


a) Waterfall model
b) Incremental model
c) Spiral model
d) Reused model
14) ….. focus on documentation
A) Incremental model
B) Spiral model
C) Reused model
D) Waterfall model

15) which phase of the RUP is used to establish a business case


for the system ?
A) Transition
B) Elaboration
C) Construction
D) Inception

16) Which phase of the RUP is used for system design ,


programming and testing
A) Transition
B) Elaboration
C) Construction
D) Transition

17) The final phase in the RUP phase is called


A) Constraction
B) Elaboration
C) Transition
D) Inception

18) A dynamic perspective in rational unified process show ..?


A) Phases over time
B) Process activities
C) Good practice
D) All of the above
19) A prototype can be used in ..?
A) Non-functional requirements
B) Products that are well understood
C) None of these
D) Functional rather than non-functional requirements such as
reliability and security

20) Is a model a phase has to be complete before moving onto


the next
A) Waterfall model
B) Incremental model
C) R- use model
D) V-model

1) A prototype focus on the product that are not well


understood?
True False
2) One can choose waterfall model if the project development
schedule is tight True False

3) prototype focus on functional rather than non-functional


requirements True False

4) Prototype are normally undocumented True False


5) Trow away prototypes should be distracted after
development as they are not a good basis for a production
system True False

6) Database design where you define the interfaces between system


components
True False

7) Critical systems where a system is developed at several sites


True False

8) A static perspective shows process activities


True False

9)The last phase of the RUP is Construction


True False

10)In incremental model specification , development and validation


aren’t interleaved
True False
LEC 3

1. What was one of the primary goals of Agile development methods


that emerged in the late 1990s?
a) Increase the complexity of software systems.
b) Extend the delivery time for working software.
c) Enhance the documentation process for software development.
d) Radically reduce the delivery time for working software systems.

2. Agile Software Development is based on --------.


a) Incremental Development
b) Iterative Development
c) Linear Development
d) Both Incremental and Iterative Development

3. Agile development involves the delivery of software in _____.


a) sequential phases
b) large increments
c) isolated versions
d) series of versions or increments

4. Agile methods focus on -------- rather than design.


a) documentation
b) code
c) project management
d) scalability

5. Agile development techniques are applicable for _____.


a) large-scale enterprise systems
b) research projects
c) small or medium-sized products
d) legacy system maintenance

6. In Extreme Programming (XP), user stories are used for _____.


a) project management
b) software testing
c) requirement specification
d) deployment planning

7. XP testing features:
a) Test-first development.
b) Incremental test development from scenarios.
c) User involvement in test development and validation.
d) All of the above

8. Refactoring in agile development refers to _____.


a) rewriting the entire codebase
b) fixing bugs and errors
c) improving code quality without changing functionality
d) adding new features to the software

9. Pair programming involves _____.


a) individual work without collaboration
b) programmers sit together at the same computer
c) rotating team members during development
d) dividing tasks among team members

10. Scrum is an agile method that focuses on _____.


a) iterative development
b) automated testing
c) formal documentation
d) user interface design

11. The initial phase in Scrum involves _____.


a) project closure
b) sprint cycles
c) outlining project objectives
d) user story selection

12. The product owner in Scrum is responsible for --------.


a) managing the development team
b) prioritizing product requirements
c) conducting system testing
d) documenting user stories
13. The Scrum team is responsible for _____.
a) project planning
b) software development
c) records decisions
d) arranges daily meetings

14. The Scrum master is responsible for all of the following except_------
---.
a) measures progress against the backlog
b) arranges daily meetings
c) code refactoring
d) records decisions

15. What is the starting point for planning in the Scrum Sprint Cycle?
a) Sprint backlog
b) Product backlog
c) Release plan
d) User stories

True & False Questions:


1. Agility is defined as the ability of a project team to respond rapidly to
a change.
a) True
b) False
2. The Product Owner can be a customer but might also be a product
manager.
a) True
b) False

3. In Agile development Iteration occurs within activities.


a) True
b) False

4. Sharing of knowledge that happens during pair programming is very


important as it reduces the overall risks to a project when team
members leave.
a) True
b) False

5. Sprints are development iterations in Scrum.


a) True
b) False
LEC 4

1) ………… The process of establishing the services that the customer


requires from a system and the constraints
a) Specification
b) Requirement engineering
c) requirement engineering process
d) A and B
2) Which is the following which is not describe the functional
requirement
a) Specific services or functions the system must provide.
b) Software functionality that the developers must build into
the product
c) Provide the performance to the system
d) None
3) Should include descriptions of all facilities required, refer to
a) Complete
b) Consistent
c) Ambiguity
d) All the above
4) The requirement may be interpreted in different ways by
different people ………
a. Complete
b. Consistent
c. Ambiguity
d. All the above
5) Which is the following which is describe the non- functional
requirement
a) Define system properties and constraints
b) Must run on certain platform or operating system
c) Must be written in a certain programming language
d) All of the above
6) Which of the following is not the measurement for the
Robustness
a) Time to restart after failure
b) Percentage of events causing failure
c) Probability of data corruption on failure
d) Rate of failure occurrence
7) Decomposing the system into sub components of related
requirements is defined in
a) Requirement discovery
b) requirement specification
c) requirement classification
d) All
8) Which in the following that make the interview is effective
a) Be open-minded.
b) Listen to stakeholders
c) Prompt the interviewee to get discussions going by working
together on a prototype system
d) All of the above canes
9) ………….. is an observational technique that can be used to
understand operational processes
a) Interview
b) Ethnography
c) Scenario
d) Brainstorming

10) Which is the following is used to write the requirement

a) Natural language
b) Structured language
c) Notation
d) All of the above

11) Use the requirements to understand what system is to be


developed

a) Customer
b) System engineer
c) Manager
d) System test engineer

12) Use the requirements to understand the system and the


relationships between its parts

a) Maintenance Engineers
b) System engineer
c) Manager
d) test engineer

13) Any person or organization who is affected by the system in


some way and so who has a legitimate interest is called stakeholder

a) True
b) False
14) In the ethnography technique, People do not have to explain or
articulate their work

a) True
b) False

15) Scenarios and user stories are real-life examples of how a system
can be used

a) True
b) False

16) 5tories and scenarios are a description of how a system may be


used fora specific task

a) True
b) False

17) In the structured language, the requirements are written in


natural language on a standard form or template

a) True
b) False

18) In the structured language Each sentence should express one


requirement

a) True
b) False

19) In the system requirement, we describe the functional and


nonfunctional requirements in more detail

a) True
b) False
20) Different stakeholders may have conflicting requirements

a) True
b) False

LEC 5

1. What are requirements in the context of software engineering?


A) Test cases for system functionality
B) Descriptions of system services and constraints
C) User interface design specifications
D) Implementation details for software development

2. Which section of the document should define the technical terms


used in the document?
A) Preface
B) Introduction
C) Glossary
D) Description
3. What does the "System Architecture" chapter of a requirements
document typically include?
A) User requirements definition
B) Description of services provided for the user
C) High-level overview of the anticipated system architecture
D) Nonfunctional system requirement

4. What is the purpose of the "System requirements" chapter in a


requirements document?
A) Describe the anticipated changes due to hardware evolution.
B) Detail functional and nonfunctional requirements.
C) Include graphical system models.
D) Provide examples of possible system models.

5. What does the "Description" section in the structure of a


requirements document typically include?
A) Detailed information about hardware and database descriptions
B) Indexes to the document such as alphabetic index, index of
diagrams, and index of functions
C) Appendices providing specific information related to the application
being developed
D) None of the above

6. Which of the following is NOT a common technique for


requirements validation?
A) Requirements reviews
B) Prototyping
C) Traceability analysis
D) Change control

7. Which of the following best describes the characteristic of


requirements being "Verifiable"?
A) Requirements should be written in a way that is easy to understand
by all stakeholders.
B) Requirements should be written in a way that ensures they cannot
be interpreted differently by different people.
C) Requirements should be written in a way that allows the completed
system to be tested against them.
D) Requirements should be written in a way that includes descriptions
of all services required.

8. Which of the following statements about system modeling is NOT


true?
A) System modeling involves developing abstract models of a system.
B) Each model presents a different view or perspective of the system.
C) System modeling is always based on notations in the Unified
Modeling Language (UML).
D) The primary purpose of system modeling is to communicate with
stakeholders.

9. Which modeling techniques are used to represent the dynamic


behavior of a system and its response to events?
A) Use case diagram and class diagram
B) Activity diagram and sequence diagram
C) State machine diagram and collaboration diagram
D) Component diagram and deployment diagram
10. Which of the following statements is true about use case
modeling?
A) Use cases are primarily used for system design.
B) Each use case represents a complex system interaction.
C) Actors in a use case can only be people.
D) Use cases can be represented diagrammatically or in a detailed
textual form.

11. True or False: The 'Transfer Data' use case involves the
interaction of a medical receptionist and a patient records system
(PRS).
12. Which of the following statements best describes the difference
between the include and extend relationships in use case modeling?
A) The include relationship breaks out similar behavior as a separate
use case and includes it in multiple other use cases, while the extend
relationship represents the extension of a use case to include optional
functionality.
B) The include relationship represents optional functionality, while the
extend relationship breaks out similar behavior as a separate use case
and includes it in multiple other use cases.
C) The include relationship represents the extension of a use case to
include optional functionality, while the extend relationship breaks out
similar behavior as a separate use case and includes it in multiple other
use cases.
D) The include relationship represents similar behavior across many use
cases, while the extend relationship breaks out optional functionality as
a separate use case and includes it in multiple other use cases.

13. True or False: In sequence diagrams, the objects and actors


involved are listed along the top of the diagram with a solid line
drawn vertically from these.
14. True or False: Interactions between objects in sequence diagrams
are indicated by annotated arrows.
15. True or False: Context models are primarily used to illustrate the
internal structure of a system
16. True or False: Architectural models demonstrate the operational
context of a system. False (Architectural models show the system
and its relationship with other systems, not specifically the
operational context.)
17. True or False: In a Class Diagram, you model the organization of a
system or the structure of the data processed by the system.
18. True or False: An interaction perspective primarily deals with the
organization of a system or the structure of its data.
19. True or False: Requirements management involves documenting,
tracking changes to, and ensuring the satisfaction of requirements
throughout the project lifecycle.
20. True or False: Requirements engineering processes are typically
iterative activities where requirements elicitation, analysis,
specification, variation, and management are interleaved

LEC 6

1. The output of this design process is a description of the -------.


a) software architecture
b) hardware
The answer is a
2. An early stage of the system design process.
a) hardware
b) software architecture
c) Architectural design
The answer is c
3. Each architectural model shows more than one view or perspective
of the system.
a) True
b) False
The answer is b As only one view or perspective of the system.
4. In the model-view-controller (MVC) architecture, the view
corresponds to the
a) Interface layer
b) Data-access layer
c) Domain object layer
d) Business-logic layer
The answer is a
5. Term in the MVC architecture that receives events is called
a) Receiver
b) Controller
c) Transmitter
d) Modulator
The answer is b
6. In the model-view-controller (MVC) architecture, the model manages
the
a) the system data
b) associated operations on that data.
c) both a&b
The answer is c
7. The advantage of layer architecture is allowing replacement of entire
layers so long as the interface is maintained.
a) True
b) False
The answer is a
8. The disadvantage of layer architecture is the bad speed.
a) True
b) False
The answer is a
9. In large data , ------- is an efficient data sharing mechanism.
a) the repository model of sharing
b) the design model
The answer is a
10. The principal advantage of the client-server model is that servers
can be distributed across a network.
a) True
b) False
The answer is a
11. Pipe and filter architecture is suitable for interactive systems.
a) True
b) False
The answer is b

You might also like