Computer Science 9608 · 12

12.3 Program testing and maintenance

9 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2021 May-June · Paper 23 · Q4(a)(i)

Program testing and maintenance · 5 marks · official answer ready

(i) Complete the trace table by performing a dry run of the function when it is called as follows: Answer Check("74.0,4.6,3x2") Note, there are no space characters in the string s…

2019 October-November · Paper 21 · Q5(b)(i)

Program testing and maintenance · 5 marks · official answer ready

(i) Complete the trace table by dry running the function when it is called as follows: Result CheckPassword("Jim+Smith*99") Index NextChar Upper Lower Digit Other [5]

2019 October-November · Paper 23 · Q4(b)(i)

Program testing and maintenance · 5 marks · official answer ready

(i) Complete the trace table by dry running the function when it is called as follows: Result Check("Jim.99@skail.com") Index NextChar NumDots NumAts NumOthers [5]

2019 October-November · Paper 42 · Q3(b)(ii)

Program testing and maintenance · 2 marks · official answer ready

(ii) Identify and describe one other debugging feature. Debugging feature .........................................................................................................…

2019 May-June · Paper 21 · Q4(a)(i)

Program testing and maintenance · 6 marks · official answer ready

(i) Complete the trace table by performing a dry run of the function when it is called as follows: Result Clean("X∇∇∇Y∇and∇∇Z") The symbol '∇' represents a space character. Use th…

2019 May-June · Paper 22 · Q4(a)(i)

Program testing and maintenance · 5 marks · official answer ready

(i) The following assignment calls the Search() function: Result Search("12∇34∇5∇∇39") Complete the following trace table by performing a dry run of this function call. The symbol…

2019 May-June · Paper 41 · Q2(f)(iii)

Program testing and maintenance · 7 marks

(iii) Complete a dry run of the algorithm using the following trace table. ArrayData Item NumberOfScores InsertScore Index 0 1 2 3 4 [7] 18

2019 May-June · Paper 43 · Q2(f)(iii)

Program testing and maintenance · 7 marks

(iii) Complete a dry run of the algorithm using the following trace table. ArrayData Item NumberOfScores InsertScore Index 0 1 2 3 4 [7] 18

2015 May-June · Paper 43 · Q6(c)

Program testing and maintenance · 6 marks · official answer ready

(c) Dry run the procedure X by completing the trace table for the procedure call: CALL X(40) Call n (n = 0) OR (n = 1) n DIV 2 n MOD 2 number 1 40 FALSE 20 2 3 4 5 6 OUTPUT ......…