Computer Science 2210 · 8

Programming

295 questions. Open a question to solve it and check the official answer.

Reset
2020 October-November · Paper 22 · Q1(a)(iii)

Programming concepts · 2 marks · official answer ready

(iii) Identify one constant you could have used for Task 3 and state its purpose. Constant ........................................................................................…

2020 October-November · Paper 22 · Q1(d)

Programming · 4 marks · official answer ready

(d) Explain how your program completes Task 3. Any programming statements used in your answer must be fully explained. ............................................................…

2020 October-November · Paper 22 · Q1(e)

Programming concepts · 2 marks · official answer ready

(e) Describe how you could alter your program to allow more than one computer to be bought. .......................................................................................…

2020 October-November · Paper 22 · Q2

Programming concepts · 2 marks · official answer ready

2 Tick (3) one box in each row to identify if the statement about subroutines is true or false. true false Statement (3) (3) A subroutine is called from within a program. A subrou…

2020 October-November · Paper 22 · Q4

Arrays · 6 marks · official answer ready

4 This pseudocode algorithm allows 5000 numbers to be entered and stored in an array called Number. FOR Count 1 TO 5000 INPUT Number[Count] NEXT Count Extend and re-write the algo…

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

Programming concepts · 2 marks · official answer ready

(b) Describe the purpose of the algorithm. ........................................................................................................................................…

2020 October-November · Paper 23 · Q1(a)

Programming concepts · 6 marks · official answer ready

(a) Identify one constant and identify one variable that you could have used for Task 1. Give the value that would be assigned to the constant. Give the data type for the variable…

2020 October-November · Paper 23 · Q1(b)(ii)

Programming concepts · 3 marks · official answer ready

(ii) Explain how your algorithm in part (b)(i) ensured that only valid choices were accepted for the filling. .....................................................................…

2020 October-November · Paper 23 · Q1(c)

Programming concepts · 2 marks · official answer ready

(c) Explain how you would need to change your program for Task 1 if there were three sizes of baguette to choose from (15 cm, 20 cm and 30 cm). ...................................…

2020 October-November · Paper 23 · Q1(d)

Programming · 4 marks · official answer ready

(d) Explain how your program completed Task 3. Assume that Task 2 has been completed. Any programming statements used in your answer must be fully explained. .....................…

2020 October-November · Paper 23 · Q2(a)

Programming concepts · 4 marks · official answer ready

(a) Give the line number(s) from the algorithm of: an assignment statement ........................................................................................................…

2020 October-November · Paper 23 · Q2(c)

Programming concepts · 4 marks · official answer ready

(c) Explain how you could extend the algorithm to count the number of times the temperature readings are within the range –18 degrees to –25 degrees inclusive. ...................…

2020 October-November · Paper 23 · Q3

Programming concepts · 4 marks · official answer ready

3 Four programming concepts and five descriptions are shown. Draw a line to connect each Programming concept to its correct Description. Not all Descriptions will be connected to …

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

Programming concepts · 2 marks · official answer ready

(b) Explain the purpose of this algorithm. ........................................................................................................................................…

2019 October-November · Paper 12 · Q1

Programming concepts · 4 marks · official answer ready

1 Computer memory size is measured in multiples of bytes. Four statements about computer memory sizes are given in the table. Tick (✓) to show if the statement is True or False. T…

2019 October-November · Paper 12 · Q6

Programming concepts · 6 marks · official answer ready

6 Touch screen technologies can be described as resistive or capacitive. Six statements are given about resistive and capacitive technology. Tick (✓) to show if the statement appl…

2019 October-November · Paper 12 · Q11(b)

Programming concepts · 2 marks · official answer ready

(b) Give two reasons why an SSD, rather than a HDD, is used in the mobile device. Reason 1 ........................................................................................…

2019 October-November · Paper 13 · Q4(c)

Programming concepts · 6 marks · official answer ready

(c) A sensor and a microprocessor are used to monitor the pH of the cleaning products. The system records each reading that is taken. If the reading is greater than 7 a warning me…

2019 October-November · Paper 13 · Q8

Programming concepts · 4 marks · official answer ready

8 A company discovers malware on its network. Explain two ways that the malware could have been introduced to the company’s network. ..............................................…

2019 October-November · Paper 22 · Q1(a)(i)

Programming concepts · 5 marks · official answer ready

(i) Describe the data structures that you have used to store the data for the concrete slabs in Task 1, include the name, data type and use for each data structure. ..............…