Testing Throughout the Software Development Lifecycle

practice quiz

1. Which of the following is NOT an example of the shift left approach?a) Reviewing the user requirements before they are formally accepted by the stakeholders
b) Writing a component test before the corresponding code is written
c) Executing a performance efficiency test for a component during component testing
d) Writing a test script before setting up the configuration management process

Select ONE option.

Question 1 of 46

2. Which of the following is an example of a nonfunctional test?a) Covering a certain combination of conditions and observing the executed actions to check the correct implementation of a certain business rule.
b) Covering the result “TRUE” in the decision “IF (x > 5) THEN ...” in the code.
c) Verifying that the system correctly validates the syntax of the email address entered by the user in the user registration form.
d) Verifying that the system login time is less than 5 ms when 1000 users are already logged in at the same time.

Choose one answer.

Question 2 of 46

3. Your team has just completed a retrospective. They have discussed what was successful and should be retained, and they discussed what improvements are needed. What else do they need to discuss in order to recognize process improvements?a) What will be retained or changed for the future
b) Who is to blame for the shortcomings of the project
c) How much money was spent that could have been saved
d) Why changes were not made earlier in the project

Select ONE option.

Question 3 of 46

4. Which of the following statements BEST describes the acceptance test-driven development (ATDD) approach?a) In ATDD, acceptance criteria are typically created based on the given/when/then format
b) In ATDD, test cases are mainly created at component testing and are code-oriented
c) In ATDD, tests are created, based on acceptance criteria to drive the development of the related software
d) in ATDD, tests are based on the desired behavior of the software, which makes it easier for team members to understand them

Select ONE option

Question 4 of 46

5. Which test-first approach uses acceptance criteria for user stories as the basis for deriving test cases?a) TDD.
b) ATDD.
c) FDD.
d)  BDD.

Choose one answer.

Question 5 of 46

6. Which types of failures (1-4) fit which test levels (A-D) BEST?1. Failures in system behavior as it deviates from the user’s business needs
2. Failures in communication between components
3. Failures in logic in a module
4. Failures in not correctly implemented business rules

A. Component testing
B. Component integration testing
C. System testing
D. Acceptance testing

a) 1D, 2B, 3A, 4C
b) 1D, 2B, 3C, 4A
c) 1B, 2A, 3D, 4C
d) 1C, 2B, 3A, 4D

Select ONE option.

Question 6 of 46

7. Which of the following is an example of using the shift-left approach?a) Application of acceptance test-driven development (ATDD).
b) Basing testing on exploratory testing.
c) Creating GUI prototypes during the requirements elicitation phase.
d) Continuous monitoring of product quality after release to the customer.

Choose one answer.

Question 7 of 46

8. Which of the following test levels is MOST likely being performed if the testing is focused onvalidation and is not being performed by testers?a) Component testing
b) Component integration testing
c) System integration testing
d) Acceptance testing

Select ONE option.

Question 8 of 46

9. Which of the following is an example of a test-first approach to development?a) Test-Driven Development
b) Coverage-Driven Development
c) Quality-Driven Development
d) Feature-Driven Development

Select ONE option.

Question 9 of 46

10. Usability testing is an example of which type of testing?a) Functional
b) Non-functional
c) Structural
d) Change-related

Select TWO option.

Question 10 of 46

11. Which of the following is a good testing practice that applies to all software development lifecycles?a) Testers should review work products as part of the next development phase
b) Testers should review work products as soon as drafts are available
c) Testers should review work products before test analysis and design begins
d) Testers should review work products immediately after they are published

Select ONE option.

Question 11 of 46

12. During the testing of IoT (Internet of Things) software, a defect was discovered, but it was not fixed due to the close timing of the software’s release. After the release, it has not caused a failure at the customer until now. A month after the release, the team decided to fix the defect.
Which of the maintainability triggering events are we dealing with in this situation?a) Software upgrade.
b) Software migration.
c) Software modification.
d) Adding new functionality to the system.

Choose one answer.

Question 12 of 46

13. Which of the following is an example of a good testing practice?a) Different test levels should have specific test objectives
b) Testers should have development experience
c) Developers should determine the order of test execution in the test procedures
d) Test design should begin when the code is complete to avoid changes

Select ONE option.

Question 13 of 46

14. Which of the following statements describes how the DevOps approach supports TESTING?a) DevOps makes it possible to shorten the software release cycle by using an automated test data generation for component testing.
b) DevOps enables quick feedback to the developer on the quality of the code they commit to the repository.
c) DevOps enables the automatic generation of test cases for new code committed by a developer to the repository.
d) DevOps makes it possible to reduce the time required for release planning and iteration planning.

Choose one answer.

Question 14 of 46

15. Which of the following is MOST likely to be performed as part of system testing?a) Security testing of a credit management system by an independent test team
b) Testing the interface of a currency exchange system with an external banking system
c) Beta testing of a remote learning system by courseware developers
d) Testing interactions between the user interface and database of a human resources system

Select ONE option.

Question 15 of 46

16. You are testing the aircraft autopilot system. You want to test the correctness of communication between the geolocation component and the engine controller component.
Which of the following is BEST example of a test basis for designing these tests?a) Detailed design of the geolocation component.
b) Architecture design.
c) Risk analysis report.
d) Regulations from the avionics/aircraft law area.

Choose one answer.

Question 16 of 46

17. Which of the following is an example of a test-first approach to development?a) Component Test-Driven Development
b) Integration Test-Driven Development
c) System Test-Driven Development
d) Acceptance Test-Driven Development

Select ONE option.

Question 17 of 46

18. Which of the following is a good testing practice that applies to all software development lifecycles?a) For each test level, there is a corresponding development level
b) For each test objective, there is a corresponding development objective
c) For every software test activity, there is a corresponding user activity
d) For every software development activity, there is a corresponding test activity

Select ONE option.

Question 18 of 46

19. Which development approach captures the requirements in a simple test case format?a) TDD
b) BDD
c) ATDD
d) TBD

Select ONE option.

Question 19 of 46

20. Which of the following statements about DevOps is CORRECT?a) To speed up releases, continuous integration is used to encourage developers to submit code quickly without the need to complete component testing
b) To be able to update and release systems on a more frequent basis, many automated regression tests are required to reduce the danger of regression
c) To treat both developers and operations equally, the testers will allocate more effort to release testing by operations using a shift-right approach
d) To create increased synergy between testers, developers and operations, the testing must become fully automated with no manual testing

Select ONE option.

Question 20 of 46

21. You are a tester in a project to develop aircraft autopilot software. The project is being conducted according to the V-model.
Which of the following sentences BEST describes the consequences associated with choosing this model?a) The emphasis in testing will be on experience-based test techniques.
b) The test team will not conduct static testing.
c) Upon completion of the first iteration, a working prototype of the system will be available.
d) In the initial phases, testers participate in requirements reviews, test analysis, and test design.

Choose one answer.

Question 21 of 46

22. Which of the following is MOST likely to be a trigger that leads to maintenance testing of a currency exchange system?a) The developers reported that changing the currency exchange system was difficult and the testers decided to check if this was true
b) The refund option of the currency exchange system was removed as it did not always repay the correct amount to customers
c) The agile team has started developing a user story that adds a new customer loyalty feature to the currency exchange system
d) The currency exchange system was reconfigured to support both English and local language currency transactions

Select ONE option.

Question 22 of 46

23. Which of the following is LEAST likely to occur as a result of a retrospective?a) The quality of future test objects improves by identifying improvements in development practices
b) Test efficiency improves by speeding up the configuration of test environments through automation
c) End users’ understanding of the development and test processes is improved
d) Automated test scripts are enhanced through feedback from developers

Select ONE option.

Question 23 of 46

24. Which of the following is an example of a good testing practice?a) Testers should have development experience
b) Developers should determine the order of test execution in the test procedures
c) Test design should begin when the code is complete to avoid changes
d) Testers should review requirements documents as soon as a readable draft is available

Select ONE option.

Question 24 of 46

25. Which of the following statements is CORRECT?a) Regression tests increase in number as the project progresses, whereas the number of confirmation tests decreases as the project progresses
b) Regression tests are created and run when the test object is fixed, whereas confirmation tests are run whenever the test object is enhanced
c) Regression testing is concerned with checking that the operational environment remains unchanged, whereas confirmation testing is concerned with testing changes to the test object
d) Regression testing is concerned with adverse effects in unchanged code, whereas confirmation testing is concerned with testing changed code

Select ONE option.

Question 25 of 46

26. One good testing practice says that for every development activity, there should be an associated test activity. Which SDLC model shows this principle explicitly?a) Iterative model.
b) Boehm’s spiral model.
c) Scrum.
d) V-model.

Choose one answer.

Question 26 of 46

27. Your organization has decided to implement DevOps. One of the biggest concerns from the operations people is that there have been ongoing performance issues in production. How will implementing DevOps and CI/CD help with this problem?a) It won’t - the problem needs to be addressed during design
b) Performance testing can be integrated into the CI/CD pipeline to test it incrementally and repeatedly throughout development
c) Performance testing will be the main focus of the system integration testing, after the code has been delivered to the test environment
d) Performance testing experts will be used to conduct the performance testing in an isolated environment which is developed using Infrastructure as Code

Select ONE option.

Question 27 of 46

28. Which of the following is MOST likely to be a challenge encountered when implementing DevOps?a) Making sure that non-functional quality characteristics are not overlooked
b) Managing continuously changing test environments
c) The need for more manual testers with suitable experience
d) Setting up the test automation as part of the delivery pipeline

Select ONE option.

Question 28 of 46

29. Consider the following rule: “for every SDLC activity there is a corresponding test activity”. In which SDLC models does this rule hold?a) Only in sequential SDLC models
b) Only in iterative SDLC models
c) Only in iterative and incremental SDLC models
d) In sequential, incremental, and iterative SDLC models

Select ONE option.

Question 29 of 46

30. When coding is directed by the test cases, what development approach is being used?a) TDD
b) BDD
c) ATDD
d) TBD

Select ONE option.

Question 30 of 46

31. During which level(s) of testing should non-functional tests be executed?a) Unit and integration only
b) System testing only
c) Integration, system and acceptance only
d) Unit, integration, system and acceptance only

Select ONE option.

Question 31 of 46

32. Which of the arguments below would you use to convince your manager to organize retrospectives at the end of each release cycle?a) Retrospectives are very popular these days and clients would appreciate it if we added them to our processes
b) Organizing retrospectives will save the organization money because without them end user representatives do not provide immediate feedback about the product
c) Process weaknesses identified during the retrospective can be analyzed and serve as a to do list for the organization’s continuous process improvement program
d) Retrospectives embrace five values including courage and respect, which are crucial to maintain continuous improvement in the organization

Select ONE option.

Question 32 of 46

33. The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be  performed?a) Only confirmation testing
b) Confirmation testing then regression testing
c) Only regression testing
d) Regression testing then confirmation testing

Select ONE option.

Question 33 of 46

34. Which of the following provides the BEST description of the shift-left approach?a) When agreed by the developers, manual activities on the left-hand side of the test process are automated to support the principle of ‘early testing saves time and money’
b) Where cost-effective, test activities are moved to be performed earlier in the software development lifecycle (SDLC) to reduce the total cost of quality by reducing the number of defects found later in the SDLC
c) When they have spare time available, testers are required to automate tests for regression testing, starting with component tests and component integration tests
d) When available, testers are trained to perform tasks early in the SDLC to allow more test activities to be automated later in the SDLC

Select ONE option.

Question 34 of 46

35. Which of the following BEST describes retrospectives?a) Retrospectives allow team members to identify other team members who did not fully contribute to achieving quality as required by the whole-team approach
b) Retrospectives give testers an opportunity to identify activities that were successful so that these are retained when potential improvements are made in the future
c) Retrospectives are where agile team members are allowed to voice their concerns about management and customers in a blame-free environment
d) Retrospectives give agile team members a forum where they focus on discussing the plan and technical decisions for the next iteration

Select ONE option.

Question 35 of 46

36. When a system is targeted for decommissioning, what type of maintenance testing may be required?a) Retirement testing
b) Regression testing
c) Data migration testing
d) Patch testing

Select ONE option.

Question 36 of 46

37. Which of the following is a good testing practice that applies to all software development lifecycles?a) Each test level has specific and distinct test objectives
b) Test implementation and execution for a given test level should start during the corresponding development phase
c) Testers should start test design as soon as drafts of the relevant work products become available
d) Every dynamic testing activity has a corresponding static testing activity

Select ONE option.

Question 37 of 46

38. In an iterative lifecycle model, which of the following is an accurate statement about testing activities?a) For every development activity, there should be a corresponding testing activity
b) For every testing activity, appropriate documentation should be produced, versioned and stored
c) For every development activity resulting in code, there should be a testing activity to document test cases
d) For every testing activity, metrics should be recorded and posted to a metrics dashboard for all stakeholders

Select ONE option.

Question 38 of 46

39. You are testing a user story with three acceptance criteria: AC1, AC2 and AC3. AC1 is covered by test case TC1, AC2 by TC2, and AC3 by TC3. The test execution history had three test runs on three consecutive versions of the software as follows:

Tests are repeated once you are informed that all defects found in the test run are corrected and a new version of the software is available.

Which of the above tests are executed as regression tests?a) Only 4, 7, 8, 9
b) Only 5, 7
c) Only 4, 6, 8, 9
d) Only 5, 6

Select ONE option

Question 39 of 46

40. Which of the following tests is MOST likely to be performed as part of functional testing?a) The test checks that the sort function puts the elements of the list or array in ascending order
b) The test checks whether the sort function completes sorting within one second of starting
c) The test checks how easily the sort function can be changed from sorting ascending to sorting descending
d) The test checks that the sort function still functions correctly when moved from a 32-bit to a 64-bit architecture

Select ONE option.

Question 40 of 46

41. You have been receiving daily builds from the developers. Even though they are documenting the fixes they are including in each build, you are finding that the fixes either aren’t in the build or are not working. What type of testing is best suited for finding these issues?a) Unit testing
b) System testing
c) Confirmation testing
d) Regression testing

Select ONE option.

Question 41 of 46

42. In what way is CI/CD an example of the concept of shift-left?a) It gets the code to production faster
b) It allows the developers to continuously integrate their code
c) It requires continuous testing throughout the pipeline
d) It elevates the testers as the owners of quality

Select ONE option.

Question 42 of 46

43. Which of the following sentences best describes the activities of a tester attending a retrospective meeting?a) The tester raises only test-related issues. All other topics will be raised by any of the other participants.
b) The tester is an observer, making sure that the meeting follows the principles of retrospectives and the values of agile approach.
c) The tester provides feedback and other information on all activities performed by the team during the completed iteration.
d) The tester gathers the information provided by other meeting participants to design tests for the next iteration based on this information.

Choose one answer.

Question 43 of 46

44. Which of the following statements about the chosen software development lifecycle is CORRECT?a) If agile software development is used, system test automation replaces the need for regression testing
b) If a sequential development model is used, then the dynamic testing is typically restricted to later in the lifecycle
c) If an iterative development model is used, then component testing is typically performed manually by developers
d) If an incremental development model is used, then static testing is done in early increments and dynamic testing in later increments

Select ONE option.

Question 44 of 46

45. Which of the following tests usually cannot be scheduled in advance?a) Regression tests.
b) Operational acceptance tests (OAT).
c)  User acceptance tests (UAT).
d)  Confirmation tests.

Choose one answer.

Question 45 of 46

46. Which of the following is an example of a test-first approach to development?a) Behavior-Driven Development
b) Test Level Driven Development
c) Function-Driven Development
d) Performance-Driven Development

Select ONE option.

Question 46 of 46


 

UČILIŠTE POTENCIJAL

ZAŠTO POTENCIJAL?

Samo neki od razloga zašto nas odabrati 

Iskusni predavači

Naši predavači su stručnjaci u svojim poljima i posvećeni su vašem napretku.

Prilagodljivi raspored

Online učenja olakšava pristup obrazovanju, bez obzira na vašu trenutačnu situaciju.

Kvaliteta obrazovanja

Naša predanost izvrsnosti odražava se u našim pomno osmišljenim programima

Stalna podrška

Tu smo kako bi vam pomogli riješiti sve izazove te ostvarite osobne ciljeve

POTENCIJAL

Naši polaznici

    “ Učenje na Učilištu Potencijal je bilo transformirajuće iskustvo za mene. Profesori su stručni i pristupačni, a prilagodljivi rasporedi su mi omogućili da istovremeno radim i usavršavam svoje vještine. Hvala vam na prilici za rast ”

      “ Iako sam već imao dosta radnog iskustva, uvijek sam osjećao da mi nešto nedostaje. Učilište Potencijal mi je omogućilo da nadopunim svoje znanje i steknem nove perspektive u poslu. Sada sam konkurentniji nego ikad prije ”

      24/7

      Kontaktirajte nas:

      info@ucilistepotencijal.hr

      Potencijal učilište logo_3_3 – bojaZaWeb

      Informacije

      Otkrijte svoj
      potencijal

      © 2023 UČILIŠTE POTENCIJAL. Sva prava pridržana
      Stranicu izradio creatos.hr