标题: test theory knowledge testing [打印本页] 作者: calfzhiyun 时间: 2009-6-8 12:16 标题: test theory knowledge testing 2: Which of the following tool types help to evaluate test effectiveness?
A. Requirements management tools help to map requirements to test plans and thereby showing the coverage of the requirements in the testing effort.
B. Code complexity analyzer tools help to evaluate the complexity of the code to be tested and therefore the complexity of the test cases to run.
C. Code coverage tools demonstrate the effectiveness of the test cases in executing lines of code.
D. Comparator tools show differences in test result files from one cycle of testing to another.
E. Debuggers help to determine if a true or a false issue has been reported and therefore the effectiveness of the test case runs.
3: Which of the following are true when planning test coverage of software to be tested?
A. All components of a software under test should be tested in order based on dependencies, priority and availability to be tested.
B. Planning test coverage of components of software under test should be based on a relative risk assessment of each component.
C. All components of a software project should be tested.
D. All components of a software project should be given equal importance when planning test coverage.
E. Operational profiles should be considered when prioritizing software components for testing.
4: Which of the following are the primary objectives of the software testing effort?
A. To identify and fix all software bugs
B. To evaluate software and find all software defects
C. To execute and pass all test cases
D. To verify the software meets all user requirements
E. To release software on time
5: Which of the following will cause a boundary error?
A. A value of 1 in a zero based array
B. An integer of -1
C. The date February 30, 2000
D. A progress indicator that does not complete
E. An infinite loop
6: A user calls and reports a software printing problem. Which of the following statements would support the fact that this reported issue is a software application bug?
A. Copying the user's custom printer settings to another user's machine does not produce the same issue.
B. The user installs and updates current machine fonts which does not resolve the problem.
C. The user's technical support group reinstalls the latest print drivers which resolves the problem.
D. Another client at the same company sees the same printing issue.
E. A client support representative is able to reproduce the same issue in-house.
7: One method of test case design is creating test cases from use cases. Which of the following are benefits of using use cases to design test cases?
A. Provides an inventory of test cases for unit testing
B. Emphasizes use of the software system from the users' perspectives as opposed to use based on the software's functional design
C. Provides functional and boundary system tests that would otherwise go untested
D. Replaces other test case design techniques and therefore creates a smaller, more efficient set of comprehensive test cases
E. Provides an effective white box testing method that can be used to replace a gray box testing method.
8: A requirements document contains the information below. Which of the following correctly identify the lines that contain defects and why?
1. An input box shows a date selection for years 51 - 57.
2. The same input box shows valid days of 1 - 27 and valid month end values of 28, 30 and 31, depending on the month selected.
3. Same input box shows valid months of 1 - 12.
4. Dates can be formatted to display as MM/DD/YYYY or DD/MM/YYYY.
5. The default day displayed should be 1/1/51.
A. Line 2 because leap years are not considered.
B. Line 3 because 1 - 12 are not valid months.
C. Line 1 because it is unclear what century is associated with the years.
D. Line 4 because other valid date formats are not listed.
E. Line 5 because the date showing is a holiday.
9: Metrics from prior projects can be used as a basis for estimates for future projects. Which of the following demonstrate metrics used this way?
A. The number of test cycles for a given project is estimated based on the number of test cycles needed for a prior similar project.
B. The number of testing hours projected is based on the number of developers assigned to code a project.
C. The number of test cases estimated for a given project is based on the number of bugs estimated for a given project.
D. The number of testing hours needed for a given project is based on a proportion of the coding time to match a proportion of time spent for a similar prior project.
E. The number of test cases projected and bugs projected is based on the defined project milestone dates.
10: When aiming to help maximize the benefit of test automation, what concepts are used to minimize the potentially high maintenance cost of using automated test scripts over time?
A. Creating test libraries, test objects and shared functions to allow for reuse of code across test cases
B. Designing data driven test cases so that changes in software can be added to test cases by updating data tables rather than updating code
C. Advocating for minimal code changes to ensure tests continue to run as originally implemented
D. Creating automated test cases with as minimal code as possible because it is more efficient to throw away old automated test cases and create new ones when test application software changes
E. Investing a significant amount of time testing the test scripts so that minimal automated test script code fixes are needed when running the automated scripts作者: calfzhiyun 时间: 2009-6-8 12:16
11: Which of the following are items monitored by testers after deployment of a web application?
A. SSL - to verify encryption and user privacy using secure socket layers
B. Vertical scaling and horizontal scaling - to modify configurations, adding machines and upgrading machines to meet load capacity
C. Web server logs - to assess the load results of live normal and peak user levels
D. Server side interface - to assess the design of the deployed server
E. Reliability - to verify a web application functions over time without error
12: Which of the following methods are used to develop User Acceptance Test criteria?
A. Talking to the development staff to determine which features have the most risk. Include these features in the User Acceptance Test criteria.
B. Speaking to the business analysts and the primary customer interfaces to find out how the customers will be using the system and what features are important to them.
C. If a software contract exists which includes User Acceptance Test criteria, only use these criteria in the User Acceptance Test test plan.
D. Include in the acceptance criteria all requirements included in the software requirements document.
E. The User Acceptance Test criteria MUST include criteria covering major functions, software interfaces, security concerns and performance goals.
13: Which of the following accurately explain the importance of the Risks & Contingencies section of a Software Test Plan?
A. It is a solution plan to address schedule issues by adding resources, reducing project scope or delaying the release date.
B. It is a disclaimer section relinquishing liability from the testing group if software bugs escape during the release.
C. It is a risk mitigation plan to address bugs that escape in the field after a software release.
D. It is a risk mitigation plan, identifying the risks of the project and the action plan to take if project problems occur.
E. It is a contingency plan to address bugs that are found during the system testing phase.
14: Which of the following are application software printing errors?
A. Printout with True Type fonts and screen images coded as WYSIWYG (What you see is what you get) match monitor display.
B. Print output from a print screen key does not match the screen display.
C. Print output shows an incorrect scaling for an image printed.
D. A user prints from a machine with an incorrect print driver.
E. Generic, nonscalable fonts appear correctly aligned on a screen display but not on a printout.
15: Which of the following are benefits of conducting reviews and inspections of software development requirements and design documents early in the software development process?
A. Overall cost reduction in removing defects because the cost of removing software defects increases throughout the development life cycle
B. A decreased risk in project rework because a large percentage of software defects tend to be introduced in the analysis and design phases of the development process
C. Overall cost reduction because early detection of software defects increases the average defect age and lowers the total number of project defects introduced in analysis and design
D. A decreased risk in project rework because a large percentage of software defects can be corrected in the analysis and design phases of the development process before coding and testing begin
E. Project cost reduction because reviews and inspections allow for enhancements to be added to projects and the scope of a project to increase throughout the life of a software development project
16: Software testing efforts often occur after software products have been released to clients. Which of the following are critical quality characteristics of software intended to meet users' needs over a prolonged period of time?
A. Persistence Requirements - User requirements must persist over time in order to match the implemented code.
B. Adaptability Requirements - The systems should have qualities that allow them to adapt to changing requirements or new features. For example, features or user selections may be file driven.
C. Legacy Requirements - Systems must meet all historically supported user requirements to maintain users' satisfaction and familiarity with the systems.
D. Maintainability Requirements - There must be a way to make proactive as well as reactive fixes to issues in systems in the field. For example, automated batch files may periodically check for errors and refresh or install corrected components.
E. Integration Requirements - Systems must be built to integrate with other current and future software products.
17: Testing web servers with requirements to handle a large volume of end users would involve what type of testing?
A. Performance testing to determine the optimal minimum number of simultaneous users.
B. Testing a load balancer setup to make sure large volumes of requests are equally distributed across the available servers.
C. Testing a spooler system, to make sure large volumes of requests are handled in the order received.
D. Portability testing to make sure users using different web browsers and operating systems have equal access to the web address.
E. Stress testing to determine the maximum life of the hardware of the web server.
18: Which of the following are explanations for a binary search function returning an incorrect result?
A. The searched list is not sorted.
B. The total count of items in the list is not known.
C. The list contains both values and text formatted as text.
D. The greater than or less than logic is reversed.
E. The list contains duplicate items.
19: What are common potential causes of false fail results returned by automated tests?
A. Synchronization errors - The automated tests interacting with the software user interface attempt clicks or keystrokes too far ahead or behind the response time of the application being tested.
B. Data issues - The comparison of new result values versus saved prior result values mismatch for data reasons and not software reasons.
C. Coding errors - The software being tested contains bugs that cause fail results.
D. Scripting errors - The test scripts themselves contain errors that do not contain correct logic when verifying test results.
E. False passes - The test scripts miss an error in the software being tested.
20: When a software development project is about to be released to clients, tracking a trend of closed issues is important for which of the following reasons?
A. Product Stability - Tracking the trend of defects closed and open can be used to gauge the release risk due to the amount of software changes being introduced.
B. Process Assessment - To demonstrate a process improvement initiative is successful.
C. Product Integrity - To ensure all reported issues requiring fixing are corrected prior to a software release.
D. Project Management - To ensure all coding and development work is completed prior to the software release.
E. Managing Expectations - To reassure client support, sales and clients that the software is bug free.作者: calfzhiyun 时间: 2009-6-8 12:16
21: Using an equivalence partioning or equivalence class validation method, which of the following tests should be run to cover this requirement?
An input requires at least 2 names but no more than 4 names.
A. 2 names, 3 names or 4 names to test a valid equivalence class
B. All numbers of names 2 names, 3 names and 4 names to test all valid equivalence classes
C. 3 names to test the valid equivalence class median input
D. Fewer than 2 names and greater than 4 names in order to test invalid equivalence classes
E. 2 names and 4 names to test valid boundary equivalence classes
22: Which of the following tools are needed to allow for version control and reusing previously created test cases?
A. A configuration management tool ensures revisions are tracked and latest versions of files are available.
B. A change control utility ensures proper procedures are following when editing test cases.
C. A file merge utility allows multiple users to make changes to a single file.
D. A backup and restore utility ensures test cases are available for reuse and backed up and restored when needed.
E. A project tracking utility documents planned and actual tasks in creating and maintaining test cases.
23: Which of the following are risks associated with User Acceptance Testing?
A. Since User Acceptance Testing is performed at the end of the project, it may get skipped even though previously scheduled.
B. Critical problems first detected during User Acceptance Testing may not get fixed.
C. As end-users test the software, they see the need for feature enhancements which may delay software delivery dates.
D. Using informal methods, end-users may focus on the way the system works and not see or report the defects.
E. Defects found during User Acceptance Testing may delay actual deployment.
24: Which of the following are common reasons for instituting a metrics program in an organization?
A. To create a means for measuring individuals' performances
B. To standardize processes for departments across large organizations
C. To introduce a new process improvement measure
D. To gather development activity or product data before and after a process improvement initiative is implemented in order to assess the improvement effectiveness
E. To raise awareness of important projects versus lower priority projects
25: A requirements document contains the statements shown below. Which of the following correctly identify lines that contain defects?
1. Currency exchange values are available for Canadian dollars, U.S. dollars and Japanese Yen every day except holidays.
2. On a Canadian and U.S. business day, convert all Canadian dollars to current U.S. dollars.
3. On a U.S. and Japanese business day, convert all U.S. dollars to Japanese Yen.
4. On a Canadian and Japanese business day but a U.S. holiday, convert all Canadian dollars to Japanese Yen.
5. On a U.S. and Canadian business day but a Japanese holiday, convert all U.S. dollars to Canadian dollars.
6. On a U.S. and Japanese business day but on a Canadian holiday, convert all U.S. dollars to Japanese Yen.
7. On any day there is a holiday in more than 1 country of U.S., Japan or Canadian, complete NO conversions.
A. Line 6 because it repeats Line 3. starting to convert U.S. dollars to Japanese yen.
B. Line 7 because some conversion must be completed.
C. Line 4 because it contradicts Line 2.
D. Line 2 and Line 5 because on a Japanese holiday, the system will continually loop, converting Canadian dollars to U.S. dollars and U.S. dollars back to Canadian dollars.
E. Lines 2 and 3 because they omit any references to holidays.
26: Which of the following correctly describe the type of test case that would be created using the table below?
A. Test matrix, a table of one input series along the top of row of a matrix and another input series along the left column of the matrix and the third result series in the intersecting cells
B. Binary table, a combination of random true and false values, representing a subset of all true and false values
C. Use cases, a series of descriptive user actions and results, including valid and invalid user inputs
D. Cause-effect graphing, a representation of test cases based on a decision table of a series of Boolean causes and effects
E. Sensitivity chart, containing a series of graded inputs and showing the relative results based on the varying inputs
27: Which of the following are favorable trends reported in the testing effort of a software project?
A. A large number of deferred defects early in the testing effort and a smaller number of deferred defects late in the testing effort
B. A decreasing average age in days of defects due to a high recency in the volume of defects reported
C. A small number of defects fixed early in the software testing effort relative to a large number of defects fixed late in the software testing effort.
D. A large number of defects found early the software testing effort relative to a low number of defects found late in the software testing effort
E. A small number of blocked defects early in the testing effort and a larger number of blocked effects late in the testing effort
28: Which of the following correctly describe software development life cycles and the corresponding software testing activities?
A. The Waterfall Life Cycle Model - linear software development activities, with little concurrency and system testing occurring last in the life cycle process
B. The Spiral Life Cycle Model - iterative software development activities, with little concurrency and system testing occurring throughout the life cycle process
C. Extreme Programming (XP) - concurrent software development activities, with system testing occurring throughout the life cycle process
D. Rapid Application Development (RAD) - concurrent software development activities, with system testing throughout the life cycle process
E. Evolutionary Development - incremental software development activities with little concurrency and system testing occurring last in the life cycle process
29: Which of the following are basic test items for nearly all web-based products?
A. Configuration - Users must be able to view and use web pages across supported browsers and operating system configurations.
B. Hyperlinks - User clicks to navigate to other web pages and page locations.
C. Installation - All software files are installed to correct program and system directories.
D. Maintainability - Software providers must be able to make proactive and reactive fixes to address issues reported by clients.
E. Security - Information displayed should be customer specific and users should not send or receive data and files to and from any web servers.
30: Which of the following describe the purpose of object maps and object inventories in automated testing?
A. They are individual and composite test result profiles of specific cycles of automated tests.
B. They are used to organize and archive automated test results for referencing and documenting test results.
C. They are used by scripts to identify and locate application objects in order for automated scripts to interact with an application's GUI, graphical user interface.
D. They are the documented object models of the test script object libraries.
E. They are used for configuration management of test documents and test scripts.作者: calfzhiyun 时间: 2009-6-8 12:17
31: Which of the following are major test deliverables in a software development project?
A. Test Plan
B. Test Life Cycle Process Document
C. Test Case Specifications
D. Test Process Improvement Plan
E. Test Reports
32: Which of the following are benefits of formal User Acceptance Testing?
A. Provides an excellent, detailed training tool for system users
B. Contributes to team building among the system users
C. Resulting test documentation serves as a benchmark for future systems support and enhancements.
D. Uncovers more subjective software defects than other test phases
E. Enables the re-use of system tests
33: Which of the following factors should be controlled when evaluating performance issues of an application?
A. Network traffic and network configuration
B. Operating system version including latest installed service packs
C. Processor speed and RAM
D. CPU usage and memory usage
E. Uninstalled and disabled applications
34: Which of the following are software quality risks due to hard coding?
A. Code containing a user's username and password text string
B. Code containing specific dates
C. Code containing a lookup table of states based on postal code
D. Code containing a pointer to the first record in a database
E. Code containing a list of file locations
35: Which of the following accurately describe differences between defect severity and defect priority?
A. The defect severity indicates the importance of an issue while the defect priority does not.
B. The defect severity describes how critical a defect issue is, and the defect priority describes the immediacy with which the issue should be addressed.
C. The defect priority is independent of the other open defects while defect severity is determined with respect to other open defects.
D. The defect priority does not change but the defect severity may change as software development and testing approaches a release date.
E. The defect severity trends illustrate the changing level of software quality while the defect priority trends do not.
36: Which of the following are benefits of using a software defect tracking database?
A. A defect tracking tool communicates the test coverage for the software under test.
B. A defect tracking tool automatically detects software issues in the software under test.
C. A defect tracking tool pinpoints the location in the code where an error occurs.
D. A defect tracking tool provides a central location for creating, routing and viewing information on software defects.
E. A defect tracking tool tracks code volatility throughout the development life cycle.作者: wuyu702 时间: 2009-6-8 18:21
有么有答案阿作者: calfzhiyun 时间: 2009-6-10 10:52
没有 作者: cyclone_8000 时间: 2009-11-7 13:41
请问楼主这是那个公司的面试题?作者: mentgmery 时间: 2009-11-23 14:58
你从那里看到的这些题???