Question

In: Computer Science

ERDQuestion A group of students attend an end of semester party. The party was described by...

ERDQuestion A group of students attend an end of semester party. The party was described by one attendee as‘very exciting’. Students played computer gamestill almost midnight! Each of the students has a name and a Player Name e.g. Fred Smith "The Slayer". Each of the games played has a name and a description. Each console has a unique serial no, name and the year of manufacture. The games can all be played on any ofthe various consolesthat have been broughtto the party. The consoles include: A Dell PC, A Playstation 3 and an X Box 360 When a player finishes a game, a judge recordsthe score obtained by the player and which console the games was played on. Assume that only the best score by a player for a console / game is recorded. a) Dothe following: o Draw theERD ▪ When converted to a relation schema, show all PKs and FKs. b) Assume that we now want to record every score recorded by a player for a console / game. o What changes are required? ▪ At 8pm Scottscore 8630 ptsfor Tetris on the PC. At 8:15 he scored 9100 pointsforthe combination.

Solutions

Expert Solution

Hi,

Please find the answer below:

------------------------------------------

Identify the entities.

  • Student
  • Game
  • Console
  • GameResult

-----------------

Identify the relationships among the entities.

  • Player may play one or more Games.
  • Player may play on one or more Consoles.
  • Games may be played by one or more Players.
  • Console may be played by one or more Players.
  • Game may be installed one or more Consoles.

-------------------------------------

List the primary keys for the tables.

Student table

Columns:

  • sid
  • studentName
  • playerName

Game table

Columns:

  • gid
  • name
  • description

Console table

Columns:

  • serialNo
  • name
  • yearOfManufacture

GameResult table

Columns:

  • sid
  • gid
  • serialNo
  • points

----------------------------------

Primary Keys

sid for Student

gid for Game

serialNo for Console

Combination of (sid, gid, serialNo) for GameResult table.

Changes to the database:

Modify the GameResult table to hold:

GameResult table

Columns:

resultID

  • sid
  • gid
  • serialNo
  • points
  • dateTime

resultID is the primary key.

sid,gid, serialNO are foreign keys

--------------------------

Let me know if more information is required.

Hope this helps.


Related Solutions

A university planner is interested in determining the percentage of spring semester students who will attend...
A university planner is interested in determining the percentage of spring semester students who will attend summer school. She takes a pilot sample of 160 spring semester students discovering that 56 will return to summer school. Construct a 90% confidence interval estimate for the percentage of spring semester students who will return to summer school. Construct a 95% confidence interval estimate for the percentage of spring semester students who will return to summer school.
a) A university planner wants to determine the proportion of spring semester students who will attend...
a) A university planner wants to determine the proportion of spring semester students who will attend summer school. She surveys 40 current students discovering that 15 will return for summer school.At 90% confidence, compute the margin of error for the estimation of this proportion. b) A university planner wants to determine the proportion of spring semester students who will attend summer school. She surveys 36 current students discovering that 16 will return for summer school.At 90% confidence, compute the lower...
a)A university planner wants to determine the proportion of spring semester students who will attend summer...
a)A university planner wants to determine the proportion of spring semester students who will attend summer school. Suppose the university would like a 0.90 probability that the sample proportion is within 0.281 or less of the population proportion.What is the smallest sample size to meet the required precision? (There is no estimation for the sample proportion.)  (Enter an integer number.) b)A university planner wants to determine the proportion of fall semester students who will attend summer school. She surveys 30 current...
1/Suppose that about 84% of graduating students attend their graduation. A group of 37 students is...
1/Suppose that about 84% of graduating students attend their graduation. A group of 37 students is randomly chosen, and let X be the number of students who attended their graduation. Please show the following answers to 4 decimal places. What is the distribution of X? X ~ ? B U N  (,) What is the probability that exactly 29 number of students who attended their graduation in this study? What is the probability that at least 29 number of students who...
A group of college students want to have a party. They need to decide if they...
A group of college students want to have a party. They need to decide if they want to have it at the Beach (B) or at the Park (P) or in a Warehouse (W). They were ask to list in order their 1st, 2nd, and 3rd choice of where they want to have the party. Use the following table and answer the following questions. SHOW YOUR WORK to receive full credit. 10 students 8 students 13 students 1 st choice...
Some five courses are offered on campus in a semester. The group of students who take...
Some five courses are offered on campus in a semester. The group of students who take at least one of these courses consists of 155 students. There are 80 students registered in each course. For any two among these courses, there are precisely 40 students who take both of them. For any three of these courses, there are precisely 20 students who take all three of them. For any four among these courses, there are precisely 10 students who take...
(harder) a group of 29 randomly selected students attend a special seminar on study skills. Of...
(harder) a group of 29 randomly selected students attend a special seminar on study skills. Of these 29, only 5 fail both. State a sensible null hypothesis, test it, and interpret.
At the end of a semester, the students’ grades for Business Data Analysis 1 were tabulated...
At the end of a semester, the students’ grades for Business Data Analysis 1 were tabulated in the following 3×2 contingency table to see if there is any association between class attendance and grades received # of Days Absent Grade Received Pass Fail 0-3 135 110 4-6 36 4 7-25 9 6 (a) Calculate the probability that a student selected at random: i. Was absent for less than four days ii. Was absent for less than seven days iii. Passed...
Male students at SCC last semester. You will use this data throughout the semester on your...
Male students at SCC last semester. You will use this data throughout the semester on your lab assignments. Student # Gender Height Shoe Age Hand 1 M 67 10 19 R 2 M 74 12 17 R 3 M 72 11.5 19 R 4 M 69 10 35 R 5 M 66 9 18 R 6 M 71 10.5 17 R 7 M 72 10.5 17 R 8 M 66 10 20 R 9 M 67 10 18 R 10...
A college administrator wants to survey 250 students that attend her college to see if students...
A college administrator wants to survey 250 students that attend her college to see if students are satisfied with the course offerings. Match the strategies to their corresponding sampling techniques. The administrator stands by the front door of the admissions department and asks the first 250 students who walk in. The administrator researches the ethnic make-up of the college and makes sure that the proportion of each ethnic group represented in the sample is the same as the corresponding proportion...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT