Collection of course components and weighting schemes

Assignment Help C/C++ Programming
Reference no: EM13494441

You will write a program in C, in the Ubuntu Linux environment, to help the user compute their final grade in a course, based on multiple weighting schemes. Your program will prompt the user to enter the major course components. These are the items that are given weights in the course outline, for example Assignments, Tutorials, Tests, Final exam, etc. Then your program will prompt the user to enter some weighting schemes, with one value for each course component. For example, one weighting scheme could have 50% for Assignments, 10% for Tutorials and 40% for the Final exam. Another weighting scheme could weigh the Assignments at 40% and the Final exam at 60%. Finally, your program will prompt the user to enter the grade they received for each component, and print out the final grade the user would get based on each weighting scheme. In this assignment, you will:

• define the data type that represents the collection of course components and weighting schemes
• break down the required functionality into modular, reusable functions
• write the functions to prompt the user for the required course component and weighting scheme data, as well as the user's grades, and compute a final grade using each weighting scheme

Functionality

Write a main function and supporting functions that implement the required functionality:

• define the weighting schemes variable as a local variable in the main function
o there must be only one instance of the weighting scheme data in the entire program; do not make copies!
o this is not a global variable
• prompt the user to enter the course component data
• prompt the user to enter the weighting scheme data
• prompt the user to enter their grade for each course component
• compute a final grade using each weighting scheme and the user's grades
• print out the final grades to the screen

Reference no: EM13494441

Questions Cloud

Explain how the web user interfaces help donors : Explain how the Web user interfaces help donors to make decisions
Define use of future salaries in its computation? : Alternative methods exist for the measurement of the pension obligation (liability). Which measure requires the use of future salaries in its computation?
Estimate the bulk modulus of the liquid : In a liquid with a density of 1500 kg/m^3, longitudinal waves with a frequency of 360 Hz are found to have a wavelength of 7.70 m. Calculate the bulk modulus of the liquid
Explain the difference between a law and a theory : The difference between a law and a theory is the difference between what and why. Explain.
Collection of course components and weighting schemes : Define the data type that represents the collection of course components and weighting schemes and break down the required functionality into modular, reusable functions
How wide will the picture be on the screen : In a slide or movie projector, the film acts as the object whose image is projected on a screen. how wide will the picture be on the screen
Explain which is more dense argon or xenon : Which is more dense, Argon or Xenon? Assumente temperature and pressure are constant. Explain.
What power of sound does the jet produce at take-off : A jet plane at take-off can produce sound of intensity 9.20 W/m^2 at 30.2 m away. What power of sound does the jet produce at take-off
What amount should appear in dodger statements : Which of the following creates a permanent difference between financial income and taxable income?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Develop data structures - chord system

Develop data structures which are suitable to hold required information for each peer in a CHORD system. Note that index nodes can hold local information only

  Lab-1the goal of this lab is to better familiarize you with

lab-1the goal of this lab is to better familiarize you with polymorphism and the factory design pattern two key

  Print each employee''s identification number

1) in a program you need to store the identification numbers of 10 employees (as ints) and their weekly gross pay (as doubles) A) Define two arrays that may be used in parallel to store the 10 employee indentificcation numbers and gross pay amounts B..

  Programming assignment is to tweak the existing mammal

programming assignment is to tweak the existing Mammal program and create your own Vehicle program.

  Individual genes are substrings of a genome

Individual genes are substrings of a genome delineated by 3-element start and stop codons. Genes begin with the start codon ATG and end with one of the following 3 stop codons: TAG, TAA or TGA. Note that start codons can appear anywhere in the string..

  Implement recursive algorithms using a stack

Show the difficulties of the added complexity and which of the two sorts is easier to implement nonrecursively? Why?

  Write an application that reads the user''s weight

Write an application (BMICalc) that reads the user's weight in poinds and height in inches, then calculates the Body Mass Index.

  What is a cell reference

What is a cell reference (also called a cell address) and what is the significance of being able to use them in spreadsheet formulas?

  Discuss the advantages and disadvantages of both the

discuss the advantages and disadvantages of both the structured and object-oriented oo paradigm in programming. why do

  Write a method, to be included in a template unsorted list

Write a method, to be included in a template unsorted list class that will print (or reurn) the smallest and the largest values in the list.

  Once the user enters a 0

Once the user enters a 0 you will exit the loop, close the file and execute the code as previously designed until you have displayed all of the scores and the average handicap.

  Define a class named payment that contains an instance

Define a class named Payment that contains an instance variable of type double that stores the amount of the payment and appropriate accessor and mutator methods.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd