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.
Questions
When developing the unit test, which of the following conventions suggested by framework.
- a.) Name of the Class must end with “Test”
- b.) Name of the method must start with “test”
- c.) Return type of the test method must be “void”
- d.) Test method must not have any parameter.
- e.) All of the above
Junit supports two ways (Static & Dynamic) to run a single unit test. True/False?
- True
- False
How to do unit test for one private method?
- a.) Using the Mock class, related to corresponding Test class
- b.) Using the reflection if using Jdk 1.3 or higher version
- c.) Both a.) & b.)
- d.) No way to test it
How to test the methods, which contain System.exit() statement?
- a.) There is no option to test it in Junit
- b.) Modifying the testcase to run with SecurityManager that prevents calling System.exit, then catch the SecurityException.
- c.) Remove the System.Exit() line then continue the testing with that methods.
- d.) Test it everything as-is.
How to do unit test for one protected method?
- a.) Reflection provides the option to do this.
- b.) Copy the method content into the testcase methods.
- c.) Place your tests in the same package as the classes under test.
- d.) Can't do the testing for protected methods.
Which of the following elements needed in CLASSPATH to run the Junit tests
- The JUnit JAR file.
- b.) Location of your JUnit test classes.
- c.) Location of classes to be tested.
- d.) JAR files of class libraries that are required by classes to be tested
- e.) All of the above
JUnit TestSuite is a
- a.) Container class, which used to group multiple test cases into a collection and run them together.
- b.) defines test fixture, which contains all the test methods.
- c.) interface, which contains the declaration of all the methods, needs to be implemented by Testcases.
- d.) None of the above
Is it possible to use the debugger for Unit testing in Junit Framework?
- True
- False
Mark the scheduled process in creation of accounts
- CR_ACC_ADC
- CR_ADC_ACC
- ILM_CREATEACCOUNT
- ILM_ADC_CREATEACCOUNT
Scheduled process to terminate the binding period products that have passed the binding end date.
- TERM_BIND_DT
- H1SD_TERM_BIND
- H1SD_TERBIND
- None of the Above
- An architected process may also be called as _______________ due to its generic nature.
- General Process
- Vanilla Process
- Global Process
- Operational Process
SDLC stands for...
- Software Design Life Cycle
- System Development Life Cycle
- Software Development Life Cycle
- System Design Life Cycle
Joint Application Design (JAD) method is not used
- To accelerate system analysis and design without going in for shortcut methods in the analysis and design phases
- To avoid problems those arise from the conventional fact-finding method
- c. If the management is ready to spare their employees for regular meetings during the development cycle of the project
- d. In projects where functionality is either not well defined or is complex
Order of phases in Unified Software Development Process (USDP) is,
- Inception phase - Elaboration Phase – Construction Phase – Transition Phase
- Elaboration Phase – Transition Phase – Inception Phase – Construction Phase
- Inception Phase – Construction Phase – Transition Phase – Elaboration Phase
- Transition Phase – Elaboration Phase – Construction Phase – Inception Phase
ETVX stands for
- Entry – Task – Verification & Validation – Exit
- Entry – Test – Validation – Exit
- Entry – Test - Verification – Execution
- Entry – Task – Verification & Validation – Execution
When Client themselves do not know what exactly they want then we use ________________
- Throwaway Prototype
- Evolutionary Concept
- Rapid Prototype
- Proof of Concept
When Client themselves do not know what exactly they want then we use ________________
- Throwaway Prototype
- Evolutionary Concept
- Rapid Prototype
- Proof of Concept
"Responsible” people in RACI model are those
- Who do work to achieve the task
- The resource ultimately accountable for completion of task
- cThose whose opinions are sought
- Those that are kept up-to-date on progress
Work items created during PSU (Project Start Up) phase doesn’t include
- Induction Manual
- Project Plan
- Work Order
- Process Improvemtn Proposal
Which of the following are characteristics of testable software ?
- Simplicity
- Stability
- Observability
- All of the above