Skip to content

Course home

Algorithms

Algorithms

EasyMediumHard
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
Question 59

VoltStream, a smart-grid energy provider, issues weekly usage statements to its customers.

An example statement for one customer is shown below:

Customer Code: VS-98421

Dear Elena,

You have consumed 340.5 kWh of electricity. You have fed back 120.0 kWh of solar energy to the grid. Your standard charge is £54.48, and your feed-in credit is £18.00. Your net bill amount is £36.48.

Thank you for choosing VoltStream Energy.

Draw a diagram of a data structure suitable for storing this customer statement data. Your diagram must show data for at least two customers.

[3]
Markscheme

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms

159 exam-style questions on Edexcel GCSE Computer Science Algorithms, covering Constructs for solving problems, Variables, constants and data structures, Arithmetic, relational and logical operators, Tracing algorithm output with trace tables, Types of error and correcting logic errors, Standard algorithms (sorts and searches), and Evaluating algorithm fitness and efficiency. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank