Testing Algorithms · CSEC Information Technology
6 past-paper questions on Testing Algorithms, part of Problem-Solving and Program Design, from every CSEC Information Technology paper on Quelpr.
- 4(f)4 marks· CSEC Information Technology · 2022 · Paper 2Complete the trace table by inserting the missing values for the variables in EACH row representing the first THREE times the pseudocode loops.
- 12(c)(i)1 mark· CSEC Information Technology · January 2010 · Paper 1Given that MARK is 50, state the line number corresponding to the code above that would print a result.
- 12(c)(ii)1 mark· CSEC Information Technology · January 2010 · Paper 1Write the result that would be printed when MARK is 50.
- 9(b)8 marks· CSEC Information Technology · May/June 2013 · Paper 2Complete the trace table using the code provided in (a).
- Q551 mark · multiple choice· CSEC Information Technology · May/June 2017 · Paper 1Item 55 refers to the following pseudocode. Read A, B If A < 2 C ← 2 Else C ← 6 End if D ← C*B+2 Write D What is printed by the pseudocode if the input values are 5 and 2 respectively?
- Q471 mark · multiple choice· CSEC Information Technology · May/June 2018 · Paper 1Item 47 refers to the following pseudocode and trace table.
a \leftarrow 7b \leftarrow 1Forn \leftarrow 1to 3 doa \leftarrow b + 1b \leftarrow a + b\begin{tabular}{|c|c|c|} \hline \textbf{n} &…