91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

CSCC43代做、R設計編程代寫

時間:2023-11-27  來源:合肥網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仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    不卡一区二区在线| 日本系列欧美系列| 亚洲综合免费观看高清完整版在线 | 国产精品v亚洲精品v日韩精品| 精品视频色一区| 亚洲在线中文字幕| 国产一区二区三区四区三区四| 欧美一区二区三区四区久久| 蜜臀久久久久久久| 国产精品毛片| 亚洲最新视频在线观看| 成人99免费视频| 日韩女优视频免费观看| 北条麻妃国产九九精品视频| 91久久线看在观草草青青| 亚洲欧美一区二区三区国产精品| 91麻豆自制传媒国产之光| 久久夜色精品国产欧美乱极品| 成人av网站免费观看| 久久这里只有精品首页| 91香蕉视频污在线| 国产精品青草综合久久久久99| av电影在线不卡| 亚洲天天做日日做天天谢日日欢| 99在线热播精品免费| 久久久久久毛片| 国产精品久久7| 国产精品hd| 日韩av二区在线播放| 欧美一区二区三级| www.性欧美| 国产精品福利影院| 麻豆av一区二区三区| 国产高清久久久久| 亚洲国产精品成人综合色在线婷婷 | 夜夜精品浪潮av一区二区三区| 久久久水蜜桃av免费网站| 高清不卡一二三区| 亚洲一二三四区不卡| 欧美猛男gaygay网站| 亚洲国产1区| 国产成人a级片| 狠狠色丁香婷婷综合| 久久久久久久精| 可以看av的网站久久看| 韩国一区二区在线观看| 国产欧美一区二区在线| 欧洲生活片亚洲生活在线观看| 不卡一区二区中文字幕| 最新国产精品久久精品| 欧美二区三区的天堂| 国产亚洲一区在线播放| 91色九色蝌蚪| 激情综合色丁香一区二区| 一区二区三区欧美在线观看| 欧美日韩综合在线| 国产精品久久久久久久久久直播| 男女性色大片免费观看一区二区 | 午夜视频一区二区| 中文字幕在线免费不卡| 久久亚洲精华国产精华液 | 亚洲成人自拍视频| 色综合久久中文字幕| 国产xxx精品视频大全| 麻豆精品一二三| 日韩电影在线观看一区| 亚洲国产精品一区二区尤物区| 国产精品黄色在线观看| 国产精品电影一区二区三区| 欧美韩国日本综合| 欧美激情一区二区三区全黄| 中文字幕综合网| 精品动漫一区二区三区在线观看| 欧美日韩另类国产亚洲欧美一级| 91九色02白丝porn| 亚洲一区bb| 在线亚洲欧美专区二区| 一区二区国产日产| 色婷婷精品久久二区二区蜜臀av | 色综合久久综合网97色综合| 成人免费av资源| 国产在线精品二区| 亚洲精品社区| 欧美日韩中文另类| 在线综合+亚洲+欧美中文字幕| 91精品国产丝袜白色高跟鞋| 91精品国产综合久久久久久久久久 | 久久国产99| 在线观看91视频| 国产亚洲欧美在线| 亚洲天堂2016| 国内精品嫩模私拍在线| 成人夜色视频网站在线观看| 18成人免费观看视频| 欧美日韩高清一区二区三区| 精品久久久久久最新网址| 中文字幕一区二区不卡| 免费日韩伦理电影| 99精品久久久久久| 老司机精品导航| 久久综合久久综合久久| 国产成人精品午夜视频免费| 国产女优一区| 久久综合精品国产一区二区三区| 亚洲天堂2014| 成人深夜视频在线观看| 日韩视频久久| 精品av久久707| 天堂在线一区二区| 国产一区二区中文字幕免费看| 欧美色视频在线观看| 亚洲欧洲精品一区二区三区 | 日韩精品一区二区三区蜜臀| 亚洲一区精品在线| 欧美日韩视频一区二区三区| 欧美日韩美少妇 | 国产一区二区中文| 欧美一级一区二区| 美女被吸乳得到大胸91| 一本色道久久精品| 中文字幕一区二区视频| 女人色偷偷aa久久天堂| 精品国产伦一区二区三区观看体验| 男女视频一区二区| 在线观看av一区二区| 亚洲最快最全在线视频| 在线看无码的免费网站| 国产精品乱码久久久久久| 99久久er热在这里只有精品66| 精品卡一卡二卡三卡四在线| 国产精品一卡二卡在线观看| 制服丝袜亚洲播放| 国产大陆亚洲精品国产| 精品少妇一区二区三区| 国产二区国产一区在线观看| 亚洲午夜激情网页| 性8sex亚洲区入口| 久久精品国产一区二区三区免费看| 一区二区冒白浆视频| 亚洲精品乱码久久久久久久久| 亚洲一区二区在| 天天av天天翘天天综合网色鬼国产| 免费一级欧美片在线播放| 婷婷开心激情综合| 欧美影视一区在线| 成av人片一区二区| 中文字幕一区二区三区乱码在线 | 久久99精品国产麻豆婷婷| 欧美日韩激情在线| 99精品久久免费看蜜臀剧情介绍| 国产精品麻豆视频| 亚洲一区影院| 久久精品国产一区二区三| 欧美少妇一区二区| 国产精品一二三| 国产精品二区一区二区aⅴ污介绍| 美女精品网站| 不卡的av网站| 一区二区国产盗摄色噜噜| 欧美妇女性影城| 国产精品国产三级国产三级人妇 | 日本午夜一本久久久综合| 欧美日韩性生活| 亚洲人成高清| 国产一区二区三区四| 国产精品亲子乱子伦xxxx裸| 色婷婷av一区二区| 成人av先锋影音| 久久精品国内一区二区三区| 亚洲欧洲成人av每日更新| 日韩一区二区电影在线| 一本久久综合| 国产成人免费xxxxxxxx| 亚洲成av人片一区二区| 亚洲欧洲精品一区二区三区| 久久久久久久综合日本| 在线不卡中文字幕| 亚洲一区在线直播| 欧美xxx在线观看| 国产999精品久久| 久久精品国产精品青草| 性感美女久久精品| 亚洲欧美日韩国产另类专区| 久久婷婷色综合| 久久久www免费人成精品| 欧美变态tickle挠乳网站| 欧美日韩电影一区| 精品视频全国免费看| 日韩欧美专区在线| 日韩欧美国产1| 久久免费电影网| 亚洲欧美自拍偷拍色图| 国产日产欧美精品一区二区三区| 26uuu久久天堂性欧美| 欧美不卡一区二区三区四区| 制服丝袜日韩国产| 欧美精品一区二区三区四区| 久久中文字幕电影| 国产精品人人做人人爽人人添| 国产精品国产三级国产三级人妇|