Multiple possible approaches just from top of head:Single table with columns - id, question, answer A,.... answer F, correct answer (A, C, D) will require the answer string to be split into array by comma "," delimiter
Two tables
Table 1 - id, question, answer A,.... answer F
Table 2 - id, answer A(boolean).... answer F(boolean), where boolean represent if answer is true or false
Given that you are in 4th year one would presume you can think more pragmatically...
PS: I'm sure you read forum rules, but you may have missed this one Do provide evidence of having done some work yourself if posting questions from school or work assignments
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902