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

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

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 有向圖程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

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

          9000px;">

                激情偷乱视频一区二区三区| 91麻豆精品久久久久蜜臀| 日韩西西人体444www| 粉嫩一区二区三区性色av| 亚洲免费av在线| 欧美韩日一区二区三区| 精品视频免费看| 亚洲一区免费在线观看| 欧美性生活影院| 狠狠色狠狠色综合日日91app| 国产精品久久99| 欧美va亚洲va| 精品日韩在线一区| 欧美日本国产视频| 欧美性受xxxx黑人xyx| 欧美性xxxxx极品少妇| 欧美伊人久久久久久久久影院 | 国产精品入口麻豆原神| 国产农村妇女精品| 精品粉嫩超白一线天av| www欧美成人18+| 欧美日韩高清一区| 日韩欧美精品在线| 欧美一区二区在线播放| 91精品黄色片免费大全| 日韩精品一区在线| 久久综合久久综合久久| 中文字幕国产一区| 一区二区三区中文字幕电影| 午夜欧美电影在线观看| 捆绑变态av一区二区三区| 国产美女主播视频一区| av午夜精品一区二区三区| 91成人网在线| 欧美一区二区日韩| 国产精品传媒在线| 婷婷成人激情在线网| 国产精品亚洲专一区二区三区 | 色综合一个色综合| 国产福利一区二区三区视频在线| 国产激情91久久精品导航| 99久久国产免费看| 欧美美女bb生活片| 中文字幕欧美日韩一区| 亚洲国产三级在线| 黄色成人免费在线| 一本色道久久加勒比精品 | 亚洲国产日韩综合久久精品| 日韩精品一级中文字幕精品视频免费观看 | 夜夜嗨av一区二区三区中文字幕| 日韩成人午夜电影| heyzo一本久久综合| 欧美在线小视频| 欧美videos大乳护士334| 亚洲欧美色一区| 国产一区二三区好的| 欧美亚洲国产bt| 欧美激情自拍偷拍| 蜜桃在线一区二区三区| 91久久精品国产91性色tv| 久久九九久久九九| 青青草国产精品亚洲专区无| 欧洲精品一区二区三区在线观看| 国产精品沙发午睡系列990531| 日本怡春院一区二区| 一本到不卡免费一区二区| 国产日本亚洲高清| 久久精品国产精品亚洲精品| 欧美在线三级电影| 国产精品美女视频| 国产综合色视频| 欧美xxxxxxxx| 另类小说一区二区三区| 欧美老肥妇做.爰bbww| 国产精品久久久久久久久快鸭| 久久99日本精品| 日韩一区二区三区免费看| 天堂精品中文字幕在线| 欧美日韩在线播| 亚洲国产欧美在线| 色噜噜狠狠成人网p站| 亚洲欧美一区二区三区极速播放| 成a人片亚洲日本久久| 国产日产欧产精品推荐色| 国产高清精品网站| 日本一区二区三区免费乱视频 | 欧美性色黄大片| 亚洲欧美激情一区二区| 成人动漫精品一区二区| 亚洲色图一区二区| 成人sese在线| 久久久久国产免费免费| 成人午夜电影小说| 国产精品久久久久久一区二区三区| 国产自产高清不卡| 国产亚洲精品资源在线26u| 久久91精品国产91久久小草 | 亚洲精品成人在线| 色婷婷激情综合| 亚洲一区二区三区在线播放| 欧美日韩高清一区二区三区| 青青草97国产精品免费观看| 日韩欧美国产三级| 韩国一区二区在线观看| 国产精品国产三级国产有无不卡| 91免费小视频| 日韩高清不卡一区二区| 欧美大片在线观看一区二区| 国产精品中文字幕日韩精品| 中文字幕巨乱亚洲| 欧洲精品一区二区| 日本三级亚洲精品| 国产欧美日韩一区二区三区在线观看 | 国产麻豆欧美日韩一区| 欧美国产国产综合| 91福利社在线观看| 日韩av中文在线观看| 国产三级一区二区三区| 91成人网在线| 国产麻豆午夜三级精品| 亚洲激情在线播放| 欧美电影免费观看高清完整版在线| 国产成人啪午夜精品网站男同| 国产精品福利av| 日韩情涩欧美日韩视频| 色综合色狠狠天天综合色| 天天综合色天天综合色h| 欧美一区二区三区在线观看 | 天天色综合成人网| 欧美日韩激情一区二区三区| 日本最新不卡在线| 久久久午夜精品| 丁香啪啪综合成人亚洲小说| 亚洲一区二区三区中文字幕在线| 国产日韩欧美制服另类| 欧美日韩日日骚| 国产成人亚洲综合a∨婷婷图片 | 免费人成精品欧美精品| 一区精品在线播放| 欧美一二三四在线| 99国产一区二区三精品乱码| 麻豆国产精品官网| 亚洲久本草在线中文字幕| 国产视频在线观看一区二区三区 | 综合激情成人伊人| 日韩一区二区三区高清免费看看| 色婷婷久久一区二区三区麻豆| 亚洲成人动漫在线免费观看| 中文字幕一区二区三区四区不卡 | 国产一二三精品| 亚洲777理论| 亚洲精品国产品国语在线app| 欧美国产在线观看| 日韩精品中文字幕一区二区三区| 色欧美乱欧美15图片| 久久精品国产一区二区| 亚洲自拍偷拍图区| 国产精品久久久久aaaa| 久久久国产精品不卡| 7777精品伊人久久久大香线蕉最新版 | 亚洲综合在线观看视频| 久久综合精品国产一区二区三区 | 国产精品视频第一区| 日韩精品一区在线观看| 欧美大尺度电影在线| 欧美日韩国产经典色站一区二区三区| 成人动漫一区二区| 国产一区欧美二区| 国产真实乱子伦精品视频| 亚洲色图视频网站| 成人免费在线视频| 亚洲日本免费电影| 亚洲精品久久久久久国产精华液| 国产精品免费丝袜| 亚洲欧美日韩国产一区二区三区| 国产喂奶挤奶一区二区三区| 中文字幕+乱码+中文字幕一区| 久久精品视频一区二区| 国产精品视频你懂的| 成人免费在线播放视频| 亚洲午夜电影网| 亚洲第一搞黄网站| 香蕉久久夜色精品国产使用方法 | 裸体健美xxxx欧美裸体表演| 蜜臀av一区二区| 日本亚洲免费观看| 高清视频一区二区| 国产 日韩 欧美大片| 色综合视频在线观看| 在线免费一区三区| 欧美三级日韩三级| 欧美日韩国产三级| 欧美大片免费久久精品三p| 欧美成人一区二区三区在线观看| 久久婷婷成人综合色| 自拍偷拍亚洲激情| 最新热久久免费视频| 久久婷婷成人综合色| 在线播放/欧美激情| 欧美军同video69gay|