Homework 2: Translating between the ER and relational models Due at 5pm on Wednesday, April 25

Size: px
Start display at page:

Download "Homework 2: Translating between the ER and relational models Due at 5pm on Wednesday, April 25"

Transcription

1 CS 461, Databases Systems, Spring 2018 Description Homework 2: Translating between the ER and relational models Due at 5pm on Wednesday, April 25 This assignment covers translation between the two models we covered in class: entity relationship (ER) and relational. I do not expect you to use any special software to draw ER diagrams. The easiest way is to print out this assignment, draw the diagrams by hand, scan in and submit. Grading This assignment is made up of 3 problems, collectively worth 90 points, or 5% of the over-all course grade. If this assignment is submitted late, you will receive no credit. This assignment is to be completed individually. Please consult the course syllabus for a description of our academic honesty policy. Submission instructions Submit your assignment to gitlab on gitlab.cci.drexel.edu. I assume that you already followed the steps to create your git repository, as outlined in the Resources area of the course website ( I will refer to the root directory of your git repository as $GIT_HOME. Create a directory called cs461-hw2 (case-sensitive, use exactly this name) under $GIT_HOME: mkdir $GIT_HOME/cs461-hw2 cd $GIT_HOME/cs461-hw2 Place the file or file you wish to submit, e.g., hw2.pdf into this directory. You can now commit your assignment as follows: git add * git commit -m homework 2 git push You may submit multiple times before the deadline, only your last submission committed before the deadline will be graded.

2 Part 1 (20 points): ER to relational Consider ER diagrams below. Write one or several create table statements that implement the entity sets, relationship sets and constraints encoded by the diagrams. Give a brief explanation of your implementation, explaining how you encoded the constraints specified by the diagram. If a constraint cannot be encoded you must state so explicitly. (a) (10 points) Assume that id attributes are underlined, and are of type integer. Assume that name attributes are of type char(32). Arrow from A to rel is not bold, arrow from C to rel is bold.

3 (b) (10 points) Assume that id attributes are underlined, and are of type integer. Assume that name attributes are of type char(32). Arrow from A to rel1 is not bold, arrow from C to rel2 is bold.

4 Part 2 (20 points): Relational to ER Consider create table statements below. In each question, draw an ER diagram from which these create table statements could have been derived. Be sure to mark any key and participation constraints. (a) (10points) create table Foo ( X integer primary key, Y integer unique, Z integer not null, foreign key (Y) references Bar(Y) create table Bar ( Y integer primary key create table Baz ( X integer primary key, W integer not null, foreign key (X) references Foo(X)

5 (b) (10points) create table R ( rid integer primary key, name varchar(64) not null create table S ( sid integer primary key, name varchar(64) not null, rid integer not null unique, foreign key (rid) references R(rid) create table T ( tid integer primary key, val float, sid integer, foreign key (sid) references S(sid)

6 Part 3 (50 points): ER to relational, revisited Consider the ER diagrams below. In each question, write create table statements that correctly translate this diagram. Briefly explain how your create table statements implement key and participation constraints. If a constraint cannot be represented in SQL you should state so in your description. (a) (10 points) name% isolympic% name% dob% play& SPORTS& ATHLETES& name% belong_to& TEAMS& The line from ATHLETES to play is bold and has an arrowhead. The line from ATHLETES to belong_to has an arrowhead but is not bold. The line from TEAMS to belong_to is bold.

7 (b) (10 points) The lines from GALLERIES to own, and from GALLERIES to display, are bold. The line from PAINTINGS to own is bold and has an arrowhead.

8 (c) (15 points) The line from AIRLINES to operate is bold. The line from FLIGHTS to operate has an arrowhead. The line from FLIGHTS to connect is bold.

9 (d) (15 points) name Satellites name diameter mass orbital_period Planets orbit period orbit named after name brightness name mythology Stars metallicity Deities The line from PLANETS to orbit is bold and has an arrowhead. The line from PLANETS to named after has an arrowhead. The line from SATELLITES to orbit is bold and has an arrowhead. The frames of SATELLITES and of orbit are bold.

CS 461: Database Systems. Midterm review. Julia Stoyanovich

CS 461: Database Systems. Midterm review. Julia Stoyanovich CS 461: Database Systems Midterm review Julia Stoyanovich (stoyanovich@drexel.edu) Sets Let us denote by M the set of all musicians, by R the set of rock musicians, by B the set of blues musicians, by

More information

Draw an ER diagram that encodes the following business rules. Clearly mark all key and participation constraints.

Draw an ER diagram that encodes the following business rules. Clearly mark all key and participation constraints. CS 500, Fundamentals of Databases Midterm Exam Completed between February 16 th (9am) and February 18 th (11pm), 2018 SOLUTIONS Problem 1 (20 points): ER modeling Draw an ER diagram that encodes the following

More information

CS Homework 8. Deadline. Purpose. Problem 1. Problem 2. CS Homework 8 p. 1

CS Homework 8. Deadline. Purpose. Problem 1. Problem 2. CS Homework 8 p. 1 CS 458 - Homework 8 p. 1 Deadline CS 458 - Homework 8 Problem 1 was completed during CS 458 Week 10 Lab. Problems 2 onward are due by 11:59 pm on Friday, November 3, 2017 Purpose To meet with your project

More information

Homework 3: Relational Database Design Theory (100 points)

Homework 3: Relational Database Design Theory (100 points) CS 122A: Introduction to Data Management Spring 2018 Homework 3: Relational Database Design Theory (100 points) Due Date: Wed, Apr 25 (5:00 PM) Submission All HW assignments should be turned in with a

More information

Carnegie Mellon University Department of Computer Science /615 - Database Applications C. Faloutsos & A. Pavlo, Spring 2014.

Carnegie Mellon University Department of Computer Science /615 - Database Applications C. Faloutsos & A. Pavlo, Spring 2014. Carnegie Mellon University Department of Computer Science 15-415/615 - Database Applications C. Faloutsos & A. Pavlo, Spring 2014 Homework 1 IMPORTANT Plagiarism: Homework may be discussed with other students,

More information

CMSC Introduction to Database Systems

CMSC Introduction to Database Systems CMSC 23500 Introduction to Database Systems Department of Computer Science University of Chicago Spring 2009 Quarter Dates: March 30 through June 2, 2009 Lectures: TuTh 12:00-1:20 in Ryerson 277 Labs:

More information

COSC Assignment 2

COSC Assignment 2 COSC 344 Overview In this assignment, you will turn your miniworld into a set of Oracle tables, normalize your design, and populate your database. Due date for assignment 2 Friday, 25 August 2017 at 4

More information

How to Build Your Course in Moodle

How to Build Your Course in Moodle How to Build Your Course in Moodle This tutorial will show you the basic functions of how to add and edit content to build your course in Moodle. To add or alter activities or resources, you will need

More information

HOMEWORK 8. M. Neumann. Due: THU 29 MAR PM. Getting Started SUBMISSION INSTRUCTIONS

HOMEWORK 8. M. Neumann. Due: THU 29 MAR PM. Getting Started SUBMISSION INSTRUCTIONS CSE427S HOMEWORK 8 M. Neumann Due: THU 29 MAR 2018 1PM Getting Started Update your SVN repository. When needed, you will find additional materials for homework x in the folder hwx. So, for the current

More information

CS 2316 Homework 9b GT Thrift Shop Due: Wednesday, April 20 th, before 11:55 PM Out of 100 points. Premise

CS 2316 Homework 9b GT Thrift Shop Due: Wednesday, April 20 th, before 11:55 PM Out of 100 points. Premise CS 2316 Homework 9b GT Thrift Shop Due: Wednesday, April 20 th, before 11:55 PM Out of 100 points Files to submit: 1. HW9b.py 2. any image files (.gif ) used in database This is an INDIVIDUAL assignment!

More information

:59:32 PM PST

:59:32 PM PST Page 1 of 5 1 Group Database PHP workflow 2 3 The Linux side of the CS Lab machines is setup exactly as the Virtual 4 Box images in Scott. You have access to /srv/www/htdocs/php/punetid/ 5 and there is

More information

Computer Science 597A Fall 2008 First Take-home Exam Out: 4:20PM Monday November 10, 2008 Due: 3:00PM SHARP Wednesday, November 12, 2008

Computer Science 597A Fall 2008 First Take-home Exam Out: 4:20PM Monday November 10, 2008 Due: 3:00PM SHARP Wednesday, November 12, 2008 Computer Science 597A Fall 2008 First Take-home Exam Out: 4:20PM Monday November 10, 2008 Due: 3:00PM SHARP Wednesday, November 12, 2008 Instructions: This exam must be entirely your own work. Do not consult

More information

CMPT 354 Database Systems. Simon Fraser University Summer Instructor: Oliver Schulte

CMPT 354 Database Systems. Simon Fraser University Summer Instructor: Oliver Schulte CMPT 354 Database Systems Simon Fraser University Summer 2011 Instructor: Oliver Schulte Assignment 1: Entity-Relationship Modelling, The Relational Model, and Relational Algebra. MS SQL Server. Total

More information

Homework All prose solutions (proofs, math, and other explanations) must be presented in a PDF file named solution.pdf.

Homework All prose solutions (proofs, math, and other explanations) must be presented in a PDF file named solution.pdf. CS 4800: Algorithms and Data Due Thursday, October 18, 2012 at 9:00am Homework 3 Submission Instructions: This homework will be submitted online via git. For an introduction to git by Northeastern s own

More information

CS 341 Spring 2014 HW #8. Policy: Individual *or* teams of 2 electronic via Blackboard. Assignment. N-tier Design

CS 341 Spring 2014 HW #8. Policy: Individual *or* teams of 2 electronic via Blackboard. Assignment. N-tier Design HW #8 Complete By: Wednesday April 9 th @ 9:00pm Policy: Individual *or* teams of 2 Submission: electronic via Blackboard CS 341 Spring 2014 Assignment The previous homework (HW7) focused on building a

More information

Homework Assignment #3

Homework Assignment #3 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #3 Assigned: Monday, February 20 Due: Saturday, March 4 Hand-In Instructions This assignment includes written problems and programming

More information

Homework Assignment 3. November 11th, 2014 Due on November 25th, 12:30pm (noon) CS425 - Database Organization Results

Homework Assignment 3. November 11th, 2014 Due on November 25th, 12:30pm (noon) CS425 - Database Organization Results Name CWID Homework Assignment 3 November 11th, 2014 Due on November 25th, 12:30pm (noon) CS425 - Database Organization Results Please leave this empty! 3.1 3.2 Sum Instructions Try to answer all the questions

More information

Spring CS Homework 2 p. 1. CS Homework 2. To practice with PL/SQL stored procedures and functions, and possibly exception handling.

Spring CS Homework 2 p. 1. CS Homework 2. To practice with PL/SQL stored procedures and functions, and possibly exception handling. Spring 2018 - CS 328 - Homework 2 p. 1 Deadline Due by 11:59 pm on Sunday, February 4, 2018. Purpose CS 328 - Homework 2 To practice with PL/SQL stored procedures and functions, and possibly exception

More information

HOMEWORK 9. M. Neumann. Due: THU 8 NOV PM. Getting Started SUBMISSION INSTRUCTIONS

HOMEWORK 9. M. Neumann. Due: THU 8 NOV PM. Getting Started SUBMISSION INSTRUCTIONS CSE427S HOMEWORK 9 M. Neumann Due: THU 8 NOV 2018 4PM Getting Started Update your SVN repository. When needed, you will find additional materials for homework x in the folder hwx. So, for the current assignment

More information

CS 186 Midterm, Spring 2003 Page 1

CS 186 Midterm, Spring 2003 Page 1 UNIVERSITY OF CALIFORNIA College of Engineering Department of EECS, Computer Science Division CS 186 Spring 2003 J. Hellerstein Midterm Midterm Exam: Introduction to Database Systems This exam has five

More information

Programming Assignment 0

Programming Assignment 0 CMSC 17 Computer Networks Fall 017 Programming Assignment 0 Assigned: August 9 Due: September 7, 11:59:59 PM. 1 Description In this assignment, you will write both a TCP client and server. The client has

More information

Translating an ER Diagram to a Relational Schema

Translating an ER Diagram to a Relational Schema Translating an ER Diagram to a Relational Schema CS386/586 Introduction to Database Systems, Lois Delcambre 1999-2009 Slide 1 Translate each entity set into a table, with keys. Entity set: represented

More information

CS 2110 Fall Instructions. 1 Installing the code. Homework 4 Paint Program. 0.1 Grading, Partners, Academic Integrity, Help

CS 2110 Fall Instructions. 1 Installing the code. Homework 4 Paint Program. 0.1 Grading, Partners, Academic Integrity, Help CS 2110 Fall 2012 Homework 4 Paint Program Due: Wednesday, 12 November, 11:59PM In this assignment, you will write parts of a simple paint program. Some of the functionality you will implement is: 1. Freehand

More information

BMI 544: Databases Winter term, 2015

BMI 544: Databases Winter term, 2015 BMI 544: Databases Winter term, 2015 An introduction to databases and database management systems. The main topics covered in this course include database principles, relational databases, database design

More information

Important Notes: For this course you must check the Regis Bookstore: for the most current online course material information.

Important Notes: For this course you must check the Regis Bookstore:   for the most current online course material information. Online Course Syllabus CS445 Database Management Important Notes: This document provides an overview of expectations for this online course and is subject to change prior to the term start. Changes may

More information

Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies

Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Sciences and Technologies 4002-360.01 ~ Introduction to Database & Data Modeling ~ Spring

More information

Project Introduction

Project Introduction Project 1 Assigned date: 10/01/2018 Due Date: 6pm, 10/29/2018 1. Introduction The sliding window protocol (SWP) is one of the most well-known algorithms in computer networking. SWP is used to ensure the

More information

F17 Modern Version Control with Git. Aaron Perley https://www.andrew.cmu.edu/course/98-174/

F17 Modern Version Control with Git. Aaron Perley https://www.andrew.cmu.edu/course/98-174/ 98-174 F17 Modern Version Control with Git Aaron Perley (aperley@andrew.cmu.edu) https://www.andrew.cmu.edu/course/98-174/ Why should you take this course? Version control software is an essential part

More information

CS 461: Database Systems. Final Review. Julia Stoyanovich

CS 461: Database Systems. Final Review. Julia Stoyanovich CS 461: Database Systems Final Review (stoyanovich@drexel.edu) Final exam logistics When: June 6, in class The same format as the midterm: open book, open notes 2 hours in length The exam is cumulative,

More information

Outline. Logistics. Logistics. Principles of Software (CSCI 2600) Spring Logistics csci2600/

Outline. Logistics. Logistics. Principles of Software (CSCI 2600) Spring Logistics  csci2600/ Outline Principles of Software (CSCI 600) Spring 018 http://www.cs.rpi.edu/academics/courses/spring18/csci600/ Konstantin Kuzmin, kuzmik@cs.rpi.edu Office hours: Monday and Thursday 4:00 pm - 5:30 pm Mailing

More information

CSCI 585- Database Systems Spring 2008 Homework Assignment 2 Due: Tuesday, April

CSCI 585- Database Systems Spring 2008 Homework Assignment 2 Due: Tuesday, April CSCI 585- Database Systems Spring 2008 Homework Assignment 2 Due: Tuesday, April 1 @5:00PM Project description The goal of this assignment is to design an application that queries a spatial database. This

More information

Programming Assignment 1

Programming Assignment 1 CMSC 417 Computer Networks Spring 2017 Programming Assignment 1 Assigned: February 3 Due: February 10, 11:59:59 PM. 1 Description In this assignment, you will write a UDP client and server to run a simplified

More information

CMSC 201 Fall 2016 Homework 6 Functions

CMSC 201 Fall 2016 Homework 6 Functions CMSC 201 Fall 2016 Homework 6 Functions Assignment: Homework 6 Functions Due Date: Wednesday, October 26th, 2016 by 8:59:59 PM Value: 40 points Collaboration: For Homework 6, collaboration is not allowed

More information

S18 Modern Version Control with Git

S18 Modern Version Control with Git 98-174 S18 Modern Version Control with Git Aaron Perley (aperley@andrew.cmu.edu) Ilan Biala (ibiala@andrew.cmu.edu) https://www.andrew.cmu.edu/course/98-174/ Why should you take this course? Version control

More information

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points Files to submit: 1. HW3.py This is a PAIR PROGRAMMING Assignment: Work with your partner! For pair

More information

15-110: Principles of Computing, Spring 2018

15-110: Principles of Computing, Spring 2018 15-110: Principles of Computing, Spring 2018 Problem Set 5 (PS5) Due: Friday, February 23 by 2:30PM via Gradescope Hand-in HANDIN INSTRUCTIONS Download a copy of this PDF file. You have two ways to fill

More information

CSC 261/461 Database Systems Lecture 10

CSC 261/461 Database Systems Lecture 10 CSC 261/461 Database Systems Lecture 10 Spring 2018 Please put away all electronic devices Announcements From now on, no electronic devices allowed during lecture Includes Phone and Laptop Why? For your

More information

Programming Assignment 2

Programming Assignment 2 CS 122 Fall, 2004 Programming Assignment 2 New Mexico Tech Department of Computer Science Programming Assignment 2 CS122 Algorithms and Data Structures Due 11:00AM, Wednesday, October 13th, 2004 Objectives:

More information

EECE.2160: ECE Application Programming

EECE.2160: ECE Application Programming Spring 2018 Programming Assignment #10: Instruction Decoding and File I/O Due Wednesday, 5/9/18, 11:59:59 PM (Extra credit ( 4 pts on final average), no late submissions or resubmissions) 1. Introduction

More information

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 2: Municipal Database Due: 12 noon, Wednesday, February 24, 2010

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 2: Municipal Database Due: 12 noon, Wednesday, February 24, 2010 1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 2: Municipal Database Due: 12 noon, Wednesday, February 24, 2010 1. Problem statement You are given a realistic, though fictitious,

More information

CS 101, Spring 2014 April 1st Exam 2 Question 1. [3 points] What output is printed by the following code?

CS 101, Spring 2014 April 1st Exam 2 Question 1. [3 points] What output is printed by the following code? CS 101, Spring 2014 April 1st Exam 2 Name: Question 1. [3 points] What output is printed by the following code? int arr[4] = {13, 1, 9, 18; printf("%i\n", arr[3]); Question 2. [3 points] Specify a function

More information

Out: April 19, 2017 Due: April 26, 2017 (Wednesday, Reading/Study Day, no late work accepted after Friday)

Out: April 19, 2017 Due: April 26, 2017 (Wednesday, Reading/Study Day, no late work accepted after Friday) CS 215 Fundamentals of Programming II Spring 2017 Programming Project 7 30 points Out: April 19, 2017 Due: April 26, 2017 (Wednesday, Reading/Study Day, no late work accepted after Friday) This project

More information

CSE 331 Software Design & Implementation

CSE 331 Software Design & Implementation CSE 331 Software Design & Implementation Spring 2019 Section 2 Development Tools UW CSE 331 Spring 2019 1 Administrivia HW1 done! HW2 due next Tuesday. HW3 out today, deadline upcoming. Everyone should

More information

CS430/630 Database Management Systems Spring, Betty O Neil University of Massachusetts at Boston

CS430/630 Database Management Systems Spring, Betty O Neil University of Massachusetts at Boston CS430/630 Database Management Systems Spring, 2019 Betty O Neil University of Massachusetts at Boston People & Contact Information Instructor: Prof. Betty O Neil Email: eoneil AT cs DOT umb DOT edu (preferred

More information

INFSCI 1017 Implementation of Information Systems Spring 2017

INFSCI 1017 Implementation of Information Systems Spring 2017 INFSCI 1017 Implementation of Information Systems Spring 2017 Time: Thursdays 6:00 8:30 Location: Information Science Building, Room 406 Instructor: Alexander Nolte Office Hours: Monday, 1-2PM Thursdays,

More information

CS 200, Section 1, Programming I, Fall 2017 College of Arts & Sciences Syllabus

CS 200, Section 1, Programming I, Fall 2017 College of Arts & Sciences Syllabus Northeastern Illinois University CS 200, Section 1, Programming I, Fall 2017 Syllabus, Page 1 of 7 CS 200, Section 1, Programming I, Fall 2017 College of Arts & Sciences Syllabus COURSE INFORMATION: Credit

More information

CSE 444, Winter 2011, Midterm Examination 9 February 2011

CSE 444, Winter 2011, Midterm Examination 9 February 2011 Name: CSE 444, Winter 2011, Midterm Examination 9 February 2011 Rules: Open books and open notes. No laptops or other mobile devices. Please write clearly. Relax! You are here to learn. An extra page is

More information

CS 2316 Homework 9b GT Room Reservation

CS 2316 Homework 9b GT Room Reservation CS 2316 Homework 9b GT Room Reservation Due: Wednesday November 12th Out of 100 points Files to submit: 1. HW9b.py This is an INDIVIDUAL assignment! Collaboration at a reasonable level will not result

More information

Introduction to Databases

Introduction to Databases Introduction to Databases Data Retrival SELECT * FROM Students S WHERE S.age < 18 Data Retrival SELECT S.name, S.login FROM Students S WHERE S.age < 18 Entity sets to tables Entity sets to tables CREATE

More information

Dr. Angela Guercio Dr. Natalia Dragan. Spring 2011

Dr. Angela Guercio Dr. Natalia Dragan. Spring 2011 CS 23021 Computer Science I Programming and Problem Solving Dr. Angela Guercio Dr. Natalia Dragan Spring 2011 Instructor Angela Guercio Office: 424, Main Hall Phone: 330 244 3424 (KSU ext 53424) Best way

More information

Computer Technology MSIS 22:198:605 Homework 4

Computer Technology MSIS 22:198:605 Homework 4 Computer Technology MSIS 22:198:605 Homework 4 Instructor: Farid Alizadeh Due Date: Wednesday November 27, 2002 by midnight Submission: by e-mail (See below for detailed instructions) last updated on November

More information

CS 101, Spring 2016 March 22nd Exam 2

CS 101, Spring 2016 March 22nd Exam 2 CS 101, Spring 2016 March 22nd Exam 2 Name: Question 1. [3 points] Which of the following loop statements would most likely cause the loop to execute exactly n times? You may assume that n will be set

More information

Spring 2012 Homework 10

Spring 2012 Homework 10 15-150 Spring 2012 Homework 10 Out: 24 April, 2012 Due: 2 May, 2012, 0900 EST 1 Introduction This homework will give you additional practice with imperative programming in SML. It is slightly short to

More information

CMSC 132: Object-Oriented Programming II. Administrivia

CMSC 132: Object-Oriented Programming II. Administrivia CMSC 132: Object-Oriented Programming II Administrivia CMSC 132 Summer 2017 1 Course Description Introduction to use of computers to solve problems Design and implement abstract data types: List, Stack,

More information

CMU - SCS / Database Applications Spring 2013, C. Faloutsos Homework 1: E.R. + Formal Q.L. Deadline: 1:30pm on Tuesday, 2/5/2013

CMU - SCS / Database Applications Spring 2013, C. Faloutsos Homework 1: E.R. + Formal Q.L. Deadline: 1:30pm on Tuesday, 2/5/2013 CMU - SCS 15-415/15-615 Database Applications Spring 2013, C. Faloutsos Homework 1: E.R. + Formal Q.L. Deadline: 1:30pm on Tuesday, 2/5/2013 Reminders - IMPORTANT: Like all homeworks, it has to be done

More information

University of California, Berkeley. CS 186 Introduction to Databases, Spring 2014, Prof. Dan Olteanu MIDTERM

University of California, Berkeley. CS 186 Introduction to Databases, Spring 2014, Prof. Dan Olteanu MIDTERM University of California, Berkeley CS 186 Introduction to Databases, Spring 2014, Prof. Dan Olteanu MIDTERM This is a closed book examination sided). but you are allowed one 8.5 x 11 sheet of notes (double

More information

CS Homework 1 p. 1. CS Homework 1

CS Homework 1 p. 1. CS Homework 1 CS 335 - Homework 1 p. 1 Deadline: CS 335 - Homework 1 IF turned in on-paper: 11:59 am on Friday, February 4 IF submitted electronically: 11:59 pm on Friday, February 4 How to submit: Because of the nature

More information

Outline. Databases and DBMS s. Recent Database Applications. Earlier Database Applications. CMPSCI445: Information Systems.

Outline. Databases and DBMS s. Recent Database Applications. Earlier Database Applications. CMPSCI445: Information Systems. Outline CMPSCI445: Information Systems Overview of databases and DBMS s Course topics and requirements Yanlei Diao University of Massachusetts Amherst Databases and DBMS s Commercial DBMS s A database

More information

CSE 444, Fall 2010, Midterm Examination 10 November 2010

CSE 444, Fall 2010, Midterm Examination 10 November 2010 Name: CSE 444, Fall 2010, Midterm Examination 10 November 2010 Rules: Open books and open notes. No laptops or other mobile devices. Please write clearly. Relax! You are here to learn. Question Max Grade

More information

Course Web Site. 445 Staff and Mailing Lists. Textbook. Databases and DBMS s. Outline. CMPSCI445: Information Systems. Yanlei Diao and Haopeng Zhang

Course Web Site. 445 Staff and Mailing Lists. Textbook. Databases and DBMS s. Outline. CMPSCI445: Information Systems. Yanlei Diao and Haopeng Zhang Course Web Site CMPSCI445: Information Systems Yanlei Diao and Haopeng Zhang University of Massachusetts Amherst http://avid.cs.umass.edu/courses/445/s2015/ or http://www.cs.umass.edu/~yanlei à Teaching

More information

CS 1803 Pair Homework 4 Greedy Scheduler (Part I) Due: Wednesday, September 29th, before 6 PM Out of 100 points

CS 1803 Pair Homework 4 Greedy Scheduler (Part I) Due: Wednesday, September 29th, before 6 PM Out of 100 points CS 1803 Pair Homework 4 Greedy Scheduler (Part I) Due: Wednesday, September 29th, before 6 PM Out of 100 points Files to submit: 1. HW4.py This is a PAIR PROGRAMMING Assignment: Work with your partner!

More information

CS 2316 Pair 1: Homework 3 Enigma Fun Due: Wednesday, February 1st, before 11:55 PM Out of 100 points

CS 2316 Pair 1: Homework 3 Enigma Fun Due: Wednesday, February 1st, before 11:55 PM Out of 100 points CS 2316 Pair 1: Homework 3 Enigma Fun Due: Wednesday, February 1st, before 11:55 PM Out of 100 points Files to submit: HW3.py This is a PAIR PROGRAMMING assignment: Work with your partner! For pair programming

More information

Lecture Notes CPSC 321 (Fall 2018) Today... Survey. Course Overview. Homework. HW1 (out) S. Bowers 1 of 8

Lecture Notes CPSC 321 (Fall 2018) Today... Survey. Course Overview. Homework. HW1 (out) S. Bowers 1 of 8 Today... Survey Course Overview Homework HW1 (out) S. Bowers 1 of 8 Course Overview Course webpage www.cs.gonzaga.edu/bowers/courses/cpsc321 Please check frequently (schedule, notes, assignments, etc.)

More information

9/8/2018. Prerequisites. Grading. People & Contact Information. Textbooks. Course Info. CS430/630 Database Management Systems Fall 2018

9/8/2018. Prerequisites. Grading. People & Contact Information. Textbooks. Course Info. CS430/630 Database Management Systems Fall 2018 CS430/630 Database Management Systems Fall 2018 People & Contact Information Instructor: Prof. Betty O Neil Email: eoneil AT cs DOT umb DOT edu (preferred contact) Web: http://www.cs.umb.edu/~eoneil Office:

More information

CS Homework 2 p. 1. CS Homework 2

CS Homework 2 p. 1. CS Homework 2 CS 325 - Homework 2 p. 1 Deadline CS 325 - Homework 2 Problem 1 -- answering reading questions on Canvas for Reading Packet 1 -- must be completed by 10:45 am on Tuesday, September 5. Problem 2 -- answering

More information

CMPSCI445: Information Systems

CMPSCI445: Information Systems CMPSCI445: Information Systems Yanlei Diao and Haopeng Zhang University of Massachusetts Amherst Course Web Site http://avid.cs.umass.edu/courses/445/s2015/ or http://www.cs.umass.edu/~yanlei à Teaching

More information

Conceptual Design. The Entity-Relationship (ER) Model

Conceptual Design. The Entity-Relationship (ER) Model Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Database Design Overview Conceptual design The Entity-Relationship

More information

CS 4320/5320 Homework 2

CS 4320/5320 Homework 2 CS 4320/5320 Homework 2 Fall 2017 Due on Friday, 20th of October 2017 at 11:59 pm This assignment is out of 75 points and accounts for 10% of your overall grade. All answers for this homework should be

More information

CSCI 1301: Introduction to Computing and Programming Spring 2018 Project 3: Hangman 2.0 (A Word Guessing Game)

CSCI 1301: Introduction to Computing and Programming Spring 2018 Project 3: Hangman 2.0 (A Word Guessing Game) Introduction In this project, you are going to implement the word guessing game, Hangman 2.0. Your program is going to get a random word from an enumerated list (instructions below) and then let the user

More information

Programming Studio #1 ECE 190

Programming Studio #1 ECE 190 Programming Studio #1 ECE 190 Programming Studio #1 Announcements Recitation Binary representation, hexadecimal notation floating point representation, 2 s complement In Studio Assignment Introduction

More information

Data Structure and Algorithm Homework #3 Due: 2:20pm, Tuesday, April 9, 2013 TA === Homework submission instructions ===

Data Structure and Algorithm Homework #3 Due: 2:20pm, Tuesday, April 9, 2013 TA   === Homework submission instructions === Data Structure and Algorithm Homework #3 Due: 2:20pm, Tuesday, April 9, 2013 TA email: dsa1@csientuedutw === Homework submission instructions === For Problem 1, submit your source code, a Makefile to compile

More information

CSE 344 MAY 14 TH ENTITIES

CSE 344 MAY 14 TH ENTITIES CSE 344 MAY 14 TH ENTITIES EXAMS Scores Final grades Concerned? Email about meeting Final Exam 35% of grade ADMINISTRIVIA HW6 Due Wednesday OQ6 Out Wednesday HW7 Out Wednesday E/R + Normalization DATABASE

More information

This is an almost-two week homework; it is almost twice as long as usual. You should complete the first half of it by October 2.

This is an almost-two week homework; it is almost twice as long as usual. You should complete the first half of it by October 2. Homework 4 1.264, Fall 2013 Data model for the aircraft parts distributor Due: Monday, October 7 This is an almost-two week homework; it is almost twice as long as usual. You should complete the first

More information

CS 2316 Individual Homework 1 Python Practice Due: Wednesday, January 20 th, before 11:55 PM Out of 100 points

CS 2316 Individual Homework 1 Python Practice Due: Wednesday, January 20 th, before 11:55 PM Out of 100 points CS 2316 Individual Homework 1 Python Practice Due: Wednesday, January 20 th, before 11:55 PM Out of 100 points Files to submit: 1. HW1.py For Help: - TA Helpdesk Schedule posted on class website. - Email

More information

P2: Collaborations. CSE 335, Spring 2009

P2: Collaborations. CSE 335, Spring 2009 P2: Collaborations CSE 335, Spring 2009 Milestone #1 due by Thursday, March 19 at 11:59 p.m. Completed project due by Thursday, April 2 at 11:59 p.m. Objectives Develop an application with a graphical

More information

Announcements. 1. Forms to return today after class:

Announcements. 1. Forms to return today after class: Announcements Handouts (3) to pick up 1. Forms to return today after class: Pretest (take during class later) Laptop information form (fill out during class later) Academic honesty form (must sign) 2.

More information

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Relational Databases Fall 2017 Lecture 1

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Relational Databases Fall 2017 Lecture 1 COURSE OVERVIEW THE RELATIONAL MODEL CS121: Relational Databases Fall 2017 Lecture 1 Course Overview 2 Introduction to relational database systems Theory and use of relational databases Focus on: The Relational

More information

Lecture 1. Basic Ruby 1 / 61

Lecture 1. Basic Ruby 1 / 61 Lecture 1 Basic Ruby 1 / 61 What does this do? 3.times do print 'Hello, world!' end 2 / 61 Why Ruby? Optimized for programmer happiness Used for Ruby on Rails Very popular web framework 3 / 61 Course Policies

More information

CSCE 441 Computer Graphics Fall 2018

CSCE 441 Computer Graphics Fall 2018 CSCE 441 Computer Graphics Fall 2018 Meetings: Monday, Wednesday, Friday 9:10-10:00 a.m. Location: HRBB 113 Instructor: Dr. John Keyser Office: 527C, H.R. Bright Building Phone: 458-0167 Email: keyser@cse.tamu.edu

More information

CSE 544 Principles of Database Management Systems

CSE 544 Principles of Database Management Systems CSE 544 Principles of Database Management Systems Lecture 1 - Introduction and the Relational Model 1 Outline Introduction Class overview Why database management systems (DBMS)? The relational model 2

More information

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1 COURSE OVERVIEW THE RELATIONAL MODEL CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1 Course Overview 2 Introduction to relational database systems Theory and use of relational databases

More information

Algorithm Design and Analysis Homework #4

Algorithm Design and Analysis Homework #4 Algorithm Design and Analysis Homework #4 Due: 14:20, December 6, 2012 Homework submission instructions Submit your programming assignment (problem 1) to the Judgegirl System (http://katrina.csie.ntu.edu.tw/judgegirl/).

More information

CSE3421 Fall Assignment #1: Due October 24, pm. Weight 7%

CSE3421 Fall Assignment #1: Due October 24, pm. Weight 7% CSE3421 Fall 2008 Assignment #1: Due October 24, 2008 4 pm Weight 7% In this assignment you are given an ER diagram (ERD), found in Appendix A, and you are requested to: (task 1.) Convert an ERD to tables,

More information

CS157a Fall 2018 Sec3 Home Page/Syllabus

CS157a Fall 2018 Sec3 Home Page/Syllabus CS157a Fall 2018 Sec3 Home Page/Syllabus Introduction to Database Management Systems Instructor: Chris Pollett Office: MH 214 Phone Number: (408) 924 5145 Email: chris@pollett.org Office Hours: MW 4:30-5:45pm

More information

Programming Studio #1 ECE 190

Programming Studio #1 ECE 190 Programming Studio #1 ECE 190 Programming Studio #1 Announcements In Studio Assignment Introduction to Linux Command-Line Operations Recitation Floating Point Representation Binary & Hexadecimal 2 s Complement

More information

CS 344/444 Spring 2008 Project 2 A simple P2P file sharing system April 3, 2008 V0.2

CS 344/444 Spring 2008 Project 2 A simple P2P file sharing system April 3, 2008 V0.2 CS 344/444 Spring 2008 Project 2 A simple P2P file sharing system April 3, 2008 V0.2 1 Introduction For this project you will write a P2P file sharing application named HiP2P running on the N800 Tablet.

More information

Self assessment due: Monday 10/29/2018 at 11:59pm (submit via Gradescope)

Self assessment due: Monday 10/29/2018 at 11:59pm (submit via Gradescope) CS 188 Fall 2018 Introduction to Artificial Intelligence Written HW 7 Due: Monday 10/22/2018 at 11:59pm (submit via Gradescope). Leave self assessment boxes blank for this due date. Self assessment due:

More information

15-388/688 - Practical Data Science: Relational Data. J. Zico Kolter Carnegie Mellon University Spring 2018

15-388/688 - Practical Data Science: Relational Data. J. Zico Kolter Carnegie Mellon University Spring 2018 15-388/688 - Practical Data Science: Relational Data J. Zico Kolter Carnegie Mellon University Spring 2018 1 Announcements Piazza etiquette: Changing organization of threads to be easier to search (starting

More information

Introduction to Data Management. Lecture #4 (E-R à Relational Design)

Introduction to Data Management. Lecture #4 (E-R à Relational Design) Introduction to Data Management Lecture #4 (E-R à Relational Design) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v Reminders:

More information

CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4

CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4 CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4 20 points Out: February 18/19, 2015 Due: February 25/26, 2015 Reminder: This is a programming assignment, and work on this assignment

More information

Review The Big Picture

Review The Big Picture CS445 - Introduction to Database Management Systems Fall Semester 2015 LECTURE 6 The Entity-Relationship Model Introduction TEXTBOOK REFERENCE: CHAPTERS 2,3 R&G 1 Review The Big Picture Data Modeling Relational

More information

Introduction to Database Systems CSE 414

Introduction to Database Systems CSE 414 Introduction to Database Systems CSE 414 Lecture 16: Constraints CSE 414 - Spring 2015 1 Announcements Reminders: Web quiz due Monday night XML homework due Wednesday night Today: Constraints (7.1, 7.2,

More information

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010 1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010 1. Problem statement You receive data from a series of satellites on

More information

Computer Science 385 Design and Analysis of Algorithms Siena College Spring Lab 8: Search Trees Due: Start of your next lab session

Computer Science 385 Design and Analysis of Algorithms Siena College Spring Lab 8: Search Trees Due: Start of your next lab session Computer Science 385 Design and Analysis of Algorithms Siena College Spring 2018 Lab 8: Search Trees Due: Start of your next lab session You will be assigned a partner to work with on this lab. Only one

More information

Homework #5 Algorithms I Spring 2017

Homework #5 Algorithms I Spring 2017 Homework #5 Algorithms I 600.463 Spring 2017 Due on: Saturday, March 18th, 11:59pm Late submissions: will NOT be accepted Format: Please start each problem on a new page. Where to submit: On Gradescope,

More information

Name: Answers Q

Name: Answers Q p.1 of 10 INFS 4240/6240 (Section A) Database Management System Fall 2018 Test 3 December 4, 2018 2:00 3:15 pm Q.1-1 10 10 Q.1-2 8 8 Q.2 12 12 Name: Answers Q.3-1 6 6 Q.3-2 32 32 Q.3-3 32 32 Total 100

More information

Programming Assignment 1

Programming Assignment 1 CMSC 417 Computer Networks Fall 2017 Programming Assignment 1 Assigned: September 6 Due: September 14, 11:59:59 PM. 1 Description In this assignment, you will write a UDP client and server to run a simplified

More information

Programming Assignment 8 ( 100 Points )

Programming Assignment 8 ( 100 Points ) Programming Assignment 8 ( 100 Points ) Due: 11:59pm Wednesday, November 22 Start early Start often! README ( 10 points ) You are required to provide a text file named README, NOT Readme.txt, README.pdf,

More information

Programming Assignment 2 ( 100 Points )

Programming Assignment 2 ( 100 Points ) Programming Assignment 2 ( 100 Points ) Due: Thursday, October 16 by 11:59pm This assignment has two programs: one a Java application that reads user input from the command line (TwoLargest) and one a

More information

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377

CPS352 - DATABASE SYSTEMS. Professor: Russell C. Bjork Spring semester, Office: KOSC 242 x4377 CATALOG DESCRIPTION: CPS352 - DATABASE SYSTEMS Professor: Russell C. Bjork Spring semester, 2018-2019 Office: KOSC 242 x4377 MWF 11:25-12;25 Jenks 120 russell.bjork@gordon.edu Hours: MWF 2:10-3:10 pm;

More information