12.3 Program testing and maintenance
9 questions in this subtopic. Open a question to solve it and check the official answer.
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…
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]
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]
Program testing and maintenance · 2 marks · official answer ready
(ii) Identify and describe one other debugging feature. Debugging feature .........................................................................................................…
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…
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…
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
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
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 ......…
