See which of your colleagues or former colleagues are already on Testing Link: Check out the Contact Finder
Introductions » Introductions » ISTQB question

316 Views
  1 Replies

0
Vote Vote
ISTQB question
Ravi
Ravi Picture
21 Posts
back to top
Posted 19-11-2011Reply

Q1. Consider the following code fragment:
If a>b
{
B=(a+c)/2

in the options given below, each of the three numbers in parentheses represents the inputs for a test case, where the first, second and third number represents a,b,c respectively of the code fragment. Keeping this in mind, find out which of the following options given a set of test case inputs that achieves decision coverage for this fragment of code in the minimum number of test cases?

A. (5,3,2)
B. (5,3,2); (5,4,0)
C. (5,4,0); (4,5,0)
D. (4,5,0); (5,4,5)

ANS 1.

Q2. What are the objectives of using a test harness?

A. Automating the testing process
B. Executing test suites of the cases
C. Generating test reports.
D. Creating reusable test logic to reduce maintenance and improve test coverage

ANS 2.


Q3. Which of the following models of software development incorporates teting into the whole software development life cycle?

A. Agile model
B. Waterfall model
C. V-model
D. Spiral model

ANS 3.


Q4. What would be the appropriate result of stress test at its peak?

A. A gradual performance slow-down leading to a non-catastrophic system halt.
B. A gradual performance improvement leading to a catastrophic system halt.
C. A gradual performance slow-down leading to a catastrophic system halt.
D. A gradual performance improvement to a non catastrophic system halt.

ANS 4.

Q5. From the following options, choose the best example which represents a reliability failure for an application.

A. Slow response time.
B. Excessive application consumption.
C. Random application termination.
D. Failure to encrypt data.

ANS 5.

Q6. From the option given below which of the dynamic program analysis technique is aimed at improving application performance?

A. Code complexity analysis.
B. Profiling.
C. Network packet sniffing.
D. Spelling and grammar checking.
E. Program slicing.

ANS 6.

Q7. Performance testing is used for real time system only

A. True
B. False

ANS 7.

Q8. Which of the following types of testing is likely to benefit the most from the use of tets tools that provide the test capture and replay facilities?

A. Integration testing.
B. Regression testing.
C. System testing.
D. User acceptance testing.

ANS 8.

Q9. 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?

A. Single Testing.
B. Pair-wise Testing.
C. Unit testing.
D. None of the above

ANS 9.


Q10. Identify the defect which can be detected by equivalence partitioning technique:

A. Improper handling of sequences of events.
B. Mis-handling of combinations of conditions.
C. Irregular handling of large and small values.
D. Improper handling of input classes.
E. Invalid output generation.

ANS 10.

Ravi
Ravi Picture
21 Posts
back to top
  Rated 0 | Posted 19-11-2011

Reply reply to the all questions..

Thanks

0
Vote Vote

Recent Activity in Forums