Contents Database Management Systems (COP 5725) D. Makus Schneide Depatment of Compute & Infomation Science & Engineeing (CISE) Database Systems Reseach & Development Cente Couse Syllabus 1 Sping 2012 1 Geneal Infomation 2 Couse Objectives 3 Couse Infomation 3.1 Textbooks and Readings 3.2 Staff 4 Couse Assessment 4.1 Exams 4.2 Homewok 4.3 Softwae Poject 4.4 Oacle 4.5 Class Paticipation 4.6 Late Policy 4.7 Gading Decembe 20th, 2012 5 Othe Impotant Issues 5.1 Academic Honesty 5.2 Class Rules 5.3 Students with Disabilities 5.4 Whee to Get Class-Related Infomation 5.5 Final Advice 1. Note that this syllabus has a dynamic chaacte. That is, it can (and will be) updated and extended at any time without pio notice. Hence, fom time to time you should check the syllabus.
1 Geneal Infomation Cedits: 3 Peequisites: Data stuctues and algoithms; web pogamming skills (e.g., PHP) needed (if you do not have them, you must obtain them in self-study) Instucto: D. Makus Schneide Lectue times: Tuesdays: 3:00 pm 3:50 pm, 4:05 pm 4:55 pm (8th & 9th peiod), Thusdays: 4:05 pm 4:55 pm (9th peiod) Location: NEB 201 Office hous: Tuesdays: 2:00 pm 2:40 pm, Thusdays: 3:00 pm 3:45 pm, o by appointment Office: CSE Building, oom E450 Couse web site: http://www.cise.ufl.edu/~mschneid/ Teaching/COP5725_Sping2012/COP5725_Sping2012.html Phone: (352) 505-1584 Email: mschneid@cise.ufl.edu 2 Couse Objectives This lectue povides students with the essential concepts, pinciples, and techniques of moden database systems fom a use pespective. This means that the lectue focuses on the functionalities that ae offeed by database systems and not on the methods to implement them. Specifically, the couse teaches students the ability to develop a solution to a eal-wold data management poblem that equies the application of the theoies and pactices developed in class. Fom a theoetical point of view, this couse coves the essential pinciples fo the design, analysis, and use of computeized database systems. The design and techniques of conceptual modeling, database modeling, database system achitectue, and use/pogam intefaces ae pesented in a unified way. Specifically, topics coveed duing the couse of the semeste include: file systems vesus a database management system conceptual database design and modeling based on the Entity Relationship (ER) model the elational data model tansfoming an ER design into a elational database schema elational algeba SQL quey language elational database design theoy including functional dependencies and nomalization database application pogamming object-elational database systems SQL 3 standad COP 5725 Syllabus 2 Sping 2012
Fom a pactical point of view, students lean to deal with a commecial database system (Oacle). They lean how to apply theoetically undestood concepts in a pofessional database envionment. Fo example, they pactice how to fomulate ad hoc queies o how to wite application pogams in a database context. They also lean the complete pocess fom devising a conceptual database design up to its tansfomation into the database schema of a concete database management system. By poviding a balanced view of theoy and pactice, the mateial coveed should allow the student to undestand and use pactical database systems. The student is povided with a basic undestanding of the issues and poblems involved in database system development, a knowledge of cuently pactical techniques fo satisfying the needs of a database system, and an indication of the cuent eseach appoaches that ae likely to povide a basis fo tomoow's systems. 3 Couse Infomation 3.1 Textbooks and Readings A equied textbook will be used this semeste to augment the mateial pesented in lectues: R. Elmasi & S. B. Navathe. Fundamentals of Database Systems. Addison Wesley, 6th edition, 2010, ISBN 978-0-136-08620-8 The couse web page will mention a list of additional, ecommended but optional textbooks. The mateial coveed in the lectues should be consideed as the main definition of the scope of the couse. Readings in the equied textbook ae impotant to supplement lectue mateial. Assignments and exams will be based on the topics pesented in the lectue and may involve issues addessed in the eadings. 3.2 Staff Instucto: D. Makus Schneide Office: CSE Building, Room E450 Tel.: (352) 505-1584 E-mail: mschneid@cise.ufl.edu Teaching Assistants: Please take the names, the offices, the telephone numbes, the office hous, and the email addesses of the teaching assistants fom the couse website. COP 5725 Syllabus 3 Sping 2012
4 Couse Assessment Student assessment will be based on exams, homewok, and a softwae poject. 4.1 Exams Thee will be thee exams, the fist one oughly afte one thid of the semeste, the second one oughly afte two thid of the semeste, and the thid exam at the end of the semeste. All thee exams will be in class with closed notes and closed books. The goal of witing thee exams instead of two exams is to give the students a bette insight into thei pefomance in the class and, if necessay, the chance to impove it. Failue to take an exam will lead to 0 points in that exam. The exam schedule will be announced on the couse web site. Thee will be no explicit final exam. All thee exams will be based on the contents of the lectue and the coesponding eadings. The eading sections can also contain mateial not coveed by the lectue. The exams will contain two diffeent kinds of execises. The fist kind includes pactical execises like fomulating queies o designing a conceptual schema. The second kind incopoates knowledge execises and checks you knowledge of impotant database notions and concepts. These concepts and notions ae sometimes equied to be fomulated in mathematical notation and not in you own wods. An example is to explain what a elation is with espect to a given elation schema R(A 1,..., A n ). The expected answe is not A elation is a table consisting of ows and columns, etc. but A elation with espect to a elation schema R(A 1,..., A n ) is defined as (R) = dom(a 1 )... dom(a n ) whee dom(a i ) denotes the domain of attibute A i.. This is much moe pecise, unambiguous, and shote. 4.2 Homewok The homewok consists of five assignments. These assignments, which accompany the diffeent lectues, will take you though the steps that ae involved in building eal-wold database applications. All assignments must be solved by each student individually. Woking in goups is not allowed. The assignments consist of witten pats as well as pats dealing with the database system Oacle. Failue to submit an assignment will lead to 0 points in that assignment. 4.3 Softwae Poject In paallel to the lectues and homewok, student goups will implement a lage, joint piece of database softwae. This effot involves web-based database pogamming and is designed to give the student some eal hands-on expeience with a full-fledged database management system. We will use Oacle o othe database systems, high-level pogamming languages like Java o C++ as well as scipt languages like Javascipt o PHP. Specifically, students will design a elational database, load and quey the database, and ceate a web-based database application pogam. Students who ae not familia with pogamming languages and scipt languages will have to lean such a language on thei own in ode to be able to implement the web-based poject pat. At the demonstation day, which will be nea the end of the semeste, the student goups have to pesent thei softwae system. Students have to aange an appointment with the instucto. Demonstations will last 30 minutes and will be conducted in the CISE compute labs (oom 114). COP 5725 Syllabus 4 Sping 2012
4.4 Oacle We will be using an Oacle database seve. Oacle clients (called SQL Plus) fo connecting to the seve ae available on UNIX wokstations, Linux wokstations, and PCs in the CISE compute labs. Infomation about the Oacle database system installation in ou depatment can be found at http://www.cise.ufl.edu/help/database/oacle.shtml. In ode to be able to connect to the Oacle seve, you need to have a cuent CISE account as well as an Oacle account (they ae two diffeent accounts with diffeent passwods). Please efe to http://www.cise.ufl.edu/help/database/oacle.shtml#egiste fo infomation on how to obtain a new Oacle account o how to enew you existing Oacle account. You can also access these web sites fom ou couse web site. 4.5 Class Paticipation The instucto highly ecommends a egula class attendance. The instucto would also like to point out that he highly advocates punctuality fo the lectues. 4.6 Late Policy All homewok must be tuned in at the beginning of the lectue on the day it is due. A student must in peson put the homewok submission on the desk of the classoom befoe the beginning of the lectue. Homewok tuned in afte the deadline but less than 24 hous late will be accepted but penalized 15%; homewok tuned in moe than 24 hous but less than 48 hous late will be penalized 30%. No homewok will be accepted moe than 48 hous late. Homewok may not be submitted electonically. This late policy will be stictly enfoced. In some cases, it can happen that the late policy ule is invalidated. The eason is that shotly befoe an exam we aim to post the homewok solutions immediately afte the homewok submissions in ode to enable you to use the homewok solutions as a pepaation fo this exam. Howeve, we cannot post the solutions if we have not eceived you submissions. 4.7 Gading Duing the semeste the student can only ean points and not gades. At the end of the semeste the weighted sum of all points is mapped to a gade. The weighting is as follows: Exam Poject Homewok Exam 1 15% Poject Deliveable 1 4% Homewok 1 6% Exam 2 15% Poject Deliveable 2 4% Homewok 2 6% Exam 3 15% Poject Deliveable 3 1% Homewok 3 6% Poject Softwae 16% Homewok 4 6% Homewok 5 6% The maximum numbe of points that can be achieved in an exam, a poject deliveable, the poject softwae, and a homewok assignment is 100 points. COP 5725 Syllabus 5 Sping 2012
The student s pefomance p will be calculated accoding to the following fomula: 3 p = 15 ex i / ex i + 4 pd i / pd i + 1 pd 3 / pd 3 + 16 (ps / ps) + 6 hw i / hw i i = 1 whee the vaiables have the following meaning: p student s pefomance in pecent ex i maximum numbe of points fo exam i (usually 100 points) ex i eceived numbe of points fo exam i pd i maximum numbe of points fo poject deliveable i (usually 100 points) pd i eceived numbe of points fo poject deliveable i ps maximum numbe of points fo the poject softwae (usually 100 points) ps eceived numbe of points fo the poject softwae hw i maximum numbe of points fo homewok i (usually 100 points) hw i eceived numbe of points fo homewok i 2 i = 1 Point assessments (gadings) will be changed only when an assessment eo has been made; negotiation is impossible. If a student thinks an eo has been made, the student should let the instucto o the TAs know about thei doubt. The entie exam o assignment will then be eevaluated. A student must submit an item fo eevaluation within 5 days fom when the evaluation of that item was completed o posted. Based on the student s pefomance, the following gading policy will be applied: Student s Pefomance in % Gade >94-100 A >88-94 A- >82-88 B+ >76-82 B >70-76 B- >64-70 C+ >58-64 C >52-58 C- >46-52 D+ >40-46 D >34-40 D- 0-34 E 5 i = 1 COP 5725 Syllabus 6 Sping 2012
A C- will not be a qualifying gade fo citical tacking couses. In ode to gaduate, students must have an oveall GPA and an uppe-division GPA of 2.0 o bette (C o bette). Note: a C- aveage is equivalent to a GPA of 1.67, and theefoe, it does not satisfy this gaduation equiement. Fo moe infomation on gades and gading policies, please visit: http://www.egista.ufl.edu/catalog/policies/egulationgades.html. 5 Othe Impotant Issues 5.1 Academic Honesty Students ae equied to espect the ethical standads fo academic honesty established by the Office fo Student Judicial Affais. The Univesity of Floida student body voted in Fall 1995 to appove the following Student Hono Code: We, the membes of the Univesity of Floida community, pledge to hold ouselves and ou pees to the highest standads of honesty and integity. Wok submitted must be poduced individually by each student, except fo tasks explicitly assigned to a goup by the instucto. All wok submitted individually in the fom of exams, homewok, pesentations, epots, softwae pojects, etc., is subject to the following implicitly o explicitly equied pledge: On my hono, I have neithe given no eceived unauthoized aid in doing this assignment. Violations of academic honesty and integity in this couse will not be toleated. The instucto will deal stictly with any violations. Since ethical behavio in science and engineeing is equal in impotance to specific knowledge, the instucto will assign a non-passing lette gade to students who violate academic honesty standads, egadless of the violato s gade pefomance in exams, homewok, quizzes, and othe assignments. Official sanctions issued by the Office of Student Judicial Affais will become pemanently noted in the student s official tanscipt. The instucto s advice to the student is: immese youself in the class, lean the mateial, do you tasks (homewok, pesentation, epot, implementation, etc.) youself. The benefit and enjoyment you will eceive as a esult of had wok will be much moe valuable than any penalty you might eceive as a esult of cheating. 5.2 Class Rules Fo this class seveal ules hold which should be obseved by the student: 1. If a student should have a poblem that could have a negative influence on the student s class pefomance like sickness o poject goup conflicts, the student should talk to the instucto on time befoe it is too late in ode to find a solution. 2. The instucto attaches geat impotance to punctuality. Hence, each student should come in time to the class. COP 5725 Syllabus 7 Sping 2012
3. Class-elevant announcements ae made exclusively in the class. If a student is unable to attend a class, s/he should ask a fellow student o pass the instucto s office duing the office hous egading announcements in the pevious class. 4. The homewok assignments have to be pefomed individually. Teamwok is not allowed. The time peiod fo woking on a homewok assignment is fixed. Thee ae only exceptions fom this ule, if they can be documented by some kind of official pape. 5. On the fist page of a homewok, a student should put his/he couse numbe OP 5725, name, and email addess. If a student needs moe than one sheet of pape, all sheets should be stapled in the left uppe cone. The eadability of the homewok assignments is inevitable. 5.3 Students with Disabilities Students equesting classoom accommodation must fist egiste with the Dean of Students Office at the beginning of the semeste. The Dean of Students Office will povide documentation to the student who must then povide this documentation to the instucto when equesting accommodation. 5.4 Whee to Get Class-Related Infomation The latest class-elated infomation is given at the beginning of each class when announcements ae made. Some infomation elated to this class will be povided on the couse web site. This especially elates to the slides of the diffeent lectues. The home page fo the couse is located at http://www.cise.ufl.edu/~mschneid/teaching/cop5725_sping2012/cop5725_sping2011.html 5.5 Final Advice The students who get the most out of this class will be the ones who put in the most effot. If you want to do well, come to all the lectues, ead the assigned sections of the textbook befoe coming to class, and stat ealy on you homewok and softwae poject. If you ae having difficulty, you owe it to youself to get help. The instucto and the teaching assistants sinceely want all of you to do well. If you wok had and maste the mateial pesented in this class, you will lean some poweful, fundamental concepts of database management systems as well as application development skills, which ae vey maketable in today s high-tech industy. The instucto will ty his best to make the couse as inteesting and stimulating as possible and an eniching expeience fo you. Makus Schneide COP 5725 Syllabus 8 Sping 2012