Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A file of 40 student records contains name, gender (male or female) and their program field (science or non-science) for cach student. An algorithm is
A file of 40 student records contains name, gender (male or female) and their program field (science or non-science) for cach student. An algorithm is needed to read through the filc and calculate the number of male and female science students, the number of male and female non-science students. The algorithm should also calculate the total numbers of science students and non-science student. Print these numbers on a student summary report. d) Draw a complete flow chart to represent your problem solution algorithm. (14 marks) Conduct desk checking for the above psedocode with the follwoing input: Name Jasmine Sooraya Charles Ng Seelan Ambrose Gender Female Male Male Field non-science non-sceince science Present your answer in three sections: i. Input data table Expected results Desk check table (12 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started