8.1 Programming concepts
223 questions in this subtopic. Open a question to solve it and check the official answer.
Programming concepts · 2 marks · official answer ready
(b) Describe how the algorithm could be changed to make testing less time-consuming. ..............................................................................................…
Programming concepts · 3 marks · official answer ready
(b) State the type of each pseudocode statement. For example, X ← X + Y is totalling. IF Number = 20 ..............................................................................…
Programming concepts · 2 marks · official answer ready
(ii) Identify one variable you could have used for Task 2 and state its purpose. Variable .........................................................................................…
Programming concepts · 2 marks · official answer ready
(iii) Identify one constant you could have used for Task 3 and state its purpose. Constant ........................................................................................…
Programming concepts · 2 marks · official answer ready
(e) Describe how you could alter your program to allow more than one computer to be bought. .......................................................................................…
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…
Programming concepts · 2 marks · official answer ready
(b) Describe the purpose of the algorithm. ........................................................................................................................................…
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…
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. .....................................................................…
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). ...................................…
Programming concepts · 4 marks · official answer ready
(a) Give the line number(s) from the algorithm of: an assignment statement ........................................................................................................…
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. ...................…
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 …
Programming concepts · 2 marks · official answer ready
(b) Explain the purpose of this algorithm. ........................................................................................................................................…
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…
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…
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 ........................................................................................…
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…
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. ..............................................…
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. ..............…
