Assignment
Previewing page 1 of actual document.
View the full content.View Full Document
Assignment
0 0 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

18 pages

3NF and BoyceCodd Normal Form
62 pages

23 pages

26 pages

26 pages

26CS157F_Ha Do  Multivalued Dependency
14 pages

25 pages

44 pages

2 pages

56 pages

63 pages

16 pages

56 pages

71 pages

51 pages

5 pages

68 pages

8 pages

16 pages

3 pages

48 pages

26 pages

27 pages

49 pages

44 pages

46 pages

79 pages

15 pages

63 pages

7 pages

6 pages

69 pages

77 pages

23 pages

21 pages

21 pages

Functional Dependency Graphs and SQL
69 pages

64 pages

7 pages

64 pages

13 pages

68 pages

5 pages

Functional Dependency Graphs and SQL
69 pages

23 pages

104 pages

19 pages

65 pages

20 pages

18 pages

73 pages

Keys and Functional Dependency
57 pages

15 pages

12 pages

17 pages

15 pages

69 pages

26 pages

38 pages

14 pages

26 pages

MichaelGobelChapter 4.1 Presentation
18 pages

54 pages

61 pages

3 pages

1st, 2nd, and 3rd Normal Forms
14 pages

28 pages

6 pages

58 pages

56 pages

14 pages

25SpCS157AL18Multivalued Dependency
54 pages

17 pages

15 pages

Keys and Functional Dependency
60 pages

8 pages

71 pages

100 pages

16 pages

17 pages

41 pages

49 pages

Keys and Functional Dependency
60 pages

3 pages

6 pages

63 pages

XML and The Relational Data Model
26 pages

8 pages

18 pages

11 pages

domain_relational_calculus___QBE_by_john_eagle
13 pages

15 pages

63 pages

3 pages

22 pages

2 pages

42 pages

25 pages

90 pages

22 pages

25 pages

20 pages

9 pages
Sign up for free to view:
 This document and 3 million+ documents and flashcards
 High quality study guides, lecture notes, practice exams
 Course Packets handpicked by editors offering a comprehensive review of your courses
 Better Grades Guaranteed
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