logo
  • Home
  • Test & Rank
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Mining
  • Marine
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Jobs
  • Contact

JUnit Multiple Choice Questions | MCQs | Quiz

JUnit Interview Questions and Answers
Practice JUnit questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

JUnit - Exploring Core JUnit
JUnit - Parameterized Tests
JUnit - Test Runners
JUnit - Composing Tests Suite
JUnit - Controller Component
JUnit - Component Testing
JUnit - Exception Handling
JUnit - Timeout Testing
JUnit - Hamcrest Matchers
JUnit - Unit Tests
JUnit - Integration Testing
JUnit - Functional Testing
JUnit - Stress Testing
JUnit - Acceptance Testing
JUnit - Unit Test Types
JUnit - Black Box Testing
JUnit - White Box Testing
JUnit - Test Coverage
JUnit - Cobertura
JUnit - Testable Code Creation
JUnit - Test driven Development
JUnit - Development Cycle Test
JUnit - Stubs
JUnit - HTTP Connection
JUnit - Jetty Embedded Server
JUnit - Web Server Resources
JUnit - Stubbing Connection
JUnit - Mock Objects
JUnit - Mock Unit Testing
JUnit - Mock Objects Factors
JUnit - HTTP Mock Connection
JUnit - Trojan Horses Mocks
JUnit - Easy Mock
JUnit - JMock
JUnit - Unit Testing Limitations
JUnit - Mock Objects Solution
JUnit - In Container Testing
JUnit - Stubs Comparision
JUnit - Ant Basics
JUnit - Ant Targets & Projects
JUnit - Ant Tasks
JUnit - Ivy Management
JUnit - HTML Reports Creation
JUnit - Batching Tests
JUnit - Maven Introduction
JUnit - Maven Project Settings
JUnit - Maven Plug-ins
JUnit - Maven Surefire
JUnit - Maven Downsides
JUnit - Continuous Integration

« Prev Page
Next Page »

JUnit Questions and Answers – Testing in the Development Cycle

Posted on May 13, 2017 by staff10

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Testing in the Development Cycle”.

1. Decision table technique is sometimes also referred to as a ________ table.
a) Cause-effect
b) Redundant
c) Extreme
d) Isolated
View Answer

Answer: a
Explanation: An associated logic diagramming technique known as ‘cause-effect graphing’ is sometimes used to help derive the decision table.
advertisement

2. ___________ is a model that illustrates how testing activities integrate with software development phases.
a) Waterfall Model
b) V-Model
c) Spiral Model
d) Iterative Model
View Answer

Answer: b
Explanation: The V-model represents a development process that may be considered to be an extension of the waterfall model.

3. _____________ is triggered by modifications, migration or retirement of existing software.
a) Regression Testing
b) Unit Testing
b) Maintenance testing
d) Integration Testing
View Answer

Answer: c
Explanation: Maintenance Testing is done on the already deployed software.

4. RTM stands for ____________
a) Repeated Trade Matrix
b) Redundant Trace Module
c) Robust Test Mechanism
d) Requirement traceability matrix
View Answer

Answer: d
Explanation: The Requirements Traceability Matrix or RTM is a document that links requirements throughout the validation process.
advertisement

5. The purpose of the _____________ is to ensure that all requirements defined for a system are tested in the test protocols.
a) RTM
b) FDD
c) KISS
d) TM
View Answer

Answer: a
Explanation: The RTM links requirements and hence, ensures all the requirements are tested.

6. RTM is prepared ___________
a) After test case designing
b) Before test case designing
c) During test case designing
d) Not prepared
View Answer

Answer: b
Explanation: Requirements should already be traceable from Review activities ande RTM is prepared before test case designing.

7. In ___________ each component at lower hierarchy is tested individually and then the components that rely upon these components are tested.
a) Top down testing
b) Unit testing
c) Bottom up
d) Load testing
View Answer

Answer: c
Explanation: The modules at lower hierarchy is tested and then the testing goes up in bottom up testing.
advertisement

8. Bottom up testing starts with __________
a) Root
b) Second level roots
c) Inner nodes
d) Terminal nodes
View Answer

Answer: d
Explanation: Since bottom up testing tests from lower hierarchy, terminal nodes are tested first.

9. DRE stands for ____________
a) Defect Removal Efficiency
b) Detect Redundant Errors
c) Defectively Run Enumerations
d) Detect Random Error
View Answer

Answer: a
Explanation: It is a powerful metric used to measure test effectiveness.

10. DRE=Number of bugs while testing /number of bugs while testing + number of bugs _____________
a) Found redundant
b) Not found
c) Found by user
d) Found by tester
View Answer

Answer: c
Explanation: DRE takes into consideration the bugs found by the user too.

Sanfoundry Global Education & Learning Series – JUnit.
To practice all areas of Junit, here is complete set of 1000+ Multiple Choice Questions and Answers.

« Prev Page - JUnit Questions and Answers – Test-driven Development
» Next Page - JUnit Questions and Answers – Stubs

« Counting Boolean Parenthesization Problem – Dynamic Programming Solutions
Subset Sum Problem – Dynamic Programming Solutions »
advertisement

Deep Dive @ Sanfoundry:

  1. C Programming Examples using Recursion
  2. C Programming Examples on Numerical Problems & Algorithms
  3. Java Programming Examples on Numerical Problems & Algorithms
  4. C++ Programming Examples on Numerical Problems & Algorithms
  5. Software Architecture & Design Questions and Answers
  6. C Programming Examples on Trees
  7. Software Engineering Questions & Answers
  8. C Programming Examples on Matrix
  9. C# Programming Examples on Matrix
  10. JUnit Questions and Answers
Manish Bhojasia
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Facebook | Twitter

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.