I am trying to build a simple application using Ethereum Smart Contracts that requires storing marks of students. How should I store and retrieve them?
Say there are students and few subjects that each student takes. My idea is to store marks of a student in a particular subject as a transaction and such transactions will be mined into a block. I will then note down the block number to which this transaction was mined against the student in a separate database. This database will be storing student name/id, subject and block number where I can find the student's marks.
Is this a good approach? Also, is it possible to retrieve data (marks) from multiple blocks to display a consolidated marksheet?
How will I need to modify the smart contract if I would also like to store students' feedback regarding the tests?
If you can direct me to a smart contract example/tutorial explaining the storage and data retrival part, I will be grateful. Many Thanks in advance!