Edexcel IGCSEGeneralGeneral Applications8 Marks
A programmer is writing a program to manage a list of phone numbers. The program needs to be able to add a new phone number, delete an existing phone number and change an existing phone number. The phone numbers are stored in an array called `phonenumberlist`.
- (a)Write an algorithm, using pseudocode, to add a new phone number to the `phonenumberlist`.[4]
- (b)Explain two features that could make the program more user-friendly.[4]
Mark scheme
Marking points from the official mark scheme. The mark or mark type is shown in brackets.
- 8(a) M1 for input, A1 for adding, A1 for increasing length, M1 for logic.
- GET newPhoneNumber (1)
- phonenumberlist.append(newPhoneNumber) (1) (Alternative: phonenumberlist[length] = newPhoneNumber)
- length = length + 1 (1)
- Clear indication of adding to end of list / array, or inserting at a specific point with shifting (1)
- 8(b) Up to two of: B1 for each feature, B1 for explanation.
- Use of clear menus / instructions (1) (Explanation: Allows users to understand options and navigate easily) (1)
- Consistent layout / design (1) (Explanation: Makes the program predictable and easy to use) (1)
- Use of meaningful error messages (1) (Explanation: Helps users understand what went wrong and how to fix it) (1)
- Use of appropriate colours / fonts (1) (Explanation: Improves readability and visual appeal) (1)
- Use of help screens / tutorials (1) (Explanation: Provides guidance for new or confused users) (1)
- Use of graphical user interface (GUI) instead of command line (1) (Explanation: Provides visual elements, making it more intuitive) (1)
- Easy navigation (e.g. back buttons) (1) (Explanation: Users can easily move between different parts of the program) (1)
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →