Implement a database of courses and students for a school

Assignment Help Database Management System
Reference no: EM13346615

Implement a database of courses and students for a school, keeping track of which students are taking which courses. Each course must be represented by a name (a String) and each student must be represented by a student id number (an Integer).

There are many ways you could do this, but since the purpose of this assignment is to get you to practice using the Collections Framework.

You have to represent each course as a Set of student id numbers. You must show the entire database as a Map from course names to these id number sets. In other words, your database must be a map from Strings to sets of Integers. When displaying the contents of the database, the courses must appear in alphabetical order and the id numbers inside a class must appear in numerical order. That could influence your choice of types from the Collections Framework.

• StudentDatabase.java: This is a skeleton version of the module you must write. It contains a "stub" for each of the required methods, plus a comment describing what that method must do. So I won't bother describing all the methods in this web page.

• DatabaseTest.java: An interactive testing program you can use to test your database class.

Reference no: EM13346615

Questions Cloud

An electric motor of total weight 3330 pounds is mounted on : an electric motor of total weight 3330 pounds is mounted on a simply supported beam with an overhang as shown
Prepare a swot analysis recommendations of nutrisystemnow : prepare a swot analysis recommendations of nutrisystem.now in the current time there are various strategies that are
A case study is a standard format for recounting the story : a case study is a standard format for recounting the story of a specific case. a case study should have the following
The aim of this assignment is to assess whether the : the aim of this assignment is to assess whether the learning outcomes of the module have been met.after completing the
Implement a database of courses and students for a school : implement a database of courses and students for a school keeping track of which students are taking which courses.
Lines of action- explain how you will use a search tree to : lines of action- explain how you will use a search tree to find the solutionbullabstractbullintroductionbullrelated
Question 1we are given the following knowledge base of : question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.
Write a matlab function speed planetary n emesh first last : write a matlab function speed planetary n emesh first last arm that computes the speed of a given link in a
Task 1question 1 product analysis this question begins a : task 1question 1 product analysis this question begins a process of finding out about why people like some of the

Reviews

Write a Review

Database Management System Questions & Answers

  Explain relational database design and implementation

ISYS 224 Database Systems - Relational Database Design & Implementation

  Create and run the following sql queries

Create and run the following  sql  queries and submit the screen shot of your result. Also submit the file lab_06_03. sql

  What was the total value of the disputed order

Write SQL SELECT statements to retrieve the following information from the ClassicModels database - select the product name, scale, vendor and product code for all models of classic cars built between 1948 and 1966. Display the results in order of..

  What is the value of the symmetric key

Suppose Fred sees your RSA signature on m1 and m2, (i.e., he sees (m1d mod n) and (m2d mod n)). How does he compute the signature on each of m1j mod n (for positive integer j), m1-1 mod n, m1 x m2 mod n, and in general m1j m2k mod n (for arbitrary..

  Describe the different procedure performed in dbms

Describe the different procedure performed in DBMS for student database in which fields are student id, student name, student class, marks.

  Identify each relationship type and write all of the busines

Identify each relationship type and write all of the business rules and create the bask Crow's Foot ERD for DealCo.

  Write a function checksmaller

Write a function 'Max' that takes an int array and the size of the array as input and returns the largest element of the array. The function should look like the following.

  Explain fragmentation and replication

Define association rules, and explain how to induct association rules by using frequent itemsets, a Priori Property, and support and confidence measures.

  Diagram and determine the possible iterative steps

Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps / factors that one must consider in this process with consideration of the HR core functions and responsibili..

  Define security threats as it relate to the operating system

Discuss security threats as it relate to the Operating Systems and Memory Management. Consider a fixed partitioning scheme with equal-size partitions of 2 16 bytes and a total main memory size of 2^24 bytes. A process table is maintained that inc..

  Create a class diagram

Create a use case diagram and use case descriptions for each use case scenario in your use case diagram (minimum of 3).

  How the difference between an outer join and an inner join

Give a primary key for each relation. Are there any relations for which there is an alternate candidate key which you have not chosen as the primary key? Why or why not?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd