0 program TRICKY
1 var1, var2, var3 : integer
2 begin
3 read ( var2 )
4 read ( var1 )
5 while var2 < 10 loop
6 var3 = var2 + var1
7 var2 = 4
8 var1 = var2 + 1
9 print ( var3 )
10 if var1 = 5 then
11 print ( var1 )
12 else
13 print ( var1+1 )
14 endif
15 var2 = var2 + 1
16 endloop
17 write ( "Wow - that was tricky!" )
18 write ( "But the answer is…" )
19 write ( var2+var1 )
20 end program TRICKY
Which of the following statements about the TRICKY program MOST correctly describes any control flow anomalies in it?
A. The TRICKY program contains unreachable code and an infinite loop
B. The TRICKY program contains no control flow anomalies
C. The TRICKY program contains unreachable code
D. The TRICKY program contains a loop with multiple entry points
Submitted by: AdministratorA. The TRICKY program contains unreachable code and an infinite loop
Submitted by:
Submitted by:
Read Online Analyst Testing Job Interview Questions And Answers
Top Analyst Testing Questions
☺ | What is the main benefit of designing tests early in the life cycle in test analysis? |
☺ | Tell me why you would be suitable for the position of a test analyst in our firm? |
☺ | What is the purpose of exit criteria in test analysis? |
☺ | When decision table testing is used? |
☺ | Please tell me what are the white-box testing techniques as a test analyst? |
Top Testing Categories
☺ | Manual Testing Interview Questions. |
☺ | Rational TestSuite Interview Questions. |
☺ | QTP Interview Questions. |
☺ | Database Testing Interview Questions. |
☺ | Software QA Interview Questions. |