



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This worksheet provides a practical introduction to programming fundamentals, focusing on algorithm design and pseudocode. It includes tasks such as explaining how a total monthly charge is calculated based on given conditions, completing a table to identify variables, constants, data types, and typical values, and writing pseudocode for an algorithm that formats a user's name. The worksheet also covers basic programming concepts like input, output, and calculations, making it a valuable resource for students learning the basics of programming. It is designed to enhance understanding of fundamental programming concepts and problem-solving skills. The exercises are structured to build a solid foundation in programming logic and algorithm development, essential for further studies in computer science.
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Name: ...................................................................................................... Class: ......................
The flowchart depicts an algorithm for computing the monthly bill for calls on a mobile phone. totalCharge = totalCharge
(a) Explain how the total monthly charge is calculated. (b) Complete the table below to: State whether the identifier is a variable or constant State the data type that would be required Give a typical value for each identifier Identifier Variable or constant? Data type? Typical value? monthlyTariff totalCharge minutesUsed extraMinutes perMinuteRate extraCharge (c) Assume the basic monthly tariff is £23.00 per month, and that extra minutes are charged at 2p per minute. A customer makes calls totalling 700 minutes on their phone. What is their total change that month?