8.1 Programming concepts
223 questions in this subtopic. Open a question to solve it and check the official answer.
Programming concepts · 3 marks · official answer ready
(ii) Identify one variable that you could have used for Task 2. Give the data type and use of the variable. Variable ..............................................................…
Programming concepts · 3 marks · official answer ready
(b) Explain how your program showed the days available for booking in Task 1. .....................................................................................................…
Programming concepts · 1 mark · official answer ready
(b) State how the final output from the algorithm could be improved. ..............................................................................................................…
Programming concepts · 2 marks · official answer ready
(a) Explain how the SSL protocol secures the data for transmission. ...............................................................................................................…
Programming concepts · 2 marks · official answer ready
(i) Identify one variable you could have used for Task 2 and state its use. Variable ..............................................................................................…
Programming concepts · 3 marks · official answer ready
(b) Describe how you could validate the data entry for the input of the codes for the different stages of the journey in Task 2. ..................................................…
Programming concepts · 0 marks
4 The pseudocode algorithm should work as a calculator and output the result. 1 Continue 1 2 WHILE Continue = 0 3 OUTPUT "Enter 1 for +, 2 for -, 3 for * or 4 for /" 4 INPUT Opera…
Programming concepts · 0 marks · official answer ready
5 OUTPUT "Enter the first value"
Programming concepts · 0 marks
8 OUTPUT Value2
Programming concepts · 0 marks
13 4: Answer Value1 / Value2
Programming concepts · 0 marks
18 IF MoreValues = "No"
Programming concepts · 8 marks · official answer ready
(b) Describe how the sensors and the microprocessor control the security light system. ............................................................................................…
Programming concepts · 3 marks · official answer ready
(i) Identify one constant you could have used for Task 1, give the value that would be assigned to it and its use. Constant .......................................................…
Programming concepts · 4 marks · official answer ready
(ii) Identify one variable and one array you could have used for Task 1. Explain the use of each one. Variable ....................................................................…
Programming concepts · 4 marks · official answer ready
(b) Explain how you should change your program in Task 1 to allow a tutor to enter up to eight candidates for the election. .......................................................…
Programming concepts · 3 marks · official answer ready
(a) Describe what happens in this algorithm. ......................................................................................................................................…
Programming concepts · 3 marks · official answer ready
(b) Write the pseudocode to output the contents of the arrays Score[] and Grade[] along with suitable messages. ...................................................................…
Programming concepts · 3 marks · official answer ready
(c) Describe how you could change the algorithm to allow teachers to use it with any size of class. ...............................................................................…
Programming concepts · 2 marks · official answer ready
(b) Describe the purpose of the algorithm. ........................................................................................................................................…
Programming concepts · 6 marks · official answer ready
2 (a) Write an algorithm in pseudocode to input 500 positive whole numbers. Each number input must be less than 1000. Find and output the largest number input, the smallest number…
