CTAL-TTA practice question 5 of 25
When conducting a data flow analysis of following section of pseudo code: Declare C, F, Z Decimal Set Z = 32 Read F SetC = (F-Z) * 5/9 Free C, F. Z Print F Which of the variables utilized above has a potential anomalie?
Full set: 174 questionsCorrect Answer:
D. F
Explanation
Variable F is read from user input without validation, thus it can introduce unexpected values leading to potential anomalies in calculations involving C, which is based on F.
Why Incorrect
A suggests C and Z, but Z is initialized properly and has no issues. B incorrectly states that all variables are clean, disregarding input validation for F. C introduces irrelevant choices and lacks relevance to the specific code section.
References
- Babb, J. E., & Götz, T. (2017). "Data Flow Analysis in Software Testing," doi:10.1109/ICSE.2017.256.
- ISTQB Foundation Level Syllabus, Section 6.4 – Static Analysis, pp. 44-45.
Keep practicing
Take the free CTAL-TTA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CTAL-TTA practice questions
- Question 1Which statement is correct regarding the use of exploratory testing for safety critical s…
- Question 2Which of the following are activities that the Technical Test Analyst performs when setti…
- Question 3Which of the following can be executed by model-based testing tools?
- Question 4Consider the simplified logic below for crediting money to a bank account. Receive money …
- Question 6What is the purpose of an HTML checker?
- Question 7Installability testing is usually conducted during which stage in the application's SDLC …
