Write an Algorithm read the marks of a student and classify them into different grades.
If the marks secured are greater than or equal to 90, the student is awarded Grade A;
if they are greater than or equal to 80 but less than 90, Grade B is awarded; if they are
greater than or equal to 65 but less than 80, Grade C is awarded; otherwise Grade D is
awarded.How is data stored in computers?
Answers
Answered by
2
Explanation:
when green flag is clicked
ask what are your marks
if answer>90
say A
if answer is >79and<90then say b
........
Answered by
0
The algorithm for the above question is listed below:-
Explanation:
- Take the marks of the students as input and store it in marks variable.
- Check the value of the "marks" is greater than or equal to 90 or not.
- If true then the grade A will assign on the grade variable.
- If false then check the value of the "marks" is greater than or equal to 80 or not.
- If true then the grade B will assign on the grade variable.
- If false then again check that the value of the "marks" is greater than or equal to 65.
- If true then the grade C will assign on the grade variable.
- If false then D will assign on the grade variable.
- Then the value of the grade variable will be printed on the screen.
Concept of data store on the computer:
- The data is stored on the computer in the form of binary bits, because the computer can understands only binary language.
- It can stored on the hard disk of the computer when no program is using that data.
- But it is temporary store the copy of data in Ram when some program is using it.
Learn More:
- Algorithm :https://brainly.in/question/3600013
- Data store: https://brainly.in/question/1885567
Similar questions
Math,
5 months ago
Political Science,
5 months ago
English,
5 months ago
Math,
10 months ago
Physics,
1 year ago