At the end of their final year students sit exams in 5 subjects labelled A, B, C, D and E, and submit a project P. The following algorithm determines the class of degree awarded. [NOTES: (1) Avg represents the average of all the exam and project marks taken together. (ii) The term {A, B, C..} > n tests that each of the values endosed is > n. ] IF Avg >= 50 AND {A, B, C, D, E, P} >= 50 THEN IF Avg >= 75 THEN Class = Distinction ELSE IF Avg >= 60 THEN Class = Merit ELSE Class = Pass ELSE IF P >= 50 AND (40 < A < 50 AND (B, C, D, E} >= 50 OR 40 < B < 50 AND (A, C, D, E} >= 50 OR 40 = 50 OR 40 < D < 50 AND (A, B, C, E} >= 50 OR 40 < E < 50 AND (A, B, C, D} >= 50) THEN CLASS = Pass ELSE Class - Fail The Assessment Committee has applied the algorithm by hand to the following candidates. To whom have they given the wrong classification? Candidate A B Avg 62 58 Class 55 61 62 75 52 Merit 72 71 66 80 52 47 65 Fail 55 45 58 59 49 60 57 Pass Is 57 68 73 41 55 62 58 Pass
At the end of their final year students sit exams in 5 subjects labelled A, B, C, D and E, and submit a project P. The following algorithm determines the class of degree awarded. [NOTES: (1) Avg represents the average of all the exam and project marks taken together. (ii) The term {A, B, C..} > n tests that each of the values endosed is > n. ] IF Avg >= 50 AND {A, B, C, D, E, P} >= 50 THEN IF Avg >= 75 THEN Class = Distinction ELSE IF Avg >= 60 THEN Class = Merit ELSE Class = Pass ELSE IF P >= 50 AND (40 < A < 50 AND (B, C, D, E} >= 50 OR 40 < B < 50 AND (A, C, D, E} >= 50 OR 40 = 50 OR 40 < D < 50 AND (A, B, C, E} >= 50 OR 40 < E < 50 AND (A, B, C, D} >= 50) THEN CLASS = Pass ELSE Class - Fail The Assessment Committee has applied the algorithm by hand to the following candidates. To whom have they given the wrong classification? Candidate A B Avg 62 58 Class 55 61 62 75 52 Merit 72 71 66 80 52 47 65 Fail 55 45 58 59 49 60 57 Pass Is 57 68 73 41 55 62 58 Pass
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education