Computer Science, asked by abhiramchikkala, 10 months ago

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 sonalabhaysaraf1981
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 AskewTronics
0

The algorithm for the above question is listed below:-

Explanation:

  1. Take the marks of the students as input and store it in marks variable.
  2. Check the value of the "marks" is greater than or equal to 90 or not.
  3. If true then the grade A will assign on the grade variable.
  4. If false then check the value of the "marks" is greater than or equal to 80 or not.
  5. If true then the grade B will assign on the grade variable.
  6. If false then again check that the value of the "marks" is greater than or equal to 65.
  7. If true then the grade C will assign on the grade variable.
  8. If false then D will assign on the grade variable.
  9. 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