0

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

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

  1. True

  2. False


Correct Option: A

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


Correct Option: C

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.


Correct Option: B

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.


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

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


Correct Option: A

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

  1. True

  2. False


Correct Option: A

Mark the scheduled process in creation of accounts

  1. CR_ACC_ADC

  2. CR_ADC_ACC

  3. ILM_CREATEACCOUNT

  4. ILM_ADC_CREATEACCOUNT


Correct Option: B

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


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


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

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


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

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

"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


Correct Option: A

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


Correct Option: D

Which of the following are characteristics of testable software ?

  1. Simplicity

  2. Stability

  3. Observability

  4. All of the above


Correct Option: D
Explanation:

To answer this question, the user needs to know what is meant by testable software and what are its characteristics.

Testable software is software that can be easily tested to ensure that it meets the requirements and specifications provided. Characteristics of testable software include:

A. Simplicity: Testable software should be easy to understand and use. When software is simple, it is easier to test and identify issues.

B. Stability: Testable software should be stable and reliable. This means that it should perform consistently and not produce unexpected results.

C. Observability: Testable software should be observable, meaning that its behavior can be easily monitored and studied. This allows for easier identification of issues and faster resolution of problems.

Based on the above explanation, the correct answer is:

The Answer is: D. All of the above

- Hide questions