This set of MCQ(multiple choice questions) focuses on the Software Testing NPTEL Week 1 Solutions .
Over the years program several testing techniques have developed and tools have become available. Also, testing has been acknowledged as the primary technique for ensuring software reliability. The course would provide a brief introduction to test process and techniques available for black box and white box test case design. Integration, system and regression testing would also be discussed. A few of the test tools would be discussed and the participants would be encouraged to use.
Course layout
Answers COMING SOON! Kindly Wait!
Week 1: Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers
Week 9: Assignment answers
Week 10: Assignment answers
Week 11: Assignment answers
Week 12: Assignment answers
NOTE: You can check your answer immediately by clicking show answer button. Software Testing NPTEL Week 1 Solutions” contains 10 questions.
Now, start attempting the quiz.
Software Testing NPTEL Week 1 Solutions
Q1. An error was detected in a piece of code in the version that was ready for release, just before the release. The error was successfully fixed by the concerned software developer who did not test if the entire software is working correctly with the fix. Which kind of testing did the developer fail to do?
a) System testing
b) Integration testing
c) Regression testing
d) Functional testing
Answer: c)
Q2. When is it that we say that a particular coverage criterion C1𝐶1 does not subsume another coverage criterion C2𝐶2?
a) C1𝐶1 does not subsume C2𝐶2 when there is at least one test case that satisfies C1𝐶1 that does not satisfy C2𝐶2.
b) C1𝐶1 does not subsume C2𝐶2 when there is at least one test case that satisfies C2𝐶2 that does not satisfy C1
Answer: a)
Q3. Consider the statements regarding testing given below.
- Testing can be used to find all the errors in code.
- Testing can be used to show that a piece of software is fully correct.
- Testing can be used to find real errors in code.
- The purpose of testing is not to show correctness of software but to
- show errors.
Which of the following is true about the above-given statements?
a) All the statements above are correct.
b) The first and second statements are correct.
c) The third and fourth statements are correct.
d) Only the fourth statement is correct.
Answer: d)
Q4. With reference to the various levels of testing, which level is the most mature and ideal for reducing errors in software and which level is the least mature and possibly leads to unknown faults being found after de- ployment?
a) Level 4 is the most mature and level 0 is the least mature level.
b) All the levels are at equal risk, there is no notion of one level being more mature than the other.
c) Level 0 is the most mature and level 4 is the least mature level.
d) Level 4 is the most mature and level 1 is the least mature level, level 0 is of not much use for consideration.
Answer: a)
Q5. A particular software requirement specifies that a piece of software running on a cloud server needs to respond really fast even when thousands of users login simultaneously and request for services. Which kind of testing is done to check for such a requirement?
a) System testing.
b) Stress testing.
c) Performance testing.
d) Functionality testing.
Answer: c)
Q6. Which of the following is a list of testing phases where both white-box and black-box techniques are applicable?
a) Unit testing only.
b) Unit testing and integration testing only.
c) Unit testing, integration testing and system testing.
d) None of the above.
Answer: c)
Q7. State true or false: There are certain phases in the software development and testing life-cycle where predominantly only black-box testing tech- niques are used.
a) True
b) False
Answer: a)
Q8. What are the results of test case execution?
a) There is an explicit message that test case execution has caused an error in the program.
b) There is an explicit message that there is no error from the test case.
c) The test case has either passed or failed.
d) The program produces an output that is the same as the expected output.
Answer: c)
Q9. State true or false: Can JUnit be used to pass a collection of test cases for execution and collating the results?
a) True
b) False
Answer: a)
Q10. What does the JUnit assertion assertFalse(x1 <= x2) return when x1 is greater than x2?
a) True
b) False
Answer: a)
Software Testing NPTEL 2023 Week 1 Solutions
Q1. The purpose of the error seeding technique is which of the following?
a) Determine the origin of the bugs
b) Plant trojans in code
c) Determine the number of latent bugs
d) Plant insidious bugs before delivery to the customer
e) Introduce known bugs in code to determine whether testing is adequate
Answer: c), e)
Q2. The main purpose of integration testing is to find which one of the following types of errors?
a) Logic errors
b) algorithm errors
c) Arithmetic errors
d) Design errors
e) Module interfacing errors
Answer: e) Module interfacing errors
Q3. Usability issues are tested during which one of the following type of testing?
a) Unit testing
b) Itegration testing
c) Performance testing
d) Regression testing
e) Smoke testing
Answer: c) Performance testing
Q4. Pick the correct statement from the following:
a) Every programming error causes a bug
b) Every programming error is caused by a failure
c) Every failure is caused by a fault
d) Every bug can be tracked to a programming error
e) Every bug causes a failure
Answer: c) Every failure is caused by a fault
Q5. Which one of the following is false concerning verification?
a) Helps answer the question: “Have you built the right thing?”
b) Concerns checking the final product againts its specification
c) Usually carried out by the test team
d) May consist of review and simulation activities
e) Checks whether an artifact produced at the end of a phase conforms to the corresponding artifact produced in a previous phase
Answer: a), b), c)
Q6. Who among the following preforms acceptance testing?
a) Customer
b) Quality assurance team of the developing organization
c) Developers
d) System analysts
e) Test team of the developing organization
Answer: a) Customer
Q7. Which one of the following testing technique is effective for testing whether a developed software meets its non-functional requirements?
a) Path testing
b) Dataflow testing
c) Performance testing
d) Robust boundary-value testing
e) Smoke testing
Answer: c) Performance testing
Q8. Unit testing of a software module does NOT test which of the following?
a) Whether the module interfaces well with other modules
b) Whether the functions in the module are working as per design
c) Whether all arithmetic statements in the module are working properly
d) Whether the module meets the non-functional requirements specified in the SRS document
e) Whether all control statements in the module are working properly
Answer: a), d)
Q9. Which one of the following can be inferred from the pesticide paradox?
a) Greater number of bugs are detected towards the end of a testing process
b) More severe bugs are detected towards the end of a testing process
c) After a test methodology has been used on a program to detect bugs, it is ineffective for detecting the remaining bugs
d) A test methodology should be applied again and again until all the bugs have been eliminated
e) A good testing methodology when used several times on a program, effectively expose almost all bugs latent in it
Answer: c)
Q10. The V model of software development is not appropriate for the development of which of the following applications?
a) Nuclear reactor control software
b) Avionics software
c) Automotive control software
d) Management information system (MIS) software
e) Graphical user interface development project
Answer: d), e)
>> Next- Software Testing NPTEL Week 2 Solutions
DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.
For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.
Checkout for more NPTEL Courses: Click Here!