You are working for a video game manufacturer You have a new title being released Market interest in the product is at an all time high and everyone in the company has been promised huge bonuses if the launch is successful You are responsible for portability testing Which area, m particular should you emphasize in your testing?
In portability testing for a video game that is anticipated to be highly popular, the key area to emphasize is installability. This involves ensuring that the game can be successfully installed across different platforms and configurations that potential players might use. Focusing on installability helps minimize technical barriers to entry, crucial for a successful launch and widespread adoption of the game .
Given the following pseudo code for a program to solve quadratic equations:
program Quadratic Formula
integer: a, b, c, d
floating point: r1, r2
READ (a)
READ (b)
READ (c)
d := (b * b) - (4 * a * c)
IF d < 0 THEN
PRINT ("Imaginary Roots")
ELSE
r1 := (-b + sqrt(d)) / (2 * a)
r2 := (-b - sqrt(d)) / (2 * a)
PRINT ("first root is: " r1)
PRINT ("second root is: " r2)
ENDIF
END program Quadratic_Formula
Which of the following checklist items is MOST likely to indicate a problem in this program?
Analysis:
The given pseudo code for solving quadratic equations includes operations that involve division. One of the critical issues in such operations is ensuring that the divisor is not zero, which would result in a division by zero error.
Checklist Item:
D . Are divisors tested for zero or noise?:
This checklist item addresses the potential problem of dividing by zero. In the pseudo code, the variable a is used as a divisor in the formula (-b sqrt(d)) / (2 * a). If a is zero, this will result in a division by zero error. Therefore, it is crucial to test whether a is zero before performing the division.
Explanation of Incorrect Options:
A . Does the code avoid comparing floating point numbers for equality?:
This is important but not directly relevant to the given pseudo code's primary issue.
B . Are all variables properly defined with meaningful, consistent and clear names?:
This is good practice but does not address the critical issue of division by zero.
C . Are there any redundant or unused variables?:
Identifying unused variables is helpful for code clarity but does not address the primary functional issue in the pseudo code.
The ISTQB CTAL-TTA syllabus and standard code review practices emphasize the importance of ensuring safe arithmetic operations, particularly avoiding division by zero.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on code review and arithmetic operations.
An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a
Group. An attempt to add a non-existing member of the application to a Group will result in an error. Members can also be removed from an existing Group.
Existing Groups can also be deleted but only if there are no current members attached to it.
Which keyword-driven input table provides an adequate test of this enhancement?
A.
B.
C.
D.
The keyword-driven input table in Option B covers all the necessary scenarios: creating groups, adding members (including handling errors for non-existing members), removing members, and deleting groups only when empty.
This aligns with the functionalities specified in the enhancement description for the social media application.
The ISTQB CTAL-TTA syllabus covers the importance of comprehensive test coverage in keyword-driven testing.
General knowledge on test case design and keyword-driven testing practices.
A review of the following pseudo code is to be performed using a checklist:
Module Vowel Counter
Message: array of Characters
M, N: Integer
ACount, ECount, ICount, OCount, UCount: Integer
BEGIN
I=1
Read Nextchar
While Nextchar <> 'S'
DO
Message (I) = Nextchar
I = I+1
Read Nextchar
ENDWHILE
FOR M = 1 To I
DO
Print (Message(M))
IF Message (M) = 'E'
THEN
ECount = ECount + 1
ELSE
IF Message (M) = 'A'
THEN
ACount = ACount + 1
ELSE
IF Message (M) = 'I'
THEN
ICount = ICount + 1
ELSE
IF Message (M) = 'O'
THEN
OCount = OCount + 1
ELSE
IF Message (M) = 'U'
THEN
UCount = UCount + 1
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDFOR
Print ('Message contains ' ACount + ECount + ICount + OCount + UCount ' vowels')
END
Which of the following checklist items would find code errors in this scenario?
A) Are all variables properly declared?
B) Are all loops, branches, and logic constructs complete, correct, and properly nested?
C) Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses?
D) Are loop termination conditions obvious and invariably achievable?
E) Are there any redundant or unused variables?
Analysis:
The given pseudo code for the Vowel Counter module contains potential issues that can be identified using a checklist.
Checklist Items:
B . Are all loops, branches, and logic constructs complete, correct, and properly nested?:
This item will help identify errors in the structure and nesting of loops and conditional statements. Proper nesting and completeness are crucial for the code to execute as intended.
C . Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses?:
This item ensures that all possible cases are accounted for in conditional statements, including a final ELSE clause to handle unexpected values. This is important to avoid logical errors where certain conditions are not handled.
Explanation of Incorrect Options:
A . Are all variables properly declared?:
While important, this item does not directly address the issues related to loop and conditional logic completeness and correctness.
D . Are loop termination conditions obvious and invariably achievable?:
This item focuses on ensuring that loops will always terminate correctly, but does not address the completeness and correctness of the nested logic.
E . Are there any redundant or unused variables?:
This item helps identify variables that are declared but not used, which is not directly relevant to the correctness of the logic constructs.
The ISTQB CTAL-TTA syllabus and standard code review practices emphasize the importance of checking for proper nesting and completeness of logic constructs to ensure reliable and maintainable code.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on code review and checklist practices.
BestFor Incorporated is a rapidly growing online financial services company that offers guidance to its customers on a range of financial products. Its first website, BestForMortgages, was launched two years ago, shortly followed by BestForPensions. The popularity of both sites has driven the company to expand its offerings into other sectors and a third website, BestForFood, has recently been released.
The first two websites have proven to be functionally robust but suffered from performance issues due to:
Underestimation of concurrent user access at peak times in its original operational profiles
Data volumes rapidly growing beyond expectations on a single database shared by both sites.
All three websites share the same web server.
The BestForFood system has been running live for several months, however the following significant non-functional defects have been recorded:
A) The layout and navigation of the BestForFood website was not considered by the users as consistent with BestForPensions and BestForMortgages
B) Soon after delivering the BestForFood system the performance of both BestForPensions and BestForMortgages noticeably slowed
C) The time taken to diagnose, repair and re-test production defects did not meet BestForFood service level agreements
D) BestForFood performance was adversely impacted by unexpected growth in data volumes
E) The time taken to install monthly builds into the production system exceeded agreed timescales.
Which TWO of these defects might have been prevented had portability testing and compatibility testing been employed?
Analysis:
The significant non-functional defects recorded for the BestForFood system indicate issues that could be mitigated by appropriate non-functional testing strategies:
Portability Testing:
Ensures that the application can operate in different environments without issues. This could have addressed the defect related to the layout and navigation consistency across different websites (Defect A).
Compatibility Testing:
Ensures that the application works well with other systems and environments. This could have helped in preventing the performance issues noticed in the BestForPensions and BestForMortgages websites after the deployment of BestForFood (Defect B).
Explanation of Incorrect Options:
C . The time taken to diagnose, repair and re-test production defects: This is more related to maintainability and operational processes.
D . BestForFood performance impacted by data growth: This is better addressed through performance and scalability testing.
E . Installation time exceeding agreed timescales: This is related to deployment and operational efficiency.
The ISTQB CTAL-TTA syllabus and standard non-functional testing practices emphasize the importance of portability and compatibility testing for ensuring smooth operation across different environments and systems.
Sources:
ISTQB-CTAL-TTA Syllabus
General knowledge on non-functional testing practices.
Timmy
21 days agoArminda
29 days agoBuck
1 months agoStefany
2 months agoEliz
2 months agoGerry
2 months agoKimberely
3 months agoOtis
3 months agoBeckie
3 months agoAntonio
3 months agoRaul
4 months agoStarr
4 months agoSerina
4 months agoMerri
4 months agoBrice
4 months agoMarci
5 months agoRosamond
5 months agoAaron
5 months agoRosendo
5 months agoStacey
5 months agoReiko
6 months agoTiera
6 months agoGilma
6 months agoAhmed
6 months agoCarey
6 months agoPamella
7 months agoRoxane
7 months agoKami
7 months agoEarleen
7 months agoTennie
7 months agoMatthew
8 months agoKris
8 months agoMicaela
9 months agoAshanti
10 months agoMiles
10 months agoAntonio
10 months agoBlair
10 months agoRodney
10 months agoRoxanne
11 months agoCasey
11 months ago