Algorithms You have been given a file with two columns containing the names of students and the grade they got in a Computer Science course. The grading has the following rules: HD (score is greater than 79), D (Score is greater than 69), C (score is greater 59), P (score is greater than 49), and F (score is less than 50). The file will look something like: Aakaansh 87 Aaron 69 Erika 80 Linh 71... It is not known at the outset how many rows are in the file, however the file will be terminated by EOF (end of file). a) Draw a flowchart (following the conventions used in class) that reads the file and then calculates and prints the number of students that scored HD, D, C, P, and F. b) . Draw a flowchart that reads the file and then calculates and prints the average score in the course c) ** What is the likely complexity of your program using big-O notation? Clearly point out what the primary parameters are and define your terms.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Read Algorithm And then solve it's parts

Algorithms
You have been given a file with two columns containing the names of students and the
grade they got in a Computer Science course. The grading has the following rules: HD (score is greater
than 79), D (Score is greater than 69), C (score is greater 59), P (score is greater than 49), and F (score
is less than 50). The file will look something like:
Aakaansh 87
Aaron 69
Erika 80
Linh 71.
It is not known at the outset how many rows are in the file, however the file will be terminated by EOF
(end of file).
a)
Draw a flowchart (following the conventions used in class) that reads the file and then
calculates and prints the number of students that scored HD, D, C, P, and F.
b)
Draw a flowchart that reads the file and then calculates and prints the average score in
the course
c)
what the primary parameters are and define your terms.
**
What is the likely complexity of your program using big-O notation? Clearly point out
Transcribed Image Text:Algorithms You have been given a file with two columns containing the names of students and the grade they got in a Computer Science course. The grading has the following rules: HD (score is greater than 79), D (Score is greater than 69), C (score is greater 59), P (score is greater than 49), and F (score is less than 50). The file will look something like: Aakaansh 87 Aaron 69 Erika 80 Linh 71. It is not known at the outset how many rows are in the file, however the file will be terminated by EOF (end of file). a) Draw a flowchart (following the conventions used in class) that reads the file and then calculates and prints the number of students that scored HD, D, C, P, and F. b) Draw a flowchart that reads the file and then calculates and prints the average score in the course c) what the primary parameters are and define your terms. ** What is the likely complexity of your program using big-O notation? Clearly point out
Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY