Computer Science 0478 · 8

8.1 Programming concepts

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

Reset
2022 May-June · Paper 22 · Q4(b)

Programming concepts · 1 mark · official answer ready

(b) State how the final output from the algorithm could be improved. ..............................................................................................................…

2022 May-June · Paper 23 · Q1(a)

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 ...............................................…

2022 May-June · Paper 23 · Q1(c)

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. ..............................…

2022 May-June · Paper 23 · Q3

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 ..................................................................…

2022 May-June · Paper 23 · Q4(b)

Programming concepts · 2 marks · official answer ready

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

2022 February-March · Paper 12 · Q4(c)

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…

2022 February-March · Paper 22 · Q1(a)

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…

2022 February-March · Paper 22 · Q1(b)

Programming concepts · 4 marks · official answer ready

(b) Describe how your program set the scores to zero before each round for Task 1. ................................................................................................…

2022 February-March · Paper 22 · Q2(b)

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…

2022 February-March · Paper 22 · Q4(b)

Programming concepts · 2 marks · official answer ready

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

2022 February-March · Paper 22 · Q4(c)(i)

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. ...............................................................................…