a.
b.
c.
d.Cardinality representation:-
just the draw no explination needed For questions 1 and 2, you are given the following...
1) A university database contains information about professors (identified by emp_id) and courses (identified by course_id). Professors teach courses. Each of the following situations concerns the Teaches relationship set. For each situation, draw an ER diagram that describes it (assuming no further constraints hold). a) Professors can teach the same course in several semesters, and each offering must be recorded. b) Professors can teach the same course in several semesters, and only the most recent such offering needs to be...
Problem 2 (40 points) Consider the business rules below, describing a database of Dormitories and Students who live in the dorms. Every student must have a student ID, a name, gender. A student can have a meal choice (e.g.the choice of eat in the dormitory café every day for example "Yes" for choice of yes, "No" for no, and Null value represents not decided yet) No two students have the same combination of name and gender. (oNLY assumed in this...
Due to your experience in designing the database for the "Legendary League" game, you have been asked to design the ER diagram for a bigger database to manage the events for the "Legendary League" eSports Oceanic Championship (OC). The requirements are as follows: Registered teams compete in the OC. Each team has a name, and a number of team members. A team also maintains a rank throughout the OC, reflecting how well it is doing in the championship. Team members...
Database 1. Draw an Entity-Relationship diagram(including cardinality ratio and participa- tion constraint) to represent the following application: A DEPARTMENT has a number of TEACHERS and each TEACHER is affil- iated only with one DEPARTMENT; A STUDENT has only one TEACHER as an advisor, but a TEACHER can advise many STUDENT; on the other hand, TEACHER instructs many STUDENTS, and a STUDENT has a number of instructors. Different AGENCIES support different TEACHERS for various PROJECTS. (15 points) A trucking company is...
Project Description In this project, you will design and implement a database for keeping track of information for an online “SOCIAL NETWORK” system (e.g. a simplified version of Facebook!). You will first design an EER schema diagram for this database application. Then, you will map the EER schema into a relational database schema and implement it on ORACLE or MySQL or some other relational DBMS. Finally, you will load some data into your database (via user Interface) and create some...
Part I: Creating ER Diagrams PLEASE COMPLETE EVERY QUESTION Question 1 (25 points): Consider the following scenario. • A Pokémon character has a unique number; a name; stamina, attack and defense values; a date introduced; and one or more moves. • A move has a name, is either quick or special, and has an accuracy and power points. • A Pokémon type has a type name, a description and a type count (the number of characters with that type). •...
1. Please answer the following questions. You need to draw ER diagrams using any free tools discussed in the class or you may draw using pencil and paper. Please identify the entities and relationships between them. For each entity, please identify the attributes each entity has. For each attribute, please identify whether this attribute is optional or required, single valued or multi-valued, simple or composite, stored or derived. Define a key (identifier) for each entity. Note that a key can...
Overview This lab provides you the opportunity to insert and update data with the use of SQL commands. The lab will utilize the FLIX2YOU problem, the current schema. In order to start this lab, you must have successfully completed Lab # 6. In Lab # 6, you executed a script that was provided to you. This script created 7 of the FLIX2YOU tables as documented in the Entity Relationship Diagram in the FLIX2YOU problem document. The second part of lab...
1. Short Questions Given the following data: 30 20 s0 40 10 60 28 Which method will perform better: Binary Search or Binary Search Tree? a) Give explanation as well S pts) b) Draw a binary search tree using the following data (5 pts) (No need to show the steps) 24 60 17 40 S0 20 22 21 c) Give the In-onder, pre-order and post-order search ordering from the tree constructed in part (b) (5 pts) d) Give definition of...
ER Modeling: Assignment In order to receive credit for this assignment, you must draw your ER model using a compute program and then turn in on the blackboard. Your ER model should include all of the necessary entity sets, relationships and keys, as well a weak entities and superclass/subclass relationships, if needed. A company decides to implement a software to monitor its employees' web surfing, and stores history of each employee's surfing in a database, as well as all of...