Neco 2018 Computer Studies Question 8

Practice essay / theory question 8 from the 2018 Neco Computer Studies examination. This question covers Basic Programming, Python, BASIC .

Neco 2018 Computer Studies Essay / Theory
Topics: Basic Programming Python BASIC
Question 8 NECO • 2018 • COMPUTER_STUDIES • essay

A teacher wants to develop a simple program to manage students' test scores. The program must: 1. Read the number of students (N). 2. Read each student's score (0‑100). 3. Compute the class average, the highest score and the lowest score. 4. Display the number of students in each grade category: - A : 70‑100 - B : 60‑69 - C : 50‑59 - D : 45‑49 - F : 0‑44 Answer the following questions.

Question Parts

( a )
Write a complete Python program that fulfils the four requirements listed above. Use clear variable names and include comments.
( b )
Modify the program in (a) so that if a score entered is outside the range 0‑100 the program displays an error message and repeatedly prompts for that student's score until a valid value is entered. Show the revised code.

Detailed Solution & Marking Scheme

Get the step-by-step solution, key points required by examiners and detailed marking guidance through the Edcrib AI Tutor.

Reveal Answer

About This Question

This is Neco 2018 Computer Studies Question 8. It is one of the essay questions from the 2018 Neco Computer Studies examination.

The question covers Basic Programming, Python, BASIC .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support