Each student of a degree in Computer Science has grades corresponding to eight different subjects and may not have a grade in any subject. Each subject corresponds to a certain coefficient. Write a pseudocode to calculate the average of each student. Modify the algorithm to obtain the following means:

Each student of a degree in Computer Science has grades corresponding to eight different subjects and may not have a grade in any subject. Each subject corresponds to a certain coefficient. Write a pseudocode to calculate the average of each student. Modify the algorithm to obtain the following means:

  1. Each student of a degree in Computer Science has grades corresponding to eight different subjects and may not have a grade in any subject. Each subject corresponds to a certain coefficient. Write a pseudocode to calculate the average of each student.
  2. Modify the algorithm to obtain the following means:
  3. class general
  4. of the class in each subject

 

Pseudocode.

Set Total to Zero. Set Grade Counter to One. While Grade Counter is Less Than or Equal to Ten. Input the Next Grade. Add the Grade into the Total Set the Class Average to the Total Divided by Ten. Print the Class Average.

We now write an algorithm to read a notebook and print it if the grade A or B is the only grade:


Take a notebook and read it. Just print the grade if grade A or B. Halt.

We are now writing an algorithm for reading and printing the grade if the grade is A only:


Take a notebook and read it. Print the grade if the grade is A. Nothing like that is printed. Halt.

iii. Percentage of absences (not submitted for examination)

Answer:

Algorithm.

Each participant obtains a leaflet with each leaflet bear the letters A, B, C or F.

First we write an algorithm to read a notebook and usually print the grade:

Take a notebook and read it. Print the Grade. Halt.

Order a similar paper

Get the results you need