CMSC 424 Spring 2017

CMSC 424 Spring 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 9:30-10:45am,   Room CSI 3117  
Professor: Nick Roussopoulos Email:
Office hours: Wed 1-2 pm or by appointment
Office AVW 3235, Tel. 405-2687

TA: Virinchi Srinivas Email:
virinchimnm@gmail.com
Office hours:Monday and Tusday 11am-12pm.
Office: AVW 4103
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 updated.
READING & PREPARING FOR THE COURSE
Lecture Slides 1-32
Reading: Chapters 1,2, and 6
Lecture Slides 33-100
Reading: Chapters 3 and 4
Lecture Slides 118-187
Reading: Chapters 7 and 8-8.6
Lecture Slides 188-236
Reading: Chapters 10
Lecture Slides 237-289
Reading: Chapters 11
Lecture Slides 290-319
Reading: Chapters 12
Lecture Slides 320-354
Reading: Chapters 13
Lecture Slides 355-396
Reading: Chapters [14-14.8] [15-15.3] [16-16.6]
Lecture Slides 397-494
Reading: Chapters 17,18,19,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 THE MIDTERM
Text Book Chapters 1,2,3,4,6,7,8-8.6,10, Lecture slides, and Quiz 1.
This is a portion of a previous midterm but does not include questions from chapter 10. Practice with exersizes 10.9 and 10.12 for this chapter.
Midterm Solutions
READING & PREPARING FOR QUIZ 2
Text Book Chapters 1,2,3,4,6,7,8-8.6,10,11,12, Lecture slides, Quiz 1and Midterm.
Quiz 2 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.1.2],10,11, [12-12.5.5.1], [12.6], [13-13.4] [14-14.8] [15-15.3] [16-16.6] [17-17.4], [20-20.1.4.1.1],[20.5], Lecture slides, Quiz 1, Midterm and Quiz 2.
Grades so far in the class '
To figure out your grade, hash on your Student ID using the following function: HashValue=mod(SID*1000013,23577). Note the color codes for the midterm grades are to denote the adjusted grade for the wrongly graded subquestion of 1.9. Green color is adjusted by .25+.25 for the correct answer and blue by -.25-.25 for wrong answers.
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 February 7. Soon you will be told how to submit a report saying that is done on ELMS.
SQL A and B Assignments
Some elaboration to a couple of queries in SQL B was added based on questions I received. ONLY to SQL B.
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_S17\SQL\STATES_Assgnmnts\DBLP_populate.sql
Oracle SQL Developer- A better interface to develop and execute SQL queries
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. DEADLINE Feb 7.


PROJECT INFO
Project and material to assist you to be posted here.
Project Description
Login on ELMS to find your partner. The email address of your partner can be found here
The DB Methodology Slides for the History of the Presidential Elections Example - Phases I
The DB Methodology Slides for the History of the Presidential Elections Example - Phases II
The DB Methodology Slides for the History of the Presidential Elections Example - Phases III
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!
    H5>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
    hidden hit counter

    Web Accessibility