首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写CSCU9B3、代做Python,Java编程
项目预算:
开发周期:
发布时间:
要求地区:
CSCU9B3 Page 1 of 4 Final Assignment
CSCU9B3 Database Principles and Applications
Every week, Computer Science students from various universities in China meet for
programming competitions. In any given competition, more than two universities can compete
and students win points for their university rather than winning the whole competition. Each
week of the year there is one competition, which takes place at one of a few possible campuses.
Not all universities compete every week. Universities can have different numbers of students.
At the end of the year, the average points scored by each university are calculated and a
competition table is created.
The data from the competitions, including university students and other information is stored
in a very badly designed way. One long file is kept and at the end of each competition, the
points scored by each student are added to the file. The problem is that all the information
about the student, the university and the competition must be included in every row of the file,
so there is massive data duplication.
The following data is stored about each student:
Unique ID
Name (Given name followed by Surname)
Date of Birth
University name
Study level (Master or Bachelor)
Programming skills
This is stored about each university:
University name
City
Postcode
All of this data is stored in each row of the file, along with the following data about a
competition:
The date of the competition
The campus of the competition and its classroom (where it took place)
The number of points scored by the student
CSCU9B3 Page 2 of 4 Final Assignment
For example:
ID
Student
Name Birth Date University
Study
Level Skill University City Postcode Campus Classroom Date Points
12981 Sheng Li 2001-12-09
Shanghai
University Master Java
Shanghai
University Shanghai SHG Campus North R-9 2022-01-03 3
12981 Sheng Li 2001-12-09
Shanghai
University Master SQL
Shanghai
University Shanghai SHG Campus North R-9 2022-01-03 3
12554
Xander Chang
2001-05-07
Chengdu
University Master Python
Chengdu
University Chengdu BJG Campus North R-25 2022-01-03 7
12554
Xander Chang
2001-05-07
Chengdu
University Master
Ruby on
Rails
Chengdu
University Chengdu BJG Campus North R-25 2022-01-03 7
12554
Xander Chang
2001-05-07
Chengdu
University Master PHP
Chengdu
University Chengdu BJG Campus North R-25 2022-01-03 7
What is worse, if a student has multiple skills, then the same data is repeated for each of the
skills, as shown in the table. The data does not provide a comprehensive list of every university
that took part in each competition: to see that you would need to look at every row for a given
date. Note that there is only one event on any given date.
You are required to turn this data into a relational database.
The data is stored in the rawdata.csv file (and a version without header information, for
loading into the database, in noheaddata.csv), which you can download from your VLE.
Your assignment is to complete the following steps and present your results with comments
in a written report. These instructions are detailed and following them properly should ensure
you get good marks:
1. Design a set of tables for a relational database to store this data(decomposition).
2. In your report give an ER diagram showing the relationships between the tables. In your
diagram, make sure you:
a. Put the table name at the top of each table
b. List the attributes in each table
c. Highlight the primary key attributes with keyword PK
d. Highlight the foreign key attributes with keyword FK
e. Mark the cardinality of each relationship at both ends of the connecting line
f. Indicate optionality with a dashed line or circle symbol.
3. In your report, write a justification for your design, considering aspects such as data
integrity and normalization.
4. Create these tables in MySQL by writing and executing the SQL for creating each of the
tables, including all primary and foreign keys. Make sure you choose the right data type for
each column. In your report, show the SQL you have used.
5. Write and execute SQL to create a table to hold the data from the nohead.csv file and then
upload the data into your database via the phpMyAdmin import facility (no need to
mention this step in the report).
6. Use SQL statements to extract the data from your table created in step 5 into the correct
tables that you created in step 4. In your report, show the SQL for doing this for one
example table only.
7. In your report, write the SQL you would use to answer each of the following questions, and
also include the results you get from executing the query. You must not use the table from CSCU9B3 Page 3 of 4 Final Assignment
step 5- make all your queries from the tables corresponding to your ER decomposition
made in step 1.
a. Search for all the students who are from Chengdu University or Chongqing University.
b. List each student name and birthdate who was born before 1
st
January 2022.
c. List the total number of days competed by each university.
d. Search for all the students with Rui somewhere in their names.
e. List the campus names and classrooms of all the competitions where students played
during March month of year 2022.
8. Starting with the template file, assignment.php (available from VLE), using the PHP mysqli
package (either the procedural or object-oriented version) complete the PHP and SQL
required to take whatever text is entered in the form box and do the following:
a. Search for any students whose names (given name or surname) contain the text
entered.
b. Display neatly in the web page the following characteristics of all matching students
found: ID, name, birth date, university, study level, skill
c. Try out your code by placing this file (DO NOT rename it, and do not change the
default settings on the localhost server) in your web folder on www for Windows and
htdocs for Mac.
d. Submit your report through the VLE, including a copy of your code.
Make sure your code is robust against any mistakes or malicious intent in text entered in the
form box by a user of your webpage. During marking, your webpage will be trialled, and
this will be checked. As above, you should carry out your queries on the tables
corresponding to your ER decomposition in part 1.
Marking breakdown and criteria
Marks will be awarded both for the technical correctness of what you have done and for the
clarity and organization of how you describe it.
Your work will be marked out of 100, according to the following breakdown:
1. ER diagram: 20%
2. Justification of design: 20%
3. Table creation: 10%
4. Data transfer: 5%
5. Searches: 25%
6. PHP (Assignment.php): 15%
Overall quality of report: 5%
Submitting your work and assessment procedures
The assignment will be submitted as an electronic (PDF) type-written report uploaded (via
Turnitin) to VLE by the above-mentioned deadline. DO NOT put your name in the report,
only your registration number. CSCU9B3 Page 4 of 4 Final Assignment
In the report, include all the components listed in the assignment steps. The report should be
professionally presented and easy to read. 5% of the marks will be given for the quality of the
report.
Late submission
If you cannot meet the assignment hand-in deadline and have good cause, please use
the extension request link on the left-hand navigation to explain your situation and ask for an
extension. Coursework will be accepted up to seven days after the hand-in deadline (or expiry
of any agreed extension), but the mark will be lowered by three marks per day or part thereof.
After seven days, the work will be deemed a non-submission.
Plagiarism
Work that is submitted for assessment must be your own work. Plagiarism means presenting
the work of others as though it were your own. The University takes a very serious view of
plagiarism, and the penalties can be severe (ranging from a reduced mark in the assessment,
through a failure mark for the module, to expulsion from the University for more serious or
repeated offences). We check submissions carefully for evidence of plagiarism and pursue
those cases we find. Further details can be found here:
https://www.stir.ac.uk/media/stirling/services/academic-registry/documents/Policy-andProcedure-Academic-Integrity_v4_FINAL.docx
Note
Students should be aware that a copy of their coursework will be retained in Canvas, and it may
be used anonymously to create an exemplar answer for future students. If you do not wish your
coursework to be used for this purpose, please inform the module leader upon submission
using the Comments box.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!