swapna mareedu
unread,May 4, 2012, 6:48:29 AM5/4/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QTP eLearn Team
Hi All,
There are some Imp questions.
Some important
Questions?
Correct me If Iam Wrong.
Answers can be one or more
1) Which of the following explain why comparators are useful testing
Utilities?
A) Multiple bitmap and image files can be displayed and merged into a
single file
B) A test set of values from a software system under test can be
compared to a known set of values
C) Comparators identify causes for software output discrepancies
D) Comparators are playback tools that automate software comparison
E) Comparators find matches using lookup and search logic as well as
filtering logic.
Answer: B
2) In testing Web Page response time, which of the following are
consider?
A) Server and Client machine processing time
B) Minimum bandwidth as measured in Kbytes/sec
C) Page size, including web page components, including controls,
images etc
C) Web page hyperlink targets
D) Time to open a cached web page
Answer: C
3) Which of the following are Entry Criteria for UAT?
A) Test cases for both Integration and System Test have passed
B) The UAT test plan and test cases has been base lined
C) All open defects identified during system testing have been
corrected
D) Soft ware successfully passes System Test regression Testing
E) The software has been delivered to the end user’s site for
installation
Answer: B, C
4) Which of the following data trends support the release readiness
of software?
A) An increasing defect closing rate
B) A decreasing defect arrival rate
C) A decreasing test case Pass rate
D) An increasing defect injection rate
E) An increasing rate in changed LOCS (lines of code)
Answer: A, B
5) 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.
Answer:
6) 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.
Answer: A, C
7) 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.
Answer: C, E
8) Which of the following are true when planning test coverage of
software to be tested?
A. All components of 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.
Answer:
9) 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
Answer: D
10) 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
Answer:
11) 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 do not
resolve the problem.
C. The user's technical support group reinstalls the latest print
drivers which resolve 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.
Answer: A, C
12) 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.
Answer: A, D
13) 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
Answer: A, B
14) 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
Answer: A, E
15) 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.
Answer: B, E
16) 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.
Answer: D
17) 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, no scalable fonts appear correctly aligned on a screen
display but not on a printout.
Answer: B, E
18) 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
Answer: D, E
19) 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.
Answer: C
20) 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.
Answer: B
21) 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.
Answer: A, C, D
22) 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.
Answer: D
23) 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.
Answer: A, B, C
24) 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
Answer: B, D
25) 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.
Answer: C, E
26) 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
Answer: D
27) 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.
Answer:
28) 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
Answer: A, C
29) Which of the following are favourable 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 regency
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
Answer: D
30) 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
Answer: C, D
31) 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.
Answer: A, B, E
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
Answer: A, B C
33) 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.
Answer: C, E
34) 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
Answer: A,C,E
35) 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
Answer: C, D
36) 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
Answer: A, E
37) 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.
Answer: B
38) 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.
Answer:
39) Which of the following are reasons that would require an
organisation to use an automated performance testing tool?
A. An organisation requires a certain responses time during peak usage
time. An automated tool can show responses time and users of an
application
B. An organisation develops a web-based application that needs to
support many users.
C. An application in test must complete specified processes within a
required number of seconds. An automated tool can measure the time
D. An application in test must open windows within a required number
of seconds. An automated test can measure the time to open the window
E. An application must be tested using real load examples before it
goes into Production. An automated stress tool can capture responses.
Answer:
40) When one user sees an issue that another user does not see, which
of the following are true?
A. Replicating usage scenarios for each user
B. Verifying software version and installed files
C. Resetting local settings for each user
D. Comparing data values for both setups
E. Identifying a workaround for the issue
Answer: B, E
Cheers
Swapna