6:08 .ll LTE e online.claflin.edu CSCI 206 Lab Lab3 – Weighted Average Date: 31 January 2020 Due: 6 February 2020 Please submit your lab on Moodle. A lot of classes use a weighted grade for the final grade. This grading method gives a weight to each grade item which is usually shown in the syllabus of a class. It may seem complicated, but once you understand the formula, a calculation can be done easily. Here is an example. A class has the following as the weights of the grades for the class. Midterm Exam 25% Final Exam 25% Project 50% So, the formula for the example class final grade would look like this: Final Grade = (Midterm Exam grade * .25) + (Final Exam Grade * .25) + (Project grade * .5) CSCI 206 uses a weighted average for the class. Test 1 20% Test 2 20% Final Exam 20% Lab Assignments 30% 10% HW/Quizzes Create a program to calculate the final grade for this class using the example as a guide. The program you create should just deal with weighted average for CSCI 206 based on the chart from the syllabus. You will need to create variables for each grade item and initialize them. Create the formula to calculate the grade. Print out the following information. The grade for each grade item. The final grade for the class. Make sure to use variable names that make sense. Add comments to document your code. Comments are not optional and must be included. Your output should look something like this: Grade for Test 1: 100.0 Grade for Test 2: 90.0 Grade for Final Exam: 80.0 Lab average: 70.0 Homework/Quiz average: 80.0 Page 1 of 1 Your final grade for this class is: 83.0 program 8 public class HelloWorld public static void main(String[] args) 10 11 12 System.out.println("Hello World"); 13 14 ) Access Modifier • Keyword class • Following class is the name of the class
6:08 .ll LTE e online.claflin.edu CSCI 206 Lab Lab3 – Weighted Average Date: 31 January 2020 Due: 6 February 2020 Please submit your lab on Moodle. A lot of classes use a weighted grade for the final grade. This grading method gives a weight to each grade item which is usually shown in the syllabus of a class. It may seem complicated, but once you understand the formula, a calculation can be done easily. Here is an example. A class has the following as the weights of the grades for the class. Midterm Exam 25% Final Exam 25% Project 50% So, the formula for the example class final grade would look like this: Final Grade = (Midterm Exam grade * .25) + (Final Exam Grade * .25) + (Project grade * .5) CSCI 206 uses a weighted average for the class. Test 1 20% Test 2 20% Final Exam 20% Lab Assignments 30% 10% HW/Quizzes Create a program to calculate the final grade for this class using the example as a guide. The program you create should just deal with weighted average for CSCI 206 based on the chart from the syllabus. You will need to create variables for each grade item and initialize them. Create the formula to calculate the grade. Print out the following information. The grade for each grade item. The final grade for the class. Make sure to use variable names that make sense. Add comments to document your code. Comments are not optional and must be included. Your output should look something like this: Grade for Test 1: 100.0 Grade for Test 2: 90.0 Grade for Final Exam: 80.0 Lab average: 70.0 Homework/Quiz average: 80.0 Page 1 of 1 Your final grade for this class is: 83.0 program 8 public class HelloWorld public static void main(String[] args) 10 11 12 System.out.println("Hello World"); 13 14 ) Access Modifier • Keyword class • Following class is the name of the class
Chapter1: Creating Java Programs
Section: Chapter Questions
Problem 12PE
Related questions
Question
100%
This is Java. This is a beginner course.
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 3 steps with 3 images
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
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT