Skip to content

Course home

Algorithms

Algorithms

EasyMediumHard
12345678910111213141516
Question 5

At a wind farm, the hourly energy output of various turbines is logged in a database table named tbl_TurbineOutput. Each record in this table contains the turbine's unique identifier (TurbineID) and the energy generated during that hour (EnergyMWh, in megawatt-hours).

Construct a flowchart to show an algorithm that calculates and outputs the total energy generated by a specific wind turbine.

The target turbine's ID is provided as an input at the start.

[6]
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