Description: In a hypothetical class, students take two midterms and an optional final. If a student takes the final and gets in it a better score than the lowest of the two midterm scores, then the lowest midterm score would be replaced by the comprehensive final score. The overall score will then be calculated by averaging the three test scores. If the student does not take the optional final, the overall score is calculated using only the two midterm scores. Students’ exam scores are included in the “Question1” tab in the attached worksheet. Empty data entries for the optional comprehensive final means that the student did not take the optional final. Tasks: Task 1: In Question1_Module, code a function that requires midterm1 score, midterm2 score, and comprehensive final as inputs and calculate the overall score per the description above. Task 2: In Question1_Module, code a Sub that uses the function coded in task 1 to fill column ‘I’ of the worksheet and link this sub to the “Perform Calculations” button in the worksheet. Task 3: In Question2_Module, Create a Record Type “Student” that contains the following fields i. StudentID ii. FinalScore iii. ComprehensiveTaker iv. StudentGPA Task 4: Declare a Public variable with the name “CEEStudent”, Size 30, and of the Type “Student” Task 5: Write a procedure that reads and stores all student IDs, FinalScores, and StudentGPAs from Question1 sheet in the CEEStudent variable. Set ComprehensiveTaker to true if the student took the comprehensive, and false otherwise (i.e., if no score is shown in column G), and print the value of ComprehensiveTaker in column ‘J’.
Description: In a hypothetical class, students take two midterms and an optional final. If a student takes the final and gets in it a better score than the lowest of the two midterm scores, then the lowest midterm score would be replaced by the comprehensive final score. The overall score will then be calculated by averaging the three test scores. If the student does not take the optional final, the overall score is calculated using only the two midterm scores. Students’ exam scores are included in the “Question1” tab in the attached worksheet. Empty data entries for the optional comprehensive final means that the student did not take the optional final. Tasks: Task 1: In Question1_Module, code a function that requires midterm1 score, midterm2 score, and comprehensive final as inputs and calculate the overall score per the description above. Task 2: In Question1_Module, code a Sub that uses the function coded in task 1 to fill column ‘I’ of the worksheet and link this sub to the “Perform Calculations” button in the worksheet. Task 3: In Question2_Module, Create a Record Type “Student” that contains the following fields i. StudentID ii. FinalScore iii. ComprehensiveTaker iv. StudentGPA Task 4: Declare a Public variable with the name “CEEStudent”, Size 30, and of the Type “Student” Task 5: Write a procedure that reads and stores all student IDs, FinalScores, and StudentGPAs from Question1 sheet in the CEEStudent variable. Set ComprehensiveTaker to true if the student took the comprehensive, and false otherwise (i.e., if no score is shown in column G), and print the value of ComprehensiveTaker in column ‘J’.
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
Description:
In a hypothetical class, students take two midterms and an optional final. If a student takes the final and gets in it a
better score than the lowest of the two midterm scores, then the lowest midterm score would be replaced by the
comprehensive final score. The overall score will then be calculated by averaging the three test scores. If the student
does not take the optional final, the overall score is calculated using only the two midterm scores. Students’ exam
scores are included in the “Question1” tab in the attached worksheet. Empty data entries for the optional
comprehensive final means that the student did not take the optional final.
Tasks:
Task 1: In Question1_Module, code a function that requires midterm1 score, midterm2 score, and comprehensive
final as inputs and calculate the overall score per the description above.
Task 2: In Question1_Module, code a Sub that uses the function coded in task 1 to fill column ‘I’ of the worksheet
and link this sub to the “Perform Calculations” button in the worksheet.
Task 3: In Question2_Module, Create a Record Type “Student” that contains the following fields
i. StudentID
ii. FinalScore
iii. ComprehensiveTaker
iv. StudentGPA
Task 4: Declare a Public variable with the name “CEEStudent”, Size 30, and of the Type “Student”
Task 5: Write a procedure that reads and stores all student IDs, FinalScores, and StudentGPAs from Question1
sheet in the CEEStudent variable. Set ComprehensiveTaker to true if the student took the comprehensive, and
false otherwise (i.e., if no score is shown in column G), and print the value of ComprehensiveTaker in column ‘J’.
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 4 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