Software Testing and Development Process Quiz

A comprehensive quiz covering software testing methodologies (JUnit, unit testing), software development life cycles (SDLC, USDP, ETVX), project management concepts (RACI, JAD), and enterprise process management.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When developing the unit test, which of the following conventions suggested by framework.

  1. a.) Name of the Class must end with “Test”
  2. b.) Name of the method must start with “test”
  3. c.) Return type of the test method must be “void”
  4. d.) Test method must not have any parameter.
  5. e.) All of the above
Question 2 True/False

Junit supports two ways (Static & Dynamic) to run a single unit test. True/False?

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

How to do unit test for one private method?

  1. a.) Using the Mock class, related to corresponding Test class
  2. b.) Using the reflection if using Jdk 1.3 or higher version
  3. c.) Both a.) & b.)
  4. d.) No way to test it
Question 4 Multiple Choice (Single Answer)

How to test the methods, which contain System.exit() statement?

  1. a.) There is no option to test it in Junit
  2. b.) Modifying the testcase to run with SecurityManager that prevents calling System.exit, then catch the SecurityException.
  3. c.) Remove the System.Exit() line then continue the testing with that methods.
  4. d.) Test it everything as-is.
Question 5 Multiple Choice (Single Answer)

How to do unit test for one protected method?

  1. a.) Reflection provides the option to do this.
  2. b.) Copy the method content into the testcase methods.
  3. c.) Place your tests in the same package as the classes under test.
  4. d.) Can't do the testing for protected methods.
Question 6 Multiple Choice (Single Answer)

Which of the following elements needed in CLASSPATH to run the Junit tests

  1. The JUnit JAR file.
  2. b.) Location of your JUnit test classes.
  3. c.) Location of classes to be tested.
  4. d.) JAR files of class libraries that are required by classes to be tested
  5. e.) All of the above
Question 7 Multiple Choice (Single Answer)

JUnit TestSuite is a

  1. a.) Container class, which used to group multiple test cases into a collection and run them together.
  2. b.) defines test fixture, which contains all the test methods.
  3. c.) interface, which contains the declaration of all the methods, needs to be implemented by Testcases.
  4. d.) None of the above
Question 8 True/False

Is it possible to use the debugger for Unit testing in Junit Framework?

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

Mark the scheduled process in creation of accounts

  1. CR_ACC_ADC
  2. CR_ADC_ACC
  3. ILM_CREATEACCOUNT
  4. ILM_ADC_CREATEACCOUNT
Question 10 Multiple Choice (Single Answer)

Scheduled process to terminate the binding period products that have passed the binding end date.

  1. TERM_BIND_DT
  2. H1SD_TERM_BIND
  3. H1SD_TERBIND
  4. None of the Above
Question 11 Multiple Choice (Single Answer)
  1. An architected process may also be called as _______________ due to its generic nature.
  1. General Process
  2. Vanilla Process
  3. Global Process
  4. Operational Process
Question 12 Multiple Choice (Single Answer)

SDLC stands for...

  1. Software Design Life Cycle
  2. System Development Life Cycle
  3. Software Development Life Cycle
  4. System Design Life Cycle
Question 13 Multiple Choice (Single Answer)

Joint Application Design (JAD) method is not used

  1. To accelerate system analysis and design without going in for shortcut methods in the analysis and design phases
  2. To avoid problems those arise from the conventional fact-finding method
  3. c. If the management is ready to spare their employees for regular meetings during the development cycle of the project
  4. d. In projects where functionality is either not well defined or is complex
Question 14 Multiple Choice (Single Answer)

Order of phases in Unified Software Development Process (USDP) is,

  1. Inception phase - Elaboration Phase – Construction Phase – Transition Phase
  2. Elaboration Phase – Transition Phase – Inception Phase – Construction Phase
  3. Inception Phase – Construction Phase – Transition Phase – Elaboration Phase
  4. Transition Phase – Elaboration Phase – Construction Phase – Inception Phase
Question 15 Multiple Choice (Single Answer)

ETVX stands for

  1. Entry – Task – Verification & Validation – Exit
  2. Entry – Test – Validation – Exit
  3. Entry – Test - Verification – Execution
  4. Entry – Task – Verification & Validation – Execution
Question 16 Multiple Choice (Single Answer)

When Client themselves do not know what exactly they want then we use ________________

  1. Throwaway Prototype
  2. Evolutionary Concept
  3. Rapid Prototype
  4. Proof of Concept
Question 17 Multiple Choice (Single Answer)

When Client themselves do not know what exactly they want then we use ________________

  1. Throwaway Prototype
  2. Evolutionary Concept
  3. Rapid Prototype
  4. Proof of Concept
Question 18 Multiple Choice (Single Answer)

"Responsible” people in RACI model are those

  1. Who do work to achieve the task
  2. The resource ultimately accountable for completion of task
  3. cThose whose opinions are sought
  4. Those that are kept up-to-date on progress
Question 19 Multiple Choice (Single Answer)

Work items created during PSU (Project Start Up) phase doesn’t include

  1. Induction Manual
  2. Project Plan
  3. Work Order
  4. Process Improvemtn Proposal
Question 20 Multiple Choice (Multiple Answers)

Which of the following are characteristics of testable software ?

  1. Simplicity
  2. Stability
  3. Observability
  4. All of the above