Standard methods of solution
9 past-paper questions on Standard methods of solution · examined 2020–2025.
20252 questions
Write the pseudocode statement that will output the average height rounded to one decimal place.
Identify the standard method of solution used by the flowchart.
20244 questions
Write the pseudocode statement that would output the average calculated in line 13 of the algorithm rounded to one decimal place.
Write a program that meets the following requirements: allows the number of matches played to be input and stored, with a maximum of 22 matches.
Explain why the corrected bubble sort algorithm is efficient.
Write pseudocode to display, with suitable messages: the number of values stored in the array and the average of those values stored.
20232 questions
Write a program that meets the following requirements: input and validate the hourly temperatures for one week; calculate and store the average temperature for each day of the week; calculate the average temperature for the whole week; convert all the average temperatures from Celsius to Fahrenheit by using the formula Fahrenheit = Celsius * 9 / 5 + 32; output the average temperature in Celsius and in Fahrenheit for each day; output the overall average temperature in Celsius and in Fahrenheit for the whole week.
A weather station takes temperature readings once an hour for a week. These temperatures are stored in a two-dimensional (2D) array Temperatures[] Each column contains 24 readings for a single day. The first temperature is recorded at 00:00 and the final temperature at 23:00. There are seven columns, one for each day of the week, starting with Monday and ending with Sunday. The variables MaxDay, MinDay and AvDay are used to store the maximum, minimum, and average temperatures for a day. The variables MaxWeek, MinWeek and AvWeek are used to store the maximum, minimum, and average temperatures f
You're viewing 8 of 9 questions
Free members see the first 8. Join Learning DEN Pro to unlock all 9 questions on this chapter — plus AI topical search, downloadable topical PDF packs, and examiner marking on any answer. From $9/month.
Don't just read the solution — get your own answer marked
Write your answer to any Computer Science past-paper question, photograph it, and Learning DEN marks it like a real examiner — marks awarded, where you lost them, and your predicted grade. 3 free gradings to start.