Pages

Friday, March 18, 2016

Software Testing Test 2016 | Software Testing Test Upwork Answer

1. Which of the following statements is incorrect in relation to Code coverage?
Answers:
  1. It describes the degree to which the source code of a program has been tested
  2. It is a form of White-box testing
  3. It is a form of Black-box testing
2. Usability testing indicates that the design and system should be modified if:
Answers:
  1. people have difficulty in understanding the instructions
  2. people have difficulty in manipulating the parts
  3. people have difficulty in interpreting the feedback
  4. all of the above
3. Which of the following statements about Equivalence partitioning is correct?
Answers:
  1. A software testing design technique in which tests are designed to include representatives of boundary values
  2. A type of software testing used for testing two or more modules or functions together with the intent of finding interface defects between the modules or functions
  3. It is the degree to which the source code of a program has been tested
  4. A software testing technique that divides the input data of a software unit into partitions of data from which test cases can be derived
4. What is Boundary value testing?
Answers:
  1. It tests values at and near the minimum and maximum allowed values for a particular input or output
  2. It tests different combinations of input circumstances
  3. It is a testing technique associated with White-box testing
  4. Both a and b
5. Which of the following types of errors are uncovered in White-box testing?
Answers:
  1. Performance errors
  2. Logical errors
  3. Typographical errors
  4. Behavioral errors
6. What is the name of the testing method in which (for each pair of input parameters) all the possible discrete combinations of parameters are passed on?
Answers:
  1. Single testing
  2. Pairwise testing
  3. Unit testing
  4. None of the above
7. Which of the following are the objectives of using a “test harness”?
Answers:
  1. Automating the testing process
  2. Executing test suites of test cases
  3. Generating test reports
  4. Creating reusable test logic to reduce maintenance and improve test coverage
8. In Bottom-up integration testing,
Answers:
  1. Major decision points are tested in the early phase
  2. No drivers need to be written
  3. No stubs need to be written
  4. Regression testing is not required
9. Which of the following statements is incorrect in relation to Test Automation?
Answers:
  1. Test Automation is the process of writing a computer program to do testing that would otherwise need to be done manually.
  2. Test Automation is the use of software to control the execution of tests and the comparison of actual outcomes to predicted outcomes.
  3. Test Automation tools may provide record and playback features that allow users to interactively record user actions and replay it back any number of times.
  4. Test Automation is the set of procedures used by organizations to ensure that a software product will meet its quality goals at the best value to the customer.
10. Performance testing is used for real-time systems only.
Answers:
  1. True
  2. False
11. ___________ testing is used to evaluate and understand the application’s reliability, scalability and interoperability when more users are added or the volume of data is increased.
Answers:
  1. Integration
  2. Performance
  3. Regression
  4. Stability
12. From the options given below which of the dynamic program analysis technique is aimed at improving application performance?
Answers:
  1. Code complexity analysis
  2. Profiling
  3. Network packet sniffing
  4. Spelling and grammar checking
  5. Program slicing
13. Which of the following tools supports traceability, recording of incidents, and scheduling of tests?
Answers:
  1. Static analysis tool
  2. Debugging tool
  3. Test management tool
  4. Configuration management tool
14. Which of the following is not a Static testing methodology?
Answers:
  1. Code review
  2. Inspection
  3. Walkthroughs
  4. System tests
15. Choose the correct description of a Stub in software testing:
Answers:
  1. A Stub is basically the same as a driver except that it is very fast in returning results
  2. A Stub is a dummy procedure, module or unit that stands in for an unfinished portion of a system
  3. A Stub is just a different name for an Emulator
  4. None of the above
16. Which of the following resources are tested by most of the Stress testing tools?
Answers:
  1. Disk space
  2. Network bandwidth
  3. Internal memory
  4. All of the above
17. The process of using a test case to test a specific unit of code, function, or capability is called:
Answers:
  1. Test Run
  2. Test Script
  3. Test Plan
  4. Test Scenario
18. Which of the following models of software development incorporates testing into the whole software development life cycle?
Answers:
  1. Agile model
  2. Waterfall model
  3. V-Model
  4. Spiral model
19. What is the normal order of activities in which software testing is carried out?
Answers:
  1. Unit, Integration, System, Validation
  2. System, Integration, Unit, Validation
  3. Unit, Integration, Validation, System
  4. None of the above
20. The determination of adherence or non adherence to a compliance is carried out during:
Answers:
  1. Inspection
  2. Audit
  3. White-box testing
  4. Walkthrough
21. What do you understand by the term “Monkey test”?
Answers:
  1. It is random testing performed by automated testing tools
  2. It is used to simulate the actions a user might perform
  3. It is another name for Monitor testing
22. Which of the following is not included in Non-functional testing?
Answers:
  1. Load/Stress testing
  2. Unit testing
  3. Security testing
  4. Stress testing
23. The cursory examination of all the basic components of a software system to ensure that they work is called:
Answers:
  1. Fuzz testing
  2. Black-box testing
  3. Sanity testing
  4. Smoke testing
24. When a defect is detected and fixed, the software should be retested to confirm that the original defect has been successfully removed. This is called:
Answers:
  1. Regression testing
  2. Maintenance testing
  3. Confirmation testing
  4. None of the above
25. Identify the defect which can be detected by Equivalence Partitioning Technique:
Answers:
  1. Improper handling of sequences of events
  2. Mis-handling of combinations of conditions
  3. Irregular handling of large and small values
  4. Improper handling of input classes
  5. Invalid output generation
26. Which of the following is not a part of System testing?
Answers:
  1. Recovery testing and failover testing
  2. Performance, Load and Stress testing
  3. Usability testing
  4. Top-down integration testing
27. Which of the following Security testing concepts deals with the process of determining whether a requester is allowed to receive a service or perform an operation?
Answers:
  1. Confidentiality
  2. Integrity
  3. Authentication
  4. Authorization
28. Which of the following statements is incorrect in relation to Smoke testing and Sanity testing?
Answers:
  1. A Smoke test is designed to touch every part of the application in a cursory way whereas a Sanity test is used to determine if a small section of the application is still working after a minor change
  2. A Smoke test adopts a shallow and wide approach whereas a Sanity test is a narrow regression test that focuses on one, or a few areas of functionality. Sanity testing is usually narrow and deep
  3. A Smoke test is usually unscripted whereas a Sanity test is scripted either using a written set of tests or an automated test
  4. A Smoke test is a normal health checkup to a build of an application before taking it to in-depth testing whereas a Sanity test is to verify whether all requirements are met or not, checking all features breadth-first
29. From the following options, choose the best example which represents a reliability failure for an application:
Answers:
  1. Slow response time
  2. Excessive application consumption
  3. Random application termination
  4. Failure to encrypt data
30. In which of the following testing methodologies does the automatic generation of efficient test procedures/vectors use models of system requirements and specified functionality?
Answers:
  1. Repetitive testing
  2. Model testing
  3. Modular testing
  4. System testing
31. Which of the following is true regarding Static Analysis tools?
Answers:
  1. They help you find defects rather than failures
  2. They are used by developers only
  3. They require compilation of code
  4. All of the above
32. The review of a technical document such as requirements specs or a test plan, with the purpose of looking for problems and seeing what is missing, without fixing anything is called:
Answers:
  1. Inspection
  2. Black box testing
  3. White box testing
  4. Walkthrough
33. Which of the following options correctly defines the term “test harness”?
Answers:
  1. It is a high level document describing the principles, approach and major objectives of the organization regarding testing
  2. It is a set of test activities collected into a manageable phase of a project
  3. It is a collection of software and test data configured to test a program unit by running it under varying conditions and monitoring its behavior and outputs
  4. It is a set of several test cases for a component or a system under test
34. Which one of the following is a major benefit of verification early in the software development life cycle?
Answers:
  1. It allows the identification of changes in user requirements
  2. It facilitates timely set up of the test environment
  3. It reduces defect multiplication
  4. It allows testers to become involved early in the project
35. Identification of set-use pairs is accomplished during which of the following static analysis activities?
Answers:
  1. Control flow analysis
  2. Data flow analysis
  3. Coding standards analysis
  4. Function Point Analysis
36. What would be the appropriate result of a Stress test at its peak?
Answers:
  1. A gradual performance slow-down leading to a non-catastrophic system halt
  2. A gradual performance improvement leading to a catastrophic system halt
  3. A gradual performance slow-down leading to a catastrophic system halt
  4. A gradual performance improvement to a non-catastrophic system halt
37. In which type of testing is random data generated for input into the software?
Answers:
  1. Smoke testing
  2. Marge testing
  3. Fuzz testing
  4. Operation testing
38. Which of the following is incorrect for Black-box testing?
Answers:
  1. It takes an external perspective of the test object to derive test cases.
  2. It is sometimes also called as Opaque Testing, Functional Testing and Closed Box Testing.
  3. It uses an internal perspective of the system to design test cases based on internal structure.
39. Which of the following statements is not true regarding capture/replay tools?
Answers:
  1. They are used to support multi-user testing
  2. They capture aspects of user behavior
  3. They are the most frequently used types of CAST tools
  4. They are used to capture and playback user requirements
40. The main focus of Black-box testing is:
Answers:
  1. to check for logical errors
  2. to ensure that each code statement is executed once
  3. to test the functionality of the system as a whole
  4. to identify all paths through the software
41. Which of the following is written by a programmer and is meant to call the function to be tested by passing test data to it?
Answers:
  1. Stub
  2. Driver
  3. Proxy
42. Which of the following types of testing emulates the real world use of a system and verifies that the product fulfills the intended requirements?
Answers:
  1. System testing
  2. Model testing
  3. Integration testing
  4. User acceptance testing
43. What is the difference between Regression testing and Retesting?
Answers:
  1. Retesting is done by programmers while Regression testing is done by testers
  2. Retesting checks for unexpected side-effects while Regression testing ensures that the original fault has been corrected
  3. Retesting ensures that the original fault has been corrected while Regression testing checks for other unexpected side-effects
  4. There is no difference between Regression testing and Retesting
44. Which of the following testing occurs outside the development environment?
Answers:
  1. Installation testing
  2. White-box testing
  3. Module testing
  4. Fuzz testing
45. The testing phase in which individual software modules are combined and tested as a group is called:
Answers:
  1. Unit testing
  2. Integration testing
  3. Module testing
  4. White-box testing
46. Which of the following statements holds true for Verification and Validation?
Answers:
  1. Verification is used to check if we are doing the right thing and Validation is used to check whether we have developed the software as per the client’s requirements or not.
  2. Validation is used to check if we are doing the right thing and Verification is used to check whether we have developed the software as per the client’s requirements or not.
  3. Validation tells us what to test and Verification decides on the methodology to go about testing the application
  4. None of the above
47. The testing performed by external organizations or standards bodies to give greater guarantees of compliance is called:
Answers:
  1. Usability testing
  2. Conformance testing
  3. Integration testing
  4. System testing
48. Which of the following are benefits of automated testing?
Answers:
  1. reusability
  2. efficiency
  3. speed
  4. allows testing of video and mp3 files
49. Beta testing is performed by:
Answers:
  1. An independent test team
  2. The software development team
  3. In-house users
  4. External users
50. Selecting the test inputs that are likely to reveal a failure associated with a particular defect is an example of the use of:
Answers:
  1. Activity analysis
  2. Defect taxonomy for test design
  3. Root cause analysis
  4. Cleanroom software development
51. Which of the following test activities provides the maximum potential cost savings from the use of Computer-Aided Software Testing (CAST)?
Answers:
  1. Test execution
  2. Test planning
  3. Test management
  4. Test design
52. Which of the following strategies are used for Integration testing?
Answers:
  1. Big Bang
  2. Top-down
  3. Bottom-up
  4. Any of the above strategies can be used
53. Which of the following is true about Sanity Testing?
Answers:
  1. A Sanity test is used to determine if a small section of the application is still working after a minor change
  2. A Sanity test is run to check if the build of an application is stable and it can be considered for further testing
  3. A Sanity test is the process of testing to make sure that the older programming still works with the new changes
  4. All of the above are true
54. Which of the following is false about software testing?
Answers:
  1. Top-down integration testing has as its major advantage that low level modules never need testing
  2. Alpha testing is in-house testing performed by the test team
  3. Equivalence partitioning is used to minimize the number of permutations and combinations of input data
  4. Fuzz testing provides random data to the input of a program
55. Which of the following is not a type of Incremental testing approach?
Answers:
  1. Top-down
  2. Big-bang
  3. Bottom-up
  4. None of the above
56. What is the main reason for testing a software immediately before releasing it?
Answers:
  1. To ensure that the system will work after release
  2. To decide when the software is of sufficient quality to release
  3. To find as many bugs as possible before release
  4. To give information for a risk based decision about release
57. Which of the following types of testing is likely to benefit the most from the use of test tools that provide the test capture and replay facilities?
Answers:
  1. Integration testing
  2. Regression testing
  3. System testing
  4. User acceptance testing

No comments:

Post a Comment