SJSU CS 157A - Assignment (3 pages)

Previewing page 1 of 3 page document View the full content.
View Full Document

Assignment



Previewing page 1 of actual document.

View the full content.
View Full Document
View Full Document

Assignment

127 views

Problems/Exams


Pages:
3
School:
San Jose State University
Course:
Cs 157a - Introduction to Database Management Systems
Introduction to Database Management Systems Documents

Unformatted text preview:

CS157 A Computer Assignment 1 Prof Sin Min Lee Due Date November 14 2006 Object In this assignment you need to input a table and decide how many candidate keys it has The number of attributes is between 3 and 5 and the number of tuples rows more than 8 and less than 15 Your program will list all the possible candidate keys Example 1 Relation R1 A 1 1 2 1 B C is the candidate key Example 2 Relation R2 A 1 1 4 1 2 AB BD are candidate keys Example 3 Relation R3 A 1 4 3 1 3 AB A C BC B 2 3 2 3 C 2 2 1 3 B 1 2 2 3 1 C 2 3 3 2 3 B 2 1 2 3 4 C 3 2 1 1 2 D 3 4 1 4 4 Design and Implementation Steps Decide on an interface the set of operations supported Other advices The program will be examined on functionality whether it works and the quality of the code Comments and indents are important for making your program easy to read Your program will be easier to understand and to change if you decide to change it later a Write comments to explain what your program is doing and why b Use descriptive names for your variables Code should be organized and documented as well as neat Documentation should include name and email address at the top Turn in 11 14 2006 A report describing what you discovered from the program In your report you should mention what kind of algorithms you are using Also the sources of your references for example www xyz com lee permutation partition Two diskettes with both source code and executable Complete source code in a hard copy printout Complete six cases outputs in a hard copy printout Turning in homework directions From now on you are going to be required to make an ms dos batch file that must be included with your program the purpose of this is to have a shortcut that runs your program On your disk drive make a file called program bat where the is the homework assignment Inside that document you must include the following these are comments Assignment Name Date Class Section ECHO OFF compiles the java file javac java Make sure programmainclass is



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Assignment and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Assignment and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?