Preamble
- Course Title: Principles of Database Systems (Graduate) (cs 565)
- crn: 48529
- Credits: 3
- Prerequisites: It is assumed you’ve taken a course on database fundamentals as an undergraduate.
- Course fee: Yes
- Days: Monday and Wednesday
- Time: 11:20 am – 12:35 pm
- Room: Charles A Dana Hall, 318 (map )
- Dates: 26 August – 9 December 2024
- Professor: Roy Vanegas (pronounced “vuh-nay-gus”)
- Email: vanegas at hartford dot edu
- Phone: 860.768.5925
- Office: Charles A Dana Hall, 310B
- Office hours: I meet students on an appointment basis via video conference during the times listed here. (Click here for videoconferencing details.) Other times on Thursdays and Fridays are available, also. Email vanegas@hartford.edu to make an appointment.
- Tuesday: 11:00 am – 5:00 pm
Description
This course expands on the theory, design, and programming of database systems using relational databases, while also teaching students how to work with their non-relational — or Nosql — counterparts. Modern web sites, computer applications, and other technologies use databases, such as sqLite, Postgresql, and Mongodb, all of which we’ll work with to some significance throughout the semester with browser interfaces. We’ll also cover a detailed refresher of relational database concepts, including advanced relational algebra, as they pertain to sql, while making comparisons with document-oriented databases, such as xml and json. Students will interact with all databases using a command line interface.
Learning Outcomes
Upon successful completion of this course, students will understand...
- advanced relational database interactions;
- more complex relational algebraic expressions;
- the advantages and disadvantages between relational and non-relational databases, and when to use them;
- the full-stack, web-based programming paradigm using relational and non-relational databases;
- and, the ability to translate data models between document-based and relational/non-relational databases.
Software Requirements
All the software required for this course is free and listed below.
MySQL (Mac, Windows, Linux)
Download Mysql from https://dev.mysql.com/downloads/mysql/. Pay special attention to the correct version of Mysql for your os.
SQLite (Mac, Windows, Linux, Android, WebAssembly)
You may already have sqLite. Run sqlite3
from your command line interface to check. Otherwise, download it from https://www.sqlite.org/download.html.
PostgreSQL (Mac, Windows, Linux, Unix)
Download Postgresql, known more commonly as “postgres”, from https://www.postgresql.org/download/.
Node (Mac, Windows, Linux)
Node.js is the back-end JavaScript runtime environment that we’ll use alongside (and sometimes instead of) the browser to work with JavaScript. Download the latest stable release from nodejs.org and follow the default instructions. Note: Installing Node also installs npm, Node’s package manager.
MongoDB (Mac, Windows, Linux)
Download Mongodb from https://www.mongodb.com/products/self-managed/community-edition. Ensure you’re downloading the Community Edition, which is for local development.
Package Manager (Mac, Windows)
Package managers provide an easy way to install software via your cli from a single registry. Install Homebrew for macos via The Terminal from https://brew.sh/; install Chocolatey for Windows via PowerShell from https://chocolatey.org/install.
Git Client (Mac, Windows, Linux)
All in-class examples, assignments, and help is done via GitHub. Download the client for your computer here.
Text Editor (Mac, Windows, Linux)
The code you write will require a text editor. Although there are many on the market, such as Sublime Text (nagware), for example, vs Code (open source) is the only editor supported in class. Download the Linux, Windows, or macOS version from https://code.visualstudio.com/.
EditorConfig (Mac, Windows, Linux)
EditorConfig is a tool that enforces consistent coding styles for everyone who works on a codebase. In our case, that codebase consists of all the examples in class and all the assignments you’ll submit throughout the semester. EditorConfig consists of an extension and a configuration file (.editorconfig
) that goes in your home — or project — folder. Some editors and ides have EditorConfig built in. vs Code, unfortunately, is not one of them. Install the EditorConfig extension for vs Code from here, then download this .editorconfig
file and place it in your home folder. Ensure the file name is exactly .editorconfig
, starting with a dot and without a file extension.
Fonts (Mac, Windows, and Linux)
In addition to the stock issue, monospace/fixed-width fonts included with your os, here are a few more fonts to explore in your text editors:
IBM Plex | Ubuntu Mono | Fira Mono | Anonymous Pro | Inconsolata
Textbook
There is no textbook for this course. Online readings will be provided throughout the semester.
Schedule
Important Notes
The University treats absences related to covid-19 as excused absences. Consequently, you’ll need to get notes from someone in class, as mentioned in the section of this syllabus marked Advice on Succeeding in Class. There will not be a streaming video option for anyone missing class.
Notable Dates
- Monday, 26 August 2024 (Week 1) — First day of classes
- Monday, 2 September 2024 (Week 2) — No class (Labor Day)
- Friday, 1 November 2024 (Week 10) — Last day to change to pass/no pass, or vice versa; last day to withdraw with a grade of W
- Monday, 25 November, and Wednesday, 27 November 2024 (Week 14) — No class (Thanksgiving recess)
- Monday, 9 December 2024 (Week 16) — Last day of classes
Week | Class | Topics | Homework |
---|---|---|---|
1 | Mon |
|
|
Wed |
|
|
|
2 | Mon | No Class |
None |
Wed |
|
|
|
3 | Mon |
|
|
Wed |
|
|
|
4 | Mon |
|
|
Wed |
|
|
|
5 | Mon |
|
|
Wed |
|
|
|
6 | Mon |
|
|
Wed |
|
|
|
7 | Mon |
|
|
Wed |
|
|
|
8 | Mon |
|
|
Wed |
|
|
|
9 | Mon |
|
|
Wed |
|
|
|
10 | Mon |
|
|
Wed |
|
|
|
11 | Mon |
|
|
Wed |
|
|
|
12 | Mon |
|
|
Wed |
|
|
|
13 | Mon |
|
|
Wed |
|
|
|
14 | Mon | No class |
None |
Wed | No class |
None |
|
15 | Mon |
|
|
Wed |
|
|
|
16 | Mon | Final project due
|
Enjoy your break! |
Assignments
The assignments portion of your final grade consists of three homework-type assignments and one final project. (See the Grading Formula section to learn what percentage of your final grade each is worth.)
Note: Broken links in the list below will be updated once each assignment is assigned a due date.
Grading
Your grade for this course will be computed using the following formula:
- Assignments (45%)
- Assignment I — 15%
- Assignment II — 15%
- Assignment III — 15%
- Final project (45%)
- Participation (10%)
Class Policies
- Consuming food in class. There is no eating inside our classroom, either during class or while on break. Eat before or after class. Drinks in covered containers, however, are allowed.
- Digital devices. Silence your mobile devices before class starts.
No AI Use in Class
The use of generative ai tools is strictly forbidden in this course. All programming assignments — and any labs — associated with this course must be completed without the assistance of ai-generated content. This policy is in place to ensure that the work submitted is authentically yours and reflects your personal understanding and capabilities. Violations of this policy will be considered academic dishonesty and will be subject to disciplinary actions as outlined in the university’s academic honesty policy.
Academic Honesty
Cheating of any kind will not be tolerated in this course; make certain that all the work you submit is your own. Refresh your understanding of the college’s policy on academic honesty.
Students with Disabilities
If you have a documented disability for which you are requesting accommodation, you are encouraged to contact Access-Ability Services as soon as possible by calling 860.768.4312, emailing tlopez@hartford.edu, or by stopping by the Access-Ability Services office in Auerbach Hall, Room 209. If your request for accommodations is approved, an accommodation letter will be emailed to your instructor(s) upon your request. Please discuss your accommodations with the instructor as soon as possible to make appropriate arrangements. Note: Student requests for accommodations must be filed each semester. Visit https://www.hartford.edu/academics/academic-support/accessibility-services/ and click the “Registering” link for more info and a link to a video that walks you through the process.
Title IX and Sexual Assault
Sexual violence and other forms of sexual misconduct and harassment, including stalking and intimate partner violence, are prohibited under Title ix, federal and state law, and University of Hartford policy. Information on the University’s policies against sexual violence can be found at https://www.hartford.edu/about/policies/title-ix/. Resources regarding sexual violence can be found at https://www.hartford.edu/about/policies/title-ix/on-off-campus-resources.aspx
Note: University of Hartford faculty, staff, and ras are required to report incidents of sexual misconduct to the Title ix Office (title9@hartford.edu). For further information on The University’s policies and resources, please contact Jason Martinez (860.768.5255; jamartine@hartford.edu) or Justin Bell (860.768.4880; jbell@hartford.edu).
Mental Health and Well-Being
Mental Health is an important aspect of students’ well-being and integral to positive academic experiences and success. If, during the semester, you experience difficulties and would like support, consider contacting the University of Hartford’s caps, or Counseling and Psychological Services, which offers a range of short-term counseling services available to full-time undergraduate students at no additional cost, and to part-time undergraduate and graduate students for a small fee.
caps is located in Gengras Student Union, Room 313 , and can be reached by calling 860.768.4482 or emailing Liz Inkel at inkel@hartford.edu. Office hours are Monday – Friday, 8:30 AM – 4:30 PM.
Advice on Succeeding in Class
Read over the following to understand procedures for maximizing your chances of succeeding in class.
- Advice for Succeeding in Class (in pdf)
- Advice for Succeeding in Class (in Markdown)
I meet students on an appointment basis via video conference during the times listed here. (Click here for videoconferencing details.) Other times on Thursdays and Fridays are available, also. Email vanegas@hartford.edu to make an appointment. Office Hours
- Tuesday: 11:00 am – 5:00 pm
Contact
Nowadays, I only use email for emergency situations, such as a pet emergencies, personal tragedies, etc. For matters related to our course, you’re advised to see me before or after class, during my office hours, or by appointment. My contact info is listed in the Preamble.