8.1 Programming concepts
171 questions in this subtopic. Open a question to solve it and check the official answer.
Programming concepts · 1 mark · official answer ready
(b) State how the final output from the algorithm could be improved. ..............................................................................................................…
Programming concepts · 4 marks · official answer ready
(a) Identify one variable and one array you could have used for Task 1 or Task 2. Give the use for the variable and array. Variable ...............................................…
Programming concepts · 4 marks · official answer ready
(c) Explain how your program in Task 2 could be altered to allow a 30% discount on bookings for the same meeting room of two to six days, inclusive. ..............................…
Programming concepts · 4 marks · official answer ready
3 Describe what is meant by the terms variable and constant and give an example of each in your answer. Variable ..................................................................…
Programming concepts · 2 marks · official answer ready
(b) State the purpose of this algorithm. ..........................................................................................................................................…
Programming concepts · 4 marks · official answer ready
(c) Pradeep stores his collection of films and his work files on his personal computer. Pradeep wants to save a copy of all his films and files onto a single storage device. Ident…
Programming concepts · 6 marks · official answer ready
(a) State one constant and 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. Explain wh…
Programming concepts · 4 marks · official answer ready
(b) Describe how your program set the scores to zero before each round for Task 1. ................................................................................................…
Programming concepts · 4 marks · official answer ready
(b) Write the extra pseudocode statements that are needed to count and output the number of students under the age of 7. Use the variable CountUnder7; assume CountUnder7 has alrea…
Programming concepts · 2 marks · official answer ready
(b) Describe the purpose of this algorithm. .......................................................................................................................................…
Programming concepts · 2 marks · official answer ready
(i) Describe the problem that occurs if a whole number smaller than 4 and not equal to –1 is input. ...............................................................................…
