Types of testing - Software Testing MCQs1. Black box testing is only functional testing. True or false.a) True
b) False
View Answer / Hide AnswerANSWER: b) False
Comment: black box testing can also be used for checking non-functional attributes of system like reliability, usability etc.
2. Non functional testing is performed only at system testing level. True or false.a) True
b) False
View Answer / Hide AnswerANSWER: b) False
Comment: Non functional testing is performed at all test levels.
3.Which of the following are functional characteristics?1. Maintainability
2. Usability
3. Compliance
4. Accuracy
5. Portability
6. Efficiency
a) 1,3,4
b) 3,4,5
c) 3,4
d) All of the above
View Answer / Hide AnswerANSWER: c) 3,4
Comment: Only compliance and accuracy are functional characteristics of system while remaining are non functional characteristics.
4. Which of the following is not other name for structural testing?a) White box testing
b) Glass box testing
c) Behavioral testing
d) None of the above
View Answer / Hide AnswerANSWER: c) Behavioral testing
Comment: Behavioral testing is called as black box testing.
5. Sometimes regression testing is best candidate for automation. True or false.a) True
b) False
View Answer / Hide AnswerANSWER: a) True
Comment: Regression testing is executing previously passed set of test cases to make sure that modification has not caused any adverse side effect on unaltered part of system.
6. In which of the following situations regression testing is not performed?a) When project manger asks to perform
b) When new functionality is introduced.
c) When database system is changed
d) When system is installed on different hardware configuration than previously tested.
View Answer / Hide AnswerANSWER: a) When project manger asks to perform
Comment: Regression testing is executing previously passed set of test cases to make sure that modification has not caused any adverse side effect on unaltered part of system.
7. Configuration testing deals with hardware while compatibility testing deals with software. True or false.a) True
b) False
View Answer / Hide Answer8. A software is going to be installed in US,Europe and India. Which of the following is correct statement while testing a zip text field ?1) For globalization testing, it should allow to enter alphanumeric inputs
2) For localization testing ,it should allow only numbers in input field.
a) Only1
b) Only 2
c) Both
d) None
View Answer / Hide Answer9. Which is/are characteristic/s of stress testing?a) It is a type of non functional testing
b)It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.
c)It is used to determine the stability of a given system.
d) It put greatemphasis on robustness, availability, and error handling under a heavy load, rather than on what would be considered correct behavior under normal circumstances.
e)All of the above
View Answer / Hide AnswerANSWER: e)All of the above
10. Which of the following is non functional testing for an e-commerce website?a) People can buy goods
b) people can return faulty goods
c) security of system during transaction
d) 1000 people can log into system at same time.
View Answer / Hide AnswerANSWER: d) 1000 people can log into system at same time.
comment: In non-functional testing the quality characteristics of the component or system is tested. Non-functional refers to aspects of the software that may not be related to a specific function or user action. Eg. How many people can log in at once?
11. Which is not characteristic of regression testing?a) Regression testing can be performed on each level
b) It is done to illustare that software is not changed intenationally
c) It is done to illustrate that new defects are not introduced after adding a new functionality or corercting previous one.
d) It is best candidaye for automation
View Answer / Hide AnswerANSWER:b) It is done to illustare that software is not changed intenationally
12. What is example of load testing?a) Downloading large contents from the internet.
b) Running multiple applications on a computer or server simultaneously.
c) Printing large document using printer in a queue.
d) Generating a large amount of traffic on particalr page.
e) All the above
View Answer / Hide Answer13. Which techniqe is applied for usability testing?a) White box
b) Black box
c) Grey box
e) Combination of all
View Answer / Hide AnswerANSWER: b) Black box
Comment: Usability testing is done mostly by users. They are not familiar with internall structure of system so, blavck box tecnique is correct answer.
14. Software Reliability is the probability of failure-free software operation for a specified period of time in a specified environment.True or false.a) True
b) False
View Answer / Hide Answer15. Which things are measured by software Test effectiveness?a) How many customer requirements are implemented in system?
b) How well the customer specifications are achieved by the system?
c) How much effort is put in developing the system?
d) All of the above
View Answer / Hide AnswerANSWER: d) All of the above
16.If a company decides to migrate from Windows XP to Windows 7, which type of testing is done to ensure whether your software works on new platform? a) Interoperability testing
b) Portability testing
c) Usability testing
d) Performance testing
View Answer / Hide AnswerANSWER: b) Portability testing
Comment: Portability testing shows the ease with which a computer software component or application can be moved from one environment to another, e.g. moving of any application from Windows XP to Windows 7.
17. A retail company purchased commercial off the shelf application for automating their billing process. But before introducing it on large scale they are going for beta testing .What will be the reason for doing this?a) To find defects
b) To train employees
c) To gain confidence in system
d) All of the above
View Answer / Hide AnswerANSWER: c) To gain confidence in system
18. Which will be functional test case for on-line reservation system?a) Measuring the response time of a system
b) Checking how system behaves when large number of users are accessing the site
c) to check if user is able to book a ticket from Mumbai to Goa
d) to check for elderly person, it is easy to use
View Answer / Hide AnswerANSWER: c) to check if user is able to book a ticket from Mumbai to Goa
19. If a problem occurs in a system 6 months after it completely goes live, what will be the approach for fixing that problem on very urgent basis?a) Do not involve testers
b) Just go for retest
c) Always go for full regression test
d) Go for retest and then use risk assessment to decide reasonable subset of regression test suit that will be executed
View Answer / Hide AnswerANSWER: d) Go for retest and then use risk assessment to decide reasonable subset of regression test suit that will be executed
20. In which of the following type of testing, testing is done without planning and documentation?a) Unit testing
b) Retesting
c) Ad hoc testing
d) Regression testing
View Answer / Hide AnswerANSWER: c) Ad hoc testing