Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Watson Elementary School contains 30 classrooms numbered 1 through 30. Each clas

ID: 3693829 • Letter: W

Question

Watson Elementary School contains 30 classrooms numbered 1 through 30. Each classroom can contain any number of students up to 35. Each student takes an achievement test at the end of the school year and receives a score from 0 through 100. Write a program (data flow diagram and pseudocode) that accepts data for each student in the school—student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

Note: I am in programming logic and design (intro to programming). I don't know any programming languages. It is a basic intro course. Please include the actual diagrams so that I can see the correct layout and include proper spacing in the pseudocode, PLEASE!!

Explanation / Answer

Answer for Question:

This below Student algorithm or pseudo code for student information reading and printing with help of structures.
why because all the student information is grouped under School structure.

From then passing the object to methods

Pseudo Code :

struct School
{
   int student_id;
   int classroom_number;
   int score_achivement_test;
};

School object;
function Read_Student_Data(School object):
begin
   print "enter School Student id between 1 to 35"
   read object.student_id;
   // Student shoud be 1 to 35 as given in problem
   if 1 < object.student_id < 35 :
       print "student is between 1 to 35"
   else
       read object.student_id;

   print "enter School Student classroom_number between 1 to 30"
   read object.classroom_number;
   // Student shoud be 1 to 30 as given in problem
   if 1 < object.classroom_number < 30 :
       print "student is between 1 to 30"
   else
       read object.classroom_number;
      
   print "enter School Student score_achivement_test between 1 to 100"
   read object.score_achivement_test;
   // Student shoud be 1 to 100 as given in problem
   if 1 < object.score_achivement_test < 100 :
       print "student is between 1 to 100"
   else
       read object.score_achivement_test;
  
end
function print_student_data(School object):
begin
   print "Student Id is :", object.student_id;
   print "Student classroom number is :", object.classroom_number;
   print "Student score in achievement test is :", object.score_achivement_test;
end

main():
begin
School object;
Read_Student_Data(object);
print_student_data(object);

end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote