Question
#1. Design an ER schema for keeping track of information about votes taken in the U.S. House of Representatives during the current two-year congressional session.
#1. Design an ER schema for keeping track of information about votes taken in the U.S. House of Representatives during the current two-year congressional session. The database needs to keep track of each U.S. STATEs Name (e.g., Illinois, Texas, New York) and include the Region of the state (whose domain in {Northeast, Midwest, Southeast, Southwest, West}). Each CONGRESS_PERSON in the House of Representatives is described by his or her name, plus the District represented, the Start_date when the congressperson was first elected, and the political Party to which he or she belongs (whose domain is {Republican, Democrat, Independent, Other}). The database keeps track of each BILL (i.e., proposed law), including the Bill_name, the Date_of_vote on the bill, whether the bill Passed_or_failed (whose domain is {Yes, No}), and the Sponsor (the congressperson(s) who sponsoredthat is, proposedthe bill). The database also keeps track of how each congressperson voted on each bill (domain of Vote attribute is {Yes, No, Abstain, Absent}).
Draw an ER schema diagram for this application. State clearly any assumptions you make.
#2. A database is being constructed to keep track of the teams and games of a sports league. A team has a number of players, not all of whom participate in each game.
It is desired to keep track of the players participating in each game for each team, the positions they played in that game, and the result of the game.
Design an UML diagram for this application, stating any assumptions you make. Choose your favorite sport (soccer, football, baseball ...).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started