Data model on online exam system
For future additions etc. it is better to have a course table and refer to it in your questions table. This gives you flexibility when modifying your structure.
Again, for future additions you had better to have a separate answer table.


Your design can be like this:



Since it is a one-to-many relationship, there will be a course_id field in the question table.