COSI 127b: Intro to Database Systems, Spring2018

This course is an introduction to data management with Database Management Systems (DBMS). Students in this course will learn the requisite language, design and analysis skills to perform the functions of a database administrator (DBA) which include: formulation ofdatabase queries in various (theoretical and practical) query languages, logical and physical database design, application of techniques toensure recovery and high availability, and profiling configured systems according to a variety of performance measures. As well, students will learn about the data structures (e.g., B+-trees, file structures) and algorithms (e.g., query optimization) found in most systems, and apply this understanding to the tuning of configured systems to best meet specified performance objectives.

Logistics:

Where and When:

Meeting Place:Gerstenzang 124

Meeting Times: 3:30-4:50Mon, Wed +Evening help sessionsTBA

Professor:

Mitch Cherniack ()

Office: Volen 259

Office Hours: Tue3:30-4:30, Wed 5-6(or by appointment)

TAs:

Kelley Lynch, Head TA ()

Luyi Bai ()

Anna Bulger ()

Si Chen ()

Fan Di ()

Nila Mandal ()

Phoebe Zhang ()

Prerequisites:

The strictprerequisites for COSI 127b are COSI 29a and either COSI 12b or COSI 21a. You should be familiar with Unix (Linux) and Java, although these will be reviewed in evening help sessions once the 1st programming assignment has been assigned.

Resources:

The textbook for the course is Database System Concepts, sixth edition, by Silberschatz, Korth and Sudarshan, published by McGraw-Hill. Copies areavailable in the bookstore.

Slide content will often be borrowed from slides available at the textbook's web site at You're encouraged to download these files for your notes, but note that the slides and other materials presented in class may vary.

Course Communication:

All course communication will take place via the course latte page, which you should be able to reach from once you register for the course.

The latte page will provide:

all documents for the class (including this syllabus, problem sets and solutions, programming assignments and supplemental files and help session materials)

class announcements (e.g., class cancellations)

powerpoint slides for every lecture

a forum (‘Questions for the Instructors’) for posting questions on the lectures, assignments. Note: the use of latte for posting questions is a way to both be fair to students in the class, as well as a way to save the time of your instructor and TA’s. It allows all questions and answers to be seen by all in the class, and helps to ensure that the same question does not get posed multiple times. Any questions on the course content or assignments that is not posed on latte will be ignored.

Workload:

COSI 127a is a 4-credit hour course with three hours of class-time per week. Success in this 4 credit hour course is based on the expectation that students will spend a minimum of 9 hours of study time per week in preparation for class (readings, papers, discussion sections, preparation for exams, etc.).

Evaluation:

Assignments:

There will be 6 written problem sets and 3 programming assignments. All assignments are due by the start of class (3:30) on the assigned due date.

Problem Sets: Collaboration will be permitted on problem sets, but all submissions should still reflect each student’s own work. Thus, students may discuss their approaches to individual problems, but then should write up their solutions on their own. All problem set submissions should adhere to the following guidelines:

  1. Each problem should begin on a new sheet of paper to facilitate grading
  2. Your name and key # should appear on every page of the assignment. Key #’s will be assigned to each student prior to the due date for the 1st assignment
  3. Pages of the assignment must be paper clipped together. Submissions that are
    not attached risk having pages lost. It is also highly recommended that you take photos of your assignment prior to submission in case pages are lost.

Assignments must be submitted in hard copy form, either in class or to any TA outside of class. Assignments can also be put in any TA’s mailbox in the COSI office on the 2nd floor, but such submissions require a signature with a date and time from Michael, Sarah or Ann (who have desks in the COSI office). Note that neither the TAs nor I will accept problem set submissions by email.

Programming Assignments: Unlike the problem sets, no collaboration is permitted on programming assignments. Programming assignments should be submitted on or before the due date and time in both hard copy and soft copy form. Hard copies can be brought to class. The TA will give instructions on how to submit soft copies.

Late Policy: Problem set and programming assignment submissions after the due date and time are considered late. Late submissions result in a 50% penalty. For example, if a late submission has a raw score of 100%, it will be given an adjusted score of 50% as a result of the late penalty. Note that we will post solutions for each assignment 24 hours after the deadline, and that no late submissions will be accepted after solutions are posted.

Exams:

There will be a midterm on Wednesday, March 7and a 3 hour final for this course during the exam period.

Grades:

Grades will be apportioned roughly as follows:

  • Midterm: 20%
  • Problem Sets: 10%
  • Programming Assignments 20%
  • Final Exam: 50%

Note that all classwork used to determine your grade in the course must be completed by the designated deadlines. Under no circumstances will additional credit be given for work done outside of that which is assigned.

Note that the grade you receive for this course is final and not subject to negotiation.

Attendance:

In 20 years of teaching this course, it is clear that good grades are highly correlated with class attendance. Even though attendance will not count towards your final grade, I will still be taking attendance to help determine the cause of any student’s struggles. Given the large class enrollment, I will be using Mentimeter: a tool that permits student input via an app (available for iOS and Android) or through a browser. I will also be using this tool to solicit solutions to exercises posed in class, so as to get a better idea of how well students understand a particular concept.

As a result, I am asking students to bring their phones to class. However, I expect phones to be put away except when I assign an exercise involving Mentimeter.

Class Rules:

1)No use of laptops is allowed during class. Slides will be posted online on the class latte page, so there will be no need to look at your laptop during class. Phones or tablets will be permitted for class participation via the Mentimeter tool (available as an app for iOS and Android devices) or via a standard browser, but not for other purposes. Please put away your phone except when asked to participate in a Mentimeter exercise.

2)Bring paper and pens/pencils to class: We will often have class exercises based on topics covered during class. Please come prepared.

3)No distracting behavior: Please avoid chatting with your classmates during class, as it is distracting to your fellow students and to me. Offenders may be asked to change seats or to leave.

Schedule:

As best as possible we will keep to the schedule shown on the latte page for the course. As some topics may require more time than is allotted, the lecture schedule may get modified as we get further into the course. Thus, keep track of this calendar on a regular basis.

The reading assignments cover the material that is discussed that lecture. If you want to read ahead, you should read this material before coming to class.

Important Dates:

Problem Sets:

PS 1 / Out: 1/17 / Due: 1/24
PS 2 / Out: 2/5 / Due: 2/12
PS 3 / Out: 2/12 / Due: 2/26
PS 4 / Out: 2/26 / Due: 3/5
PS 5 / Out: 3/19 / Due: 3/26
PS 6 / Out: 4/16 / Due: 4/23

Programming Assignments:

PA 1 / Out: 1/24 / Due: 2/5
PA 2 / Out: 3/7 / Due:3/19
PA 3 / Out: 3/26 / Due: 4/16

Exams:

Midterm / Wed, 3/7
Final / TBD

Students with Disabilities:

If you are a student with a documented disability on record at Brandeis University and wish to have a reasonable accommodation made for you in this class, please see me immediately after the first class.