Analyst Testing Question: Download Test Analyst PDF

Which of the following is a way to use call graphs to determine integration testing requirements?
A. Establishing the number of locations within the software from where a module or system is called
B. Establishing the number of locations within the software from where a method or function is called
C. Determining conditional and unconditional calls for performance analysis
D. Detecting areas to be targeted for possible memory leaks

Tweet Share WhatsApp

Answer:

A. Establishing the number of locations within the software from where a module or system is called.

Download Test Analyst PDF Read All 40 Test Analyst Questions
Previous QuestionNext Question
0 program Calculate Commission
1 total, number : integer
2 commission_hi, commission_lo : real
3 begin
4 read ( number )
5 while number ≠ -1 loop
6 total = total + number
7 read ( number )
8 endloop
9 if total > 1000 then
10 commission_hi = 100 + 0.2 * ( total - 1000 )
11 else
12 commission_lo = 0.15 * total
13 endif
14 write ( "This salesman's commission is:")
15 write ( commission_hi )
16 end program Calculate Commission
Which of the following correctly lists data flow anomalies that exist in the 'calculate commission' program?
A. total: line 6; commission_lo: line 12; commision_hi: line 15
B. commision_hi: line 10; commission_lo: line 12
C. number: line 5; number: line 6
D. total: line 6; commision_hi: line 10; commission_lo: line 12
Which of the following statements would BEST justify the use of dynamic analysis in this situation?
A. Dynamic analysis could identify memory access violations caused by a wild pointer that result in the occasional 'crashes'.
B. Dynamic analysis could be used to measure response times for various functions to subsequently allow system tuning.
C. Dynamic analysis could be used to generate call graphs of the system to allow targeted performance enhancement.
D. Dynamic analysis could be used to determine if defects introduced by programmers failing to release allocated memory are causing the 'crashes'.