Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Students' midternm and final grades are entered separately in a vector (Grades are between 0 and 100). is an integer, assuming that every student takes

Students' midternm and final grades are entered separately in a vector (Grades are between 0 and 100). is an integer, assuming that every student takes the exams and that the grades are entered correctly by the user). Final Grade (DSN) by taking 40% of the visa grade and 60% of the final grade for each student will be calculated and kept in a vector. Final grades will be rounded to the nearest whole number. Then, using the table below, the final grades will be converted into Letter Success Grades (HBN) and will be kept in a separate vector: Final Grade Letter Success Grade 90-100 AA 82-89 BA 73-81 BB 65-72 CB 57-64 CC 48-56 DC 40-47 DD 0-39 FF Finally, the frequency and percentage of each letter will be found and printed on the screen. Write the algorithm, flowchart and R program that perform the operations described above. You will write Note the following elements in the program: (i) Midterrm and final grades will not be entered on the keyboard, they will be It will be defined as a vector and entered in the code (do not use the readline command). (ii) Program He will determine the number of students () from the data entered. (iii) A function will be written for HBN calculation, The final grade of each student in the program is sent to this function and the letter success grade is returned. will be returned. (iv) All functions to be used in the program must be written in the main program, a separate R It should not be called from the program (library). (v) Finding the frequency and percentages of letter success grades Ready-made R commands should not be used for

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions