Quiz
SE Test 4
This quiz has question types that open in the usual player.
Questions in this quiz (39)
1Why is software testing done and what are some of its attributes?
- Ashow that a program does what it is intended to do
- Bdiscover program defects
- Cexecuted using artificial data
- Dexecuted using real data
2What are two types of testing?
- AValidation testing
- BArtificial testing
- CDefect Testing
- DReactive Testing
3What is defect testing? What is the goal?
- AYou expect the system to perform correctly using a given set of
test cases that reflect the system’s expected use. - BGoal: demonstrate that the software meets its requirements
- CThe test cases are designed to expose defects.
- DGoal: discover faults or defects in the software where its behavior is incorrect or not in conformance with its specification
- AYou expect the system to perform correctly using a given set of
4[blank_start]Verification[blank_end]:
– "Are we building the [blank_start]product right[blank_end]”.
– The software should conform to its specification.
[blank_start]Validation[blank_end]:
– "Are we building the [blank_start]right product[blank_end]”.
– The software should do what the user really requires.
Aim of V & V is to establish confidence that the system is ‘fit for purpose’.- AVerification
- BValidation
- Cproduct right
- Dright product
5What is inspection testing?
- Aalso called static validation
- Balso called software testing
- CConcerned with analysis of the static system representation to discover problems
- DConcerned with exercising and observing product behavior
(dynamic verification) - EMay be supplement by tool-based document and code analysis.
6What is software testing?
- Aalso called inspection testing
- BConcerned with exercising and observing product behavior
- Calso called dynamic verification
- DThe system is executed with test data and its operational behavior is observed.
7What are the benefits of software inspection?
- Apeople examine the source representation with the aim of discovering anomalies and defects.
- BDon’t require execution of a system so may be used before implementation.
- CCannot be used before implementation
- DMay be applied to any representation of the system (requirements, design, configuration data, test data, etc.)
- ECan be automated using tools
- FCannot be automated with tools
8What can be found during code static analysis?
- AA variable with an undefined value
- BInconsistent interface between modules and components
- CVariables that are declared but never used
- DUnreachable code (or) Dead Code
- EProgramming standards violations
- FSecurity vulnerabilities
- GNone of the above
9Inspections and testing are complementary and not opposing verification techniques.
- ATrue
- BFalse
10Which of the following are NOT software inspection limitations?
- AInspections cannot check non-functional characteristics such as performance, usability, etc.
- BInspections can check non-functional characteristics such as performance, usability, etc.
- CInspections can check conformance with a specification but not conformance with the customer’s real requirements.
- DInspections can check conformance with a specification and conformance with the customer’s real requirements.
11What are the stages of testing?
- ADevelopment
- BRelease
- CUser
- DConformance
- EComponent
12What is unit testing? What can units be?
- AUnit testing is the process of testing individual components in isolation.
- BUnit testing is the process of testing multiple components in isolation.
- C– Individual functions or methods within an object
– Object classes with several attributes and methods
– Composite components with defined interfaces used to access their functionality. - D– Multiple functions or methods within an object
– Object classes with several attributes and methods
– Composite components with undefined interfaces used to access their functionality.
13What is NOT involved in the complete test coverage of a class?
- ATesting all operations associated with an object
- BSetting and interrogating all object attributes
- CExercising the object in all possible states.
- DSetting and interrogating some object attributes
14Unit testing should be automated so that tests are run and checked without manual intervention
- ATrue
- BFalse
15Test Components
› [blank_start]A setup part[blank_end]
– where you initialize the system with the test case, namely the
inputs and expected outputs. › [blank_start]A call part[blank_end]
– where you call the object or method to be tested. › [blank_start]An assertion part[blank_end]
– where you compare the result of the call with the expected result. If the assertion evaluates to true, the test has been successful if false, then it has failed.- AA setup part
- BA call part
- CAn assertion part
16What are test method components? Notice setup, call, assertion parts.

- AYes
- BNo
17In test driven development tests are written before code and ‘passing’ the tests is the critical driver of development.
- ATrue
- BFalse
18What is test driven development?
- ATests are written after code and ‘passing’ the tests is the critical driver of development.
- BAn approach to program development in which you inter- leave testing and code development.
- CYou develop code incrementally, along with a test for that increment. You don’t move on to the next increment until the code that you have developed passes its test.
19What are not benefits of Test Driven Development?
- ACode coverage
- BRegression testing
- CSimplified debugging
- DSystem documentation
- EAnalysis testing
- FRemittance testing
20Match TDD benefits:
› [blank_start]Code coverage[blank_end]
– Every code segment that you write has at least one associated test so
all code written has at least one test. › [blank_start]Regression testing[blank_end]
– A regression test suite is developed incrementally as a program is developed.
› [blank_start]Simplified debugging[blank_end]
– When a test fails, it should be obvious where the problem lies. The
newly written code needs to be checked and modified. › [blank_start]System documentation[blank_end]
– The tests themselves are a form of documentation that describe what the code should be doing.- ARegression testing
- BCode coverage
- CSimplified debugging
- DSystem documentation
21Regression testing is testing the system to check that changes have not ‘broken’ previously working code.
- ATrue
- BFalse
22Which of the following are true about release testing?
- ARelease testing has to show that the system delivers its specified functionality, performance and dependability, and that it does not fail during normal use.
- BRelease testing is usually a black-box testing process where tests are only derived from the system specification.
- CRelease testing is the process of testing a particular release of a system that is intended for use outside of the development team.
- DRelease testing is usually a white-box testing process where tests are only derived from the system specification.
23What is true about performance testing?
- APart of release testing may involve testing the emergent properties of a system, such as performance and reliability.
- BTests should reflect the profile of use of the system.
- CPerformance tests usually involve planning a series of tests where the load is steadily increased until the system performance becomes unacceptable.
- DStress testing is a form of performance testing where the system is deliberately overloaded to test its failure behaviour.
24The user’s working environment have a major effect on the reliability, performance, usability and robustness of a system.
- ATrue
- BFalse
25User or customer testing is a stage in the testing process in which users or customers provide input and advice on system testing
- ATrue
- BFalse
26What is not an example of User Testing?
- AAlpha testing
- BBeta testing
- CRegression testing
- DAcceptance testing
27What are components?
- ABuilding block of an application
- BWell defined set of operations
- CWell defined roles and responsibility
- DSoftly defined set of operations
28Match the correct application types to its definition:
[blank_start]Data processing applications[blank_end]
– Data driven applications that process data in batches without
explicit user intervention during the processing
[blank_start]Transaction processing applications[blank_end]
– Data-centred applications that process user requests and update
information in a system database.
[blank_start]Event processing systems[blank_end]
– Applications where system actions depend on interpreting events from the system’s environment.- AEvent processing systems
- BTransaction processing applications
- CData processing applications
29A generic application architecture is an architecture for a type of software system that may be configured and adapted to create a system that meets specific requirements.
- ATrue
- BFalse
30Backend as a Service (BaaS) is a type of Serverless application that incorporates third-party cloud hosted apps and services. E.g. Firebase
- ATrue
- BFalse
31What is Faas?
- AFunctions as a Service
- BApplications where server-side logic is still written by the application developer
- CUnlike traditional architectures, it’s run in stateless compute containers that are event-triggered
- DFully managed by a third party
- EFunctions as a state
32Which is not advantages of Serverless architecture (limits)?
- ADecreased time to market
- BEnhanced scalability
- CLower cost
- DState management: most Serverless components are stateless
- ELocal Testing
- FLoss of Control: configuration, debugging, security
33What is load balancing in cloud computing environment?
- AThe process of distributing workload evenly across computing resources
- BA cloud computing service feature that automatically adds or removes computing resources based on actual demand
- CThe process of distributing workload unevenly across computing resources
34What is auto-scaling in a cloud computing environment?
- Aservice feature that automatically adds or removes computing resources based on actual demand
- Bservice feature that automatically adds or removes computing resources based on future demand
35What are NOT disadvantages of Microservices?
- ACommunication between services is complex
- BMore services equals more resources
- CGlobal testing is difficult
- DDebugging problems can be harder
- ELarge vs small product companies
- FSmaller and faster deployments
- GScalability
36What are advantages of MicroService architecture?
- AGreater efficiencies as they are typically paired with auto-scalers and load balancers
- BImproved fault isolation
- CEliminate vendor or technology lock-in
- DEase of understanding
- ESmaller and faster deployments
- FScalability
- GDebugging is harder
37Microservice Architecture
› An approach to developing a single application as a suite of small services- ATrue
- BFalse
38What are disadvantages of Monolithic applications?
- AChange cycles are tied together
- Ba change made to a small part of the application, requires the entire application to be rebuilt and deployed
- CScaling requires scaling of the entire application rather than parts of it that require greater resource
39What are 3 components of a traditional monolithic or enterprise application?
- Aa client-side user interface
- Ba database
- Cserver side application that renders HTTP in browser
- Dserviceless database
Information
- Description
- Quiz on SE Test 4, created by Upma Sharma on 15/12/2020.
- Author
- Upma Sharma
- Language
- English
- Views
- 2
- Rating
- No ratings yet Rate this quiz