Programming
221 questions. Open a question to solve it and check the official answer.
Programming · 5 marks · official answer ready
(d) Explain how your program completes these parts of Task 2: • Count the number of members of each membership type who did not pay the annual fee. • Display these counts as a per…
Programming concepts · 3 marks · official answer ready
(b) Describe how the algorithm could be changed so that it does not output any counts of zero. ....................................................................................…
Programming concepts · 2 marks · official answer ready
(i) Identify one constant you could have used for Task 1 and state its value. Constant ............................................................................................…
Programming · 3 marks · official answer ready
(b) Describe how your program could validate the input for the day number within the two-week period to make sure an appropriate value is entered (part of Task 1). You must includ…
Programming · 3 marks · official answer ready
(d) Explain how your program in Task 2 could be altered so that bookings can be made for any time over a four-week period instead of the current two-week period. Any programming s…
Programming · 4 marks · official answer ready
(e) Explain how your program records and outputs the number of accessible and general parking spaces used for the two-week period (part of Task 3). Any programming statements used…
Programming concepts · 4 marks · official answer ready
2 Draw a line to connect each programming concept to the most appropriate description. Programming concept Description carrying out an action multiple times within a loop structur…
Arrays · 4 marks · official answer ready
(b) The corrected algorithm needs to be changed so that any number of marks may be entered and the algorithm runs until the user tells it to stop. Write the new pseudocode stateme…
Programming concepts · 3 marks · official answer ready
(i) Identify one constant that you could have used for Task 1. State the value that would be assigned to the constant. Give a reason why a constant was used rather than a variable…
Programming · 3 marks · official answer ready
(ii) Describe the array that you set up in Task 1 to record the customer details. Include the name, data type and sample data for the array in your description. ..................…
Programming · 5 marks · official answer ready
(d) Explain how your program completed Task 3. Any programming statements that you include in your answer must be fully explained. ................................................…
Programming concepts · 3 marks · official answer ready
(b) Describe how the algorithm could be changed to output the number of times each value has been input, starting with the highest value. .........................................…
Programming concepts · 2 marks · official answer ready
(ii) State which of these identification numbers have incorrect check digits. A 123455 B 691400 C 722855 D 231200 .................................................................…
Programming concepts · 3 marks · official answer ready
(b) Explain how you could extend the algorithm to allow for the sale of more than one wheelbarrow at a time. ......................................................................…
Programming concepts · 6 marks · official answer ready
12 Computer ethics are a concern for any users of the Internet. Identify and describe three ethical issues that could be a concern when using the Internet. .......................…
Programming concepts · 5 marks · official answer ready
1 (a) Describe the data structures you could have used in Task 1. Your description should include types of data structure, names used for data structures, their uses and examples …
Programming concepts · 3 marks · official answer ready
(b) Explain how you could change your program in Task 1 to total all the money collected from new members who have paid. ..........................................................…
Programming concepts · 3 marks · official answer ready
(c) Describe how data input in Task 1 could be validated to find out if a new member wants to work as a volunteer. ................................................................…
Programming · 4 marks · official answer ready
(e) Explain how your program allows any one of the member or volunteer lists to be selected and displayed (part of Task 2). Any programming statements used in your answer must be …
Programming concepts · 4 marks · official answer ready
2 Tick (ü) one box in each row to identify the most appropriate data type for each description. Only one tick (ü) per column. Data type Description Boolean Char Integer Real Strin…
