Enjoy the best grades that will raise your GPA.

Category: C++

You are working for a university to maintain a list of grades and some related s

You are working for a university to maintain a list of
grades and some related statistics for a student.
Class
and Data members:
Create a class
called Student that stores a student’s grades (integers) in a vector (do not use an
array). The class should have data
members that store a student’s name
and course for which the grades are earned.
Constructor(s):
The class should have a 2-argument constructor that receives the student’s name and
course as parameters and sets the appropriate data members to these values.
Member
Functions:
The class should have functions as follows:
1. Member
functions to set and get the student’s name and course
variables.
2. A
member function that adds a single grade to the vector. Only positive grades are allowed. Call this function AddGrade.
3. A
member function to sort the
vector in ascending order.
Feel free to use the sort function that is available
in the algorithm library for sorting vectors.
Here is a web page that may help:
https://www.tutorialspoint.com/sorting-a-vector-in-cplusplus
Or, if you would prefer to write your own sort code,
you may find this site to be helpful:
http://www.cplusplus.com/articles/NhA0RXSz/
4. A
member function to compute the average (x̄) of the grades in the vector. The
formula for calculating an average is

= ∑xi / n
where xi is the value of each grade and

You are working for a university to maintain a list of grades and some related s

You are working for a university to maintain a list of
grades and some related statistics for a student.
Class
and Data members:
Create a class
called Student that stores a student’s grades (integers) in a vector (do not use an
array). The class should have data
members that store a student’s name
and course for which the grades are earned.
Constructor(s):
The class should have a 2-argument constructor that receives the student’s name and
course as parameters and sets the appropriate data members to these values.
Member
Functions:
The class should have functions as follows:
1. Member
functions to set and get the student’s name and course
variables.
2. A
member function that adds a single grade to the vector. Only positive grades are allowed. Call this function AddGrade.
3. A
member function to sort the
vector in ascending order.
Feel free to use the sort function that is available
in the algorithm library for sorting vectors.
Here is a web page that may help:
https://www.tutorialspoint.com/sorting-a-vector-in-cplusplus
Or, if you would prefer to write your own sort code,
you may find this site to be helpful:
http://www.cplusplus.com/articles/NhA0RXSz/
4. A
member function to compute the average (x̄) of the grades in the vector. The
formula for calculating an average is

= ∑xi / n
where xi is the value of each grade and

In this assignment, you are going to build a Pokédex. A Pokédex is an electronic

In this assignment, you are going to build a Pokédex. A Pokédex is an electronic Pokémon index that allows
players in the Pokémon series of games (called “trainers”) to keep track
of which Pokémon they have encountered throughout the game and which
Pokémon they have managed to catch. The Pokédex catalogs useful
information about various Pokémon species such as height, weight, type
and a description of the Pokémon in question. In this assignment, you
will be recreating some of the features of the original Pokédex.
Fig 1. A Pokédex from the
Pokémon anime [1].
Exercise:
1) Write a program that takes the data from this comma-separated value file: https://bit.ly/3whmJLZ and stores each
column as a separate 1-D array.
– Option 1 (easy mode): using MS Excel, Google Sheets or some other program, prepare the file into 4 separate data files (.txt files are fine too):
> name.dat
> classification.dat
> type1.dat
> type2.dat
– Option 2 (hard mode for +1 extra credit point): write a parser function that reads in the CSV file as-is!
2) Once the data is stored in its respective arrays, write an interface that prompts the user if they would like
to search by name or by number.
– If they choose to search by name, allow them to enter the name of the
Pokemon. If there is no matching Pokemon name, tell the user and prompt them
to try again.
– If they choose to search by number, allow them to provide the number. If there is no matching
number, tell the user and prompt them to try again.
3) Once the user has provided a name or a number that matches, return a Pokedex entry that
informs the user of the number, classification, description, type1 and type 2.
It should look something like this:
> Welcome to the Pokedex. Would you like to search by name or by number?
name
> Please enter the name of the Pokemon:
Bulbasaur
> Bulbasaur, Pokedex Number 001, Seed Pokemon, type1: grass, type2: poison
> Would you like to search for another Pokemon (y/n)?
y
> Would you like to search by name or by number?
number
> Please enter the number of the Pokemon:
0
> I’m sorry, but there is no known Pokemon by that number.
> Please enter the number of the Pokemon:
800
> Necrozma, Pokedex Number 800, Prism Pokemon, type 1: psychic, type 2: None
> Would you like to search for another Pokemon (y/n)?
N
> Thank you for using your Pokedex!
Testing:
– Test that your program is working. Provide 1 screenshot demonstrating
a search by number and a search by name.

Hello, I have already written the draft for my paper but I need most parts to be

Hello, I have already written the draft for my paper but I need most parts to be rewritten and corrected for the final version. My professor has already provided me with the exact things to write about/tweak in the draft, and I just need help doing this. It is important that the paper contains 10 scolarly articles and 2 books or ebooks (which I already have found and are included in the draft.) Also, proving the thesis and research question is extremely important because this course is based on this. (Research Question and Thesis are already found/implemented in text, they just need to be proved better)
You will also notice that the format/paragraphs are based on the outline and need to follow and make sense of the points at all times. T.A.X.E.S method needs to be used for each paragraph to ensure that everything is understood clearly. Also, the color code works as follows: Blue= Blah Blah, confusing words/sentences or needs more explanation Green = grammar Orange= wrong info Pink= Pointless , things not needed Purple= use another word, too weak or intense Red= Read comments and suggestions ((((P)))) ((((S)))) = create new paragraph/sentence (((( W)))) = missing words ((( C )))= add in text citations (((( P#)))) add a page number (((( D)))) = add date
Double spaced, Times New Roman 12 (all throughout paper)
Please ensure that guidelines and teachers suggestions are implemented and that CITATIONS are correctly placed in text
For my privacy, I have scribbled my name off the cover page of the PDF corrected version, thank you for not viewing the content.
Thank you very much it is appreciated

© 2022 assignmetshive

Theme by Anders NorenUp ↑