Question

Please create few tables that meet the following requirements. Will definitely thumb up and appreciate that!!!...

Please create few tables that meet the following requirements.

Will definitely thumb up and appreciate that!!!

Requirements:

  1. Support an arbitrary number of quizzes, not just 1
  2. Support quizzes with a varying number of questions. (All quizzes do not have to have the same number of questions.)
  3. It will be possible to add or remove a question from a quiz
  4. It will be possible to print a quiz with a particular student's answers (a finished quiz), or without the answers (a blank quiz for someone to take)
  5. It will be possible to answer each question with a single answer or list of answer (such as types of music, or operating systems)_
  6. It will be possible to store information about a student (such as name and academic level), and about a quiz (such as the date of the quiz)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Below are the required tables and their schemas:

1. student: To store student information like name and academic level.

Column Type Description
student_id Integer Primary key
name Varchar Name of student
academic_level Varchar Academic level of student

2. quiz: To store quiz information like date and subject. Any number of records can be entered to this table which means arbitrary number of quizes is supported.

Column Type Description
quiz_id Integer Primary key
date Date Date of quiz
subject Varchar Subject of quiz

3. question: To store questions and their mapping with quiz table, i.e. which quiz each question belongs to. For a particular quiz_id, any number of question records can be inserted or deleted which means for a particular quiz questions can be added or deleted.

Column Type Description
question_id Integer Primar key
quiz_id Integer Foreign key to quiz table
q_content Varchar Content of the question
marks Integer Marks that the question carries

4. answer: To store information of which student answered which question and what was the answer. One student can have multiple answer records for the same question to answer questions like list of operating systems etc. Once can look up all the question_id for a particular quiz from "question" table and then look up their answers for a particular student_id from this "answer" table to get all the answers of a particular student for a particular quiz.

Column Type Description
student_id Integer Foreign key to student table
question_id Integer Foreign key to question table
a_content Varchar Content of the answer
Add a comment
Know the answer?
Add Answer to:
Please create few tables that meet the following requirements. Will definitely thumb up and appreciate that!!!...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Requirements For quiz must meet the following requirements: At least 5 questions, such as with radio...

    Requirements For quiz must meet the following requirements: At least 5 questions, such as with radio buttons or checkboxes Visual hints if the user requests it Visual feedback for correct and incorrect answers Summary assessment based on the score Extra Challenges Consider the follow additions for a snazzier quiz: Animated feedback Remove incorrect answers to highlight correct answers Use of additional controls for providing answers and requesting feedback HTML CODE Control Examples src="http://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"> Control Examples What is your...

  • Please answer the exact answer and I will definitely rate you like/ thumb up. Thank you!...

    Please answer the exact answer and I will definitely rate you like/ thumb up. Thank you! Problem 3-31 (Algorithmic) Gulf Coast Electronics is ready to award contracts to suppliers for providing reservoir capacitors for use in its electronic devices. For the past several years, Gulf Coast Electronics has relied on two suppliers for its reservoir capacitors: Able Controls and Lyshenko Industries. A new firm, Boston Components, has inquired into the possibility of providing a portion of the reservoir capacitors needed...

  • Hi, please help with the question below. Make sure you meet these requirements or else you...

    Hi, please help with the question below. Make sure you meet these requirements or else you will directly receive a thumb down. Thank you. 1. Answer all the questions. 2. Strictly follow the format as the chart in the picture. 3. Give me your calculation process. 4. Answer the questions only in the case that you are confident that you can get it correct. Kubin Company's relevant range of production is 15,000 to 19,000 units. When it produces and sells...

  • help please!!! The following table gives the number (lin millions) of men and women over the age of 24 at each level of educational attainment Did not College a Total Completed Some Gende...

    help please!!! The following table gives the number (lin millions) of men and women over the age of 24 at each level of educational attainment Did not College a Total Completed Some Gender complete high school college graduate high school Males 12.9 15.9 96.3 30.7 90.8 128 41.31037 103.7 Females 12.8 25.7 31.8 17.8 200 62.5 78.1 Total 33.7 A What is the probability that a randomly selected person over the age of 24 did not complete high school?(answer with...

  • There are two parts to this journal: 1. Create a one- two page contract for those...

    There are two parts to this journal: 1. Create a one- two page contract for those students you are a Peer Educator for explaining THEIR duties as a student and what you as a Peer Educator will do for them. Think of it as a Learning Agreement! You can format any way you like. 2. Briefly explain what a typical Peer Education session for you looks like. Do you use any of the mentions skills? How do you Peer Educate?...

  • Hello, please please please answer these questions! I would appreciate it!!! Thank you soooo much!!!! Questions...

    Hello, please please please answer these questions! I would appreciate it!!! Thank you soooo much!!!! Questions 2 to 4 are based on the following scenario Question 2: Although the following scenario is hypothetical, it is based on actual facts. Pukaha National Wildlife Centre is a captive breeding facility located in a protected forest area in the lower part of the North Island of Aotearoa, New Zealand. It aims to restore native wildlife, with its initial target on birds. One of...

  • Programming Assignment Objective Write a Java program that utilizes multiple classes. Write a Java program that...

    Programming Assignment Objective Write a Java program that utilizes multiple classes. Write a Java program that utilizes inheritance in a practical manner. Problem: Quiz Bowl Your high school quiz bowl team has been losing its edge and needs to find a method to improve. Knowing that you are a savvy programmer, your coach asks you to write a program that the team members can use to hone their skills. Quiz Bowl questions come in three varieties: True/False Multiple Choice (variable...

  • please help me with part 2 question Α. D ΕΕ ADC UTUP AS Tent Kolbec Community...

    please help me with part 2 question Α. D ΕΕ ADC UTUP AS Tent Kolbec Community College (KCC) has 4,000 full-time students and offers a variety of academic programs in three areas: professional studies, arts, and technology. The professional studies programs prepare students for administrative and clerical jobs in a variety of professional settings, including accounting, medicine, and law. The arts program's offerings are wide ranging and include graphic design, digital animation, culinary arts, cosmetology, and music arts. The technology...

  • i will give a thumb up for sure if it helps me :) Please Summarize this...

    i will give a thumb up for sure if it helps me :) Please Summarize this article about Communicating competitive information,and Applying Game Theory To Managing Price Competition. Pricing Strategies Course -No longer than 400 words. Like any other type of market research, information about competitors will be most valuable if it is collected and stored in a systematic way. Activities such as shopping the competition should be done thoroughly and periodically. Information from different sources should be merged into...

  • Hi Please answer the questions below. I do not need an explanation. Just the correct answer....

    Hi Please answer the questions below. I do not need an explanation. Just the correct answer. Thank you! QUESTION 1 6 points Save Answer Consider a system Ax=b. Suppose the system has more equations than unknowns. Then it is possible for the system to have a unique solution. O O True False QUESTION 2 6 points Save Answer [-2 Given A=1 ( 9 3 1] -2 6 an 1 0 -1] , the (3,1)-entry of (A + B)' is [a]....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT