Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions