testing Online Quiz - 141

Description: testing Online Quiz - 141
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

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

Correct Option: E
  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

Correct Option: C
  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.

Correct Option: B
  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.

Correct Option: C

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

Correct Option: E
  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

Correct Option: A




Correct Option: B

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




  4. None of the Above

Correct Option: C
  1. General Process

  2. Vanilla Process

  3. Global Process

  4. Operational Process

Correct Option: B

SDLC stands for...

  1. Software Design Life Cycle

  2. System Development Life Cycle

  3. Software Development Life Cycle

  4. System Design Life Cycle

Correct Option: C

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

Correct Option: D

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

Correct Option: D
  1. Entry – Task – Verification & Validation – Exit

  2. Entry – Test – Validation – Exit

  3. Entry – Test - Verification – Execution

  4. Entry – Task – Verification & Validation – Execution

Correct Option: A

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

Correct Option: B
  1. Throwaway Prototype

  2. Evolutionary Concept

  3. Rapid Prototype

  4. Proof of Concept

Correct Option: B
  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

Correct Option: A
  1. Induction Manual

  2. Project Plan

  3. Work Order

  4. Process Improvemtn Proposal

Correct Option: D
  1. Simplicity

  2. Stability

  3. Observability

  4. All of the above

Correct Option: D
- Hide questions