99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務合肥法律

CSCC43代做、R設計編程代寫

時間:2023-11-27  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



CSCC43 – Fall 2023 University of Toronto Scarborough
Intro to Databases – Assignment #3
Nov18, 2023
This assignment may be completed in a max group of 2 .
Please provide detailed answers to the following exercises.
Read the note on academic Integrity.
Instructions:
There are two parts in this assignment.
• Part 1 (3 questions – 40 points)
o Requires you to design ER Diagram given specification using any online drawing tool.
o Requires conversion from ER diagrams to relational schemas and improved version of
ER diagrams.
o Requires you to design an ER diagram given a relational schema.
o Note: Handwritten solutions/diagrams will not be accepted.
• Part 2 (6 questions with subparts - 60 points)
o Requires you to answer questions on functional dependencies and normal forms.
Submission: Quercus
For this assignment, you need to submit all typed solutions in a single PDF named
Assignment3.pdf. You can use LaTeX or any other word processing software. ER Diagrams should
be computer generated as well and should not be hand drawn.
Note: Late submissions with 10% penalty will be accepted until up to December 4th 11:59 pm.
No submissions will be accepted after that.
Assignment #3
Total: 100 points
Due Date: Dec 2nd, 2023 11:59pm
CSCC43 – Fall 2023 University of Toronto Scarborough
Part 1: Entity Relationship Model [40 marks]
Question 1 [25 marks]
For this question, you will design Entity Relationship Diagram and a database schema for
an Ice Hockey Tournament.
System Functional Requirements:
The administrator of tournament website and the database is the primary user who manages
the data associated with the tournament that includes information about players, teams,
coaches, matches, referees, etc.
The administrator wants following features included in your design and describes these
features as follows:
For each match, we store the series and the tournament day on which it takes place, which
match it is, (e.g., first match, second match, etc.) the date with day, month, year, the teams
involved in the match with the name of the city and the coach, and finally for each team
whether that team played at home. Each team can have multiple coaches and for each coach,
we record their name, salary, and city of birth.
We store the name and the surname of each player in each team with his date of birth and
main position. We store, for each day, how many points each team has, and we also store
for each match, the player of each team who played and in which position each player played
(the position can change from one game to another). For each match, we store the referee,
with first name, surname, city, and region of birth.
The match played as scheduled must be distinguished from those postponed. For a
postponed match, we store the date in which it is actually played. We also identify the
matches played in a city other than that of the home team; for each of these, we store the
city in which it took place, as well as the reason for the variation venue. For each player, we
are interested in the city of birth.
We also record the contracts between players and teams including the past contracts with
the date of beginning and end of the contracts for each player in each team. It is possible that
a player can have different contracts with the same team in different periods. For all contracts
we wish to know the date of commencement. Similarly, we also record contracts between
coach and teams.
Question 1.1 [15 marks]:
Design and draw an ER schema that captures the information given above. Your schema
should model explicitly entities and relationships in the domain of Ice Hockey Tournament,
also their attributes, generalization relationships, keys, and cardinality constraints.
Make necessary assumptions in order to complete your schema and state those assumptions
along with the diagram.
You may use domain knowledge to complete information missing in the given specifications.
CSCC43 – Fall 2023 University of Toronto Scarborough
Question 1.2 [10 marks]:
Remove any generalizations (subclass), unnecessary data and structural redundancies,
multi-valued attributes, optional relationships, and irregularities from your model.
If you did modify your ER schema, show the improved version of ER Diagram in this stage.
By removing weak entity sets (if any), translate your ER diagram into Relational schema
following the PostgreSQL syntax.
Question 2 [15 marks]
We wish to carry out a reverse engineering operation. That is, given a relational database,
we wish to construct its conceptual representation using the E-R model. The database is for
an application concerning trains and railway stations and is made up of the following
relations:
o STATION (Code, Name, City) with a referential constraint between the attribute
City and the CITY relation;
o CITY (Code, Name, Region);
o ROUTE (From, To, Distance), with referential constraints between the attributes
From and the relation STATION and between the attribute To and the relation
STATION; this relation contains all and only the pairs of stations connected
directly by a route (that is without intermediate stations);
o TRAINTIMETABLE (Number, From, To, DepartureTime, ArrivalTime) with
referential constraints between the attributes From and the relation STATION
and between the attribute To, and the relation STATION;
o TRAINROUTE (TrainNumber, From, To) with referential constraints between the
attribute TrainNumber and the relation TRAINTIMETABLE and between the
attributes From and To and the relation STATION;
o STOPTIME (TrainNumber, Station, Arrival, Departure) with referential constraints
between the attribute TrainNumber and the relation TRAINTIMETABLE and
between the attribute Station and the relation STATION;
o ACTUALTRAIN (TrainNumber, Date, DepartureTime, ArrivalTime) with a
referential constraint between the attribute TrainNumber and the
TRAINTIMETABLE relation;
o ACTUALSTOP (TrainNumber, Date, Station, Arrival, Departure) with a referential
constraint between the two attributes TrainNumber and Station and the
STOPTIME relation.
Question 2.1 [15 marks]
For the above schema, construct its conceptual representation using the E-R model.
Recall that derived redundancy can be present in terms of attribute, entity, or relationship.
Find out any such derived redundancy in this model.
CSCC43 – Fall 2023 University of Toronto Scarborough
Part 2: Functional Dependencies and Normalization [60 marks]
Question 1 [5 marks]
Consider a relation S with six attributes A, B, C, D, E, and F. You are given the following
dependencies: AB → C, BC → D, D → E, CF → B.
a) What are all the non-trivial functional dependencies that follow from the given
functional dependencies? Make sure that the functional dependencies you list have
exactly one attribute on the right hand side.
b) What are all the candidate keys of S?
c) What are all the superkeys of S that are not candidate keys?
Question 2 [5 marks]
Consider a relation R with five attributes A, B, C, D, and E. You are given the following
dependencies: A → B, BC → E, and ED → A.
a) List all the candidate keys for R.
b) Is R in 3NF? Explain why or why not.
c) Is R in BCNF? Explain why or why not.
Question 3 [15 marks]
For all of the parts below, assume you are given a relation R with four attributes A, B, C, and
D. In each part you are also given a set of functional dependencies, assume those are the
only dependencies that hold for R and do the following:
(i) Identify the candidate key(s) for R.
(ii) Identify the best normal form that R satisfies (1NF, 2NF, 3NF, or BCNF).
(iii) If R is not in BCNF, give a lossless-join decomposition of R into BCNF.
a) C → D, C → A, B → C
b) B → C, D → A
c) AB → C, AB → D, C → A, D → B
CSCC43 – Fall 2023 University of Toronto Scarborough
Question 4 [15 marks]
In each part below you are given a relation with attributes as well as a set of functional
dependencies that hold for that relation. For each part, do the following:
(i) List all the candidate keys for the relation.
(ii) Give a lossless-join and dependency-preserving decomposition of the relation
into 3NF.
a) R(A, B, C, D, E); {A → BC, CD → E, B → D, E → A}
b) S(A, B, C, D, E, F); {C → A, CD → E, A → B, D → F}
c) T(A, B, C, D, E); { A → CD, B → CE, E → B}
Question 5 [10 marks]
 For each of the following relation schemas and dependencies do the following:
(i) Find all the 4NF violations.
(ii) Decompose the relations into a collection of relation schemas in 4NF.
a) R(A, B, C, D) with MVD's A àà B and B àà CD.
b) R(A, B, C, D, E) with MVD's A àà B and AB àà C and FD's A à D and AB à E.
Question 6 [10 marks]
Give counterexample relations to show why the following rules for MVD's do not hold. Hint:
apply the chase test and see what happens.
a) If A àà BC, then A àà B.
b) If A àà B, then A à B.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:CS 2210編程代寫、Java程序語言代做
  • 下一篇:代寫ecs36c 有向圖程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設計優(yōu)化
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網(wǎng) 排行網(wǎng)

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                国产精品18久久久久久久网站| 欧美精品一区二区蜜臀亚洲| 欧美一级视频精品观看| 国产精品网站导航| 国产精品一区二区不卡| 日韩一卡二卡三卡四卡| 亚洲成人免费视| 91国在线观看| 夜夜揉揉日日人人青青一国产精品| 国产乱码精品一区二区三区av| 欧美日韩一本到| 亚洲在线一区二区三区| 91免费观看视频在线| 中文av字幕一区| 波多野结衣91| 国产精品久久精品日日| av中文字幕亚洲| 国产精品免费人成网站| 国产精品18久久久久久vr| 精品福利av导航| 热久久国产精品| 日韩欧美国产午夜精品| 男女男精品网站| 日韩午夜激情电影| 开心九九激情九九欧美日韩精美视频电影| 欧美麻豆精品久久久久久| 亚洲超丰满肉感bbw| 欧美日本国产视频| 日本少妇一区二区| xvideos.蜜桃一区二区| 国产美女一区二区| 国产亚洲欧美一区在线观看| 国内不卡的二区三区中文字幕 | 久久你懂得1024| 国产另类ts人妖一区二区| 国产人伦精品一区二区| 国产一区二区0| 中文字幕亚洲视频| 色国产综合视频| 婷婷久久综合九色综合绿巨人 | 2017欧美狠狠色| 成人污污视频在线观看| 亚洲六月丁香色婷婷综合久久 | 香蕉久久一区二区不卡无毒影院 | 91视视频在线直接观看在线看网页在线看| 亚洲欧美日韩一区二区| 成人在线视频一区| 亚洲综合色网站| 日韩一区二区三区观看| 国产成+人+日韩+欧美+亚洲| 亚洲人成在线观看一区二区| 欧美色综合网站| 国产乱码一区二区三区| 一区二区三区日韩精品| 欧美一区三区二区| 国产iv一区二区三区| 亚洲精品自拍动漫在线| 日韩一卡二卡三卡| 国产.精品.日韩.另类.中文.在线.播放| 亚洲裸体xxx| 欧美综合在线视频| 国产精品一区二区男女羞羞无遮挡| 亚洲婷婷综合色高清在线| 91精品国产高清一区二区三区| 国产一区二区主播在线| 中文字幕一区二区三| 日韩一级高清毛片| 91在线视频官网| 久久成人免费网| 亚洲主播在线观看| 欧美激情资源网| 日韩一区二区三区免费看| aaa欧美日韩| 麻豆国产精品一区二区三区| 亚洲天堂av老司机| 欧美精品1区2区3区| 99re成人精品视频| 久久成人综合网| 午夜欧美2019年伦理| 中文字幕一区二区三| 日韩欧美国产一区二区在线播放| 91黄色免费网站| 成人综合在线视频| 精东粉嫩av免费一区二区三区| 亚洲女与黑人做爰| 国产欧美一区二区三区网站 | 国产一区三区三区| 日本不卡免费在线视频| 有码一区二区三区| 亚洲天堂福利av| 国产欧美一区二区三区在线看蜜臀| 欧美电影在哪看比较好| 欧美在线免费观看亚洲| 在线中文字幕不卡| 国产精品一区在线观看你懂的| 精品一二三四区| 视频在线观看一区二区三区| 亚洲成人免费av| 一区二区高清免费观看影视大全 | 国产精品久久久久婷婷二区次| 欧美国产成人精品| 日韩毛片一二三区| 亚欧色一区w666天堂| 美女看a上一区| 国产精品影音先锋| 一本一道波多野结衣一区二区| 欧美专区日韩专区| 日韩欧美色综合网站| www国产成人免费观看视频 深夜成人网| 欧美成人vps| 国产午夜亚洲精品理论片色戒| 国产精品毛片高清在线完整版| 亚洲精品中文在线影院| 免费成人美女在线观看.| 国产精品小仙女| 一本一道久久a久久精品 | 亚洲蜜臀av乱码久久精品| 亚洲在线中文字幕| 韩日精品视频一区| 一本一本大道香蕉久在线精品 | 亚洲一区二区欧美| 国产在线看一区| 色系网站成人免费| 精品国产不卡一区二区三区| 中文字幕在线视频一区| 亚洲18色成人| www.成人在线| 日韩一区二区在线看片| 亚洲人成网站色在线观看| 麻豆国产精品777777在线| 91免费精品国自产拍在线不卡| 91精品国产一区二区| 国产精品久久久久一区| 久久精品国产久精国产爱| 91影院在线观看| 欧美成人精品高清在线播放 | 国产欧美一区二区精品婷婷| 亚洲一级不卡视频| 丰满白嫩尤物一区二区| 欧美一区二区三区系列电影| 国产精品你懂的| 久久国产夜色精品鲁鲁99| 91老师片黄在线观看| 亚洲精品一线二线三线| 亚洲成在人线免费| 成人激情午夜影院| 日韩欧美亚洲国产另类| 亚洲一区二区五区| 99精品久久只有精品| 精品国产乱码久久久久久浪潮 | 欧美一区二区啪啪| 亚洲成av人片一区二区三区| 99久久婷婷国产精品综合| 91精品国产91久久久久久一区二区 | 国产午夜精品美女毛片视频| 日本亚洲三级在线| 在线播放中文字幕一区| 中文字幕佐山爱一区二区免费| 国产美女一区二区三区| 欧美大片一区二区| 奇米888四色在线精品| 欧美日韩免费一区二区三区 | 午夜精品成人在线视频| 精品视频一区二区不卡| 亚洲一区二区三区视频在线| 91网址在线看| 一片黄亚洲嫩模| 在线观看视频一区二区欧美日韩| 中文字幕一区二区日韩精品绯色| av电影在线观看完整版一区二区| 国产女主播一区| 国产原创一区二区| 国产欧美精品一区| 成人国产精品免费观看| 国产精品高清亚洲| 91色porny在线视频| 亚洲乱码国产乱码精品精小说| 色综合中文字幕| 亚洲青青青在线视频| 一本到一区二区三区| 亚洲综合色区另类av| 欧美精品三级日韩久久| 久久精品国产999大香线蕉| 欧美精品一区二区不卡| 国产经典欧美精品| 中文字幕一区二区三区视频| 一本大道久久a久久精二百 | 午夜精品视频一区| 欧美一级黄色录像| 国产老妇另类xxxxx| 中文字幕制服丝袜一区二区三区| 91视频国产观看| 亚洲国产综合在线| 欧美一级专区免费大片| 国产成人免费在线观看不卡| 中文字幕一区二区三区在线播放| 欧美专区在线观看一区| 激情深爱一区二区| 专区另类欧美日韩| 欧美高清性hdvideosex|