Computer Science 2210 · 8

8.1 Programming concepts

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

Reset
2025 October-November · Paper 12 · Q7(f)(ii)

Programming concepts · 2 marks · official answer ready

(ii) Give two error detection methods that could be used to check for errors in the data after transmission. 1 ....................................................................…

2025 October-November · Paper 13 · Q1(a)

Programming concepts · 1 mark

(a) Tick (✓) one box to show whether a keypad is an example of an input, output, process or storage device. A input B output C process D storage [1]

2025 October-November · Paper 13 · Q1(e)(i)

Programming concepts · 1 mark

(i) Tick (✓) one box to show whether the sensor is an example of an input, output, process or storage device. A input B output C process D storage [1]

2025 October-November · Paper 13 · Q6(d)(iv)

Programming concepts · 1 mark · official answer ready

(iv) Stops execution of the machine code where an error is found and will resume execution of the machine code once the error is fixed. ...........................................…

2025 October-November · Paper 22 · Q2(b)(i)

Programming concepts · 4 marks · official answer ready

(i) Complete the pseudocode for PROCEDURE NewData PROCEDURE NewData(....................................................................................................) FOR Row 1…

2025 October-November · Paper 22 · Q2(b)(ii)

Programming concepts · 2 marks · official answer ready

(ii) Write the pseudocode to input the number of new contacts and to use procedure NewData. A variable declaration is not required. ...............................................…

2025 October-November · Paper 22 · Q2(c)(i)

Programming concepts · 2 marks · official answer ready

(i) Explain why the given algorithm may not always give the expected results. .....................................................................................................…

2025 October-November · Paper 22 · Q2(c)(ii)

Programming concepts · 2 marks · official answer ready

(ii) Explain how you could improve the algorithm so that the search is more likely to find the required results. ..................................................................…

2025 October-November · Paper 22 · Q4(b)

Programming concepts · 6 marks · official answer ready

(b) An email address can be validated by checking that it contains an @ symbol. Write the pseudocode for an algorithm that will allow an email address to be input and check whethe…

2025 October-November · Paper 22 · Q5(b)

Programming concepts · 3 marks · official answer ready

(b) Describe the processes in the algorithm on page 6. ............................................................................................................................…

2025 October-November · Paper 23 · Q2

Programming concepts · 4 marks · official answer ready

2 Four descriptions of programming techniques and five programming techniques are given. Draw one line from each description to the relevant technique. Not all techniques will be …

2025 October-November · Paper 23 · Q3

Programming concepts · 1 mark · official answer ready

3 Tick (3) one box to identify the most appropriate data type to store 'M' A integer B char C real D Boolean [1] * 0000800000003 * DFD 3 , ,

2025 October-November · Paper 23 · Q4(a)

Programming concepts · 4 marks · official answer ready

4 (a) Tickets for a theme park are booked online. An adult ticket costs $12.99 and a child ticket costs $7.99. A booking fee of $1.99 is added to the total cost of each booking. W…

2025 October-November · Paper 23 · Q4(b)

Programming concepts · 4 marks · official answer ready

(b) Each booking must have at least one adult ticket. Explain how the algorithm could be changed to repeatedly ask for the number of adult tickets if the number input is less than…

2025 October-November · Paper 23 · Q5(b)

Programming concepts · 2 marks · official answer ready

(b) The algorithm does not work correctly. State the reason why the algorithm does not work as expected and explain how the algorithm could be corrected. Any code used must be ful…

2025 October-November · Paper 23 · Q9(a)

Programming concepts · 3 marks · official answer ready

(a) Write pseudocode statements to declare the variables Name, Age and Found ......................................................................................................…

2025 October-November · Paper 23 · Q9(b)(i)

Programming concepts · 5 marks · official answer ready

(i) Write pseudocode statements to: • define the procedure with the parameter • store the name of the person in the file. .........................................................…

2025 October-November · Paper 23 · Q9(b)(ii)

Programming concepts · 2 marks · official answer ready

(ii) Write the pseudocode that uses the procedure StoreData() to store the name ‘Suella’ in the file People.txt ...................................................................…

2025 May-June · Paper 12 · Q2(a)

Programming concepts · 1 mark

(a) The image file was taken by a digital camera. Tick (✓) one box to show whether a digital camera is an example of an input, output, process or storage device. A input B output …

2025 May-June · Paper 12 · Q3(b)(ii)

Programming concepts · 4 marks · official answer ready

(ii) Give two other functions commonly found in an IDE. State the role of each function. Function 1 ...............................................................................…