CMSC 424 Fall 2017
CMSC 424 Fall 2017
Goals: Students are introduced to database systems and motivates the database approach as a mechanism for modeling
the real world. An in-depth coverage of the relational model, logical database design, query languages, and other
database concepts including query optimization, concurrency control; transaction management, and log based
crash recovery. Distributed and Web database architectures are also discussed.
The class project requires a
complete analysis, design, and implementation of a database application.
Prerequisite: Minimum grade of C- in CMSC351 and CMSC330; and permission of CMNS-Computer Science department.
Or must be in the (Computer Science (Doctoral), Computer Science (Master's)) program.
CLASS & OFFICE HOURS
Class meets TuTh 11-12:15, Room
CSI 2117
Professor:
Nick Roussopoulos
Email:
Office hours: Wed 1-2 pm or by appointment
Office AVW 3235, Tel. 405-2687
TA: Virinchi Srinivas
Email:virinchi@cs.umd.edu
Office: AVW 4103 Office hours: Mo 10:30-11:30 & Th 12:30-1:30
UTA: Yusuf Ameri
Email: yameri@terpmail.umd.edu
Office: AVW 4103 Office hours: We 3:30-5:00 & Fr 3:30-5:00
UTA: Eric Yang
Email: eyang24@terpmail.umd.edu
Office: AVW 4103 Office hours: Mo 3:30-5:00 & Th 3:30-5:00
ANNOUNCEMENTS
All classes announcements will be posted on this site. Make sure you visit this page often to
check for postings including assignments, notes, and lecture slides.
Course Syllabus
READING & PREPARING FOR THE COURSE
Lecture Slides 1-32
Reading: Chapters 1,2, and 6
Lecture Slides 33-99
Reading: Chapters 3 and 4
Lecture Slides 48-49
without the ovelraping diagrams
Lecture Slides 117-188
Reading: Chapters 7 and 8-8.6
Lecture Slides 188-238
Reading: Chapters 10
Lecture Slides 239-292
Reading: Chapters 11
Lecture Slides 293-322
Reading: Chapters 12
Lecture Slides 323-356
Reading: Chapters 13
Lecture Slides 357-398
Reading: Chapters [14-14.8] [15-15.3] [16-16.6]
Lecture Slides 400-449
Reading: Chapters 17, 18, 20, 22
QUIZZES AND EXAMS
READING & PREPARING FOR QUIZ 1
Text Book Chapters 1,2,3,4,6, Lecture slides
Quiz 1 Solutions
READING & PREPARING FOR QUIZ 2
Text Book Chapters 1,2,3,4,6,7,8-8.6, Lecture slides, Quiz 1.
Quiz 2 Solutions
READING & PREPARING FOR QUIZ 3
Text Book Chapters 1,2,3,4,6,7,8-8.6,7, 8-8.6,10,11, Lecture slides, Quiz 1 and 2.
Quiz 3 Solutions
READING & PREPARING FOR QUIZ 4
Text Book Chapters 1,2,3,4,6,7,8-8.6,7, 8-8.6,10,11, 12-12.5, Lecture slides, Quiz 1, 2 and 3.
Quiz 4 Solutions
READING & PREPARING FOR QUIZ 5
Text Book Chapters 1,2,3,4,6,7,8-8.6,7, 8-8.6,10,11, 12-12.5, 13, [14-14.8], [15-15.3],
Lecture slides, Quizzes 1, 2, 3 and 4.
Quiz 5 Solutions
READING & PREPARING FOR FINAL (comprehensive)
In the following ranges [X-Y] include both endpoints X and Y.
Text Book Chapters 1,2,3,4,[6-6.1.3.4],7,[8-8.5],10,11, [12-12.6], [13-13.4] [14-14.8] [15-15.3] [16-16.6],
Lecture slides, and Quizzes 1, 2, 3, 4, and 5.
Your grades are posted here. Number grades correspond to letter grades as folows:
X.4 to X+, X.3 to X, and X.1 to X- where X is either A, B, or C.
1.1 to D and 0.0 to F.
Note that light green shaded points were adjusted UP by a small fraction of a point
to bring the final grade to the next grade level.
Unshaded grades are within the grade level range.
Light blue shaded zeros are missed exams or homeworks.
To figure out your grade, hash on your Student ID using the following function:
HashValue=mod(SID*100001317,23577).
SQL MATERIAL AND ASSIGNMENTS
The SQL assignments are to be done and submitted individually.
Assignment 0: You have to download and setup the Oracle SQL Developer on your laptop or desktop.
You will use this to develop and execute your SQL queries.
See below the instructions how to do it.
DEADLINE for this is September 7. Soon you will be told how to submit a report saying that is done on ELMS.
SQL A and B Assignments
SQL script to create and load the DBLP database in Oracle.
-- You need to download the script and store it to a directory under a name say, DBLP_populate.sql.
Then in the SQL Developer run the script in the query section prefixed with @. Make sure you specify the whole
path to the script file for the program to find it,
e.g. @D:\Data\Class\_424_F17\SQL\STATES_Assgnmnts\DBLP_populate.sql
SQL A Solutions
SQL B Solutions
Oracle SQL Developer- A better interface to develop and execute SQL queries
Oracle SQLPlus - If for some reason you cannot install SQL Developer and you need to run Oracle on Glue at
the command line, the script to do it is here. To run sqlplus on glue.umd.edu you will have to use the Oracle
account you will be provided.
Oracle Online Documentation
PRACTICE DATABASE: SQL script to create and load a Senate database in Oracle SQLPlus
-- You need to download the script and store it to a directory under a name say, state_populate.sql.
Then in the SQL Developer run the script in the query section prefixed with @. Make sure you specify the whole
path to the script file for the program to find it,
e.g. @D:\Data\Class\_424_S17\SQL\STATES_Assgnmnts\state_populate.sql
PRACTICE DATABASE: Queriess on the State Database
- YOU DO NOT NEED TO SUBMIT THE QUERIES BUT TO REPORT
THAT YOU PRACTICED WITH THIS DATABASE AND READY FOR THE REAL SQL ASSIFNMENTS.
PROJECT INFO
Project and material to assist you to be posted here.
Project Description
The DB Methodology Slides for the History of the Presidential Elections Example - Phase I
The DB Methodology Slides for the History of the Presidential Elections Example - Phase II
A complete Project (Sample)
The Original Adaptable Database Design Methodology
A tool for the Database Methodology.
An implementation of the DB Methodology on a modern platform. Available for free for download.
It installs easily on Windows. A really nice tool that makes the design and the documentation easy.
TEXT BOOK
Required text: Korth & Silberschatz "Database System
Concepts," 6th Edition, McGraw Hill 2011. Note the CD version of the book is NOT
required.
I HIGHLY recommend reading ahead from the text
and the notes even if you don't understand most of the concepts. This gives you
a big advantage in understanding the material while covered in class and it
saves enormously when you read the material and do the practice exersizes of the
book.
Make-up policy: No make-up exam will be given except for medical and
e
ergency reasons.
Delayed work: No delayed work will be accepted, unless accompanied by a
doctor's note.
Cheating: If caught in a cheating situation your database transactions will
be aborted!
EXCUSED ABSENSES DUE TO ILLNESS
Students claiming a excused absence must apply in writing and furnish
documentary support (such as from a health care professional who treated the
student) for any assertion that the absence qualifies as an excused absence. The
support should explicitly indicate the dates or times the student was
incapacitated due to illness. Self-documentation of illness is not itself
sufficient support to excuse the absence. An instructor is not under obligation
to offer a substitute assignment or to give a student a make-up assessment
unless the failure to perform was due to an excused absence. An excused absence
for an individual typically does not translate into an extension for team
deliverables on a project.
DISABILITY
Any student eligible for and requesting reasonable academic accommodations due
to a disability is requested to provide, to the instructor in office hours, a
letter of accommodation from the Office of Disability Support Services (DSS)
within the first two weeks of the semester.
hidden hit counter
Web Accessibility