DBMs
The University Accommodation Office Data requirements specification
Data requirements
----------------Students-------------------------------------------
The data stored on each full-time student includes: the matriculation number, name (first and last name), home address (street, city, postcode), date of birth, sex, nationality, smoker (yes / no), special needs, any additional comments, current status (placed / waiting), and what course the student is studying on.
The student information stored relates to those currently renting a room and those on the waiting list. Students may rent a room in a hall of residence or student flat.
When a student joins the University, he or she is assigned to a member of staff who acts as his or her Advisor of Studies. The Advisor of Studies is responsible for monitoring the student's welfare and academic progression throughout his or her time at University. The data held on a student's Advisor includes full name, position, name of department, internal telephone number, and room number.
------------------------------Halls of residence----------------------
Each hall of residence has a name, address, telephone number, and a hall manager who supervises the operation of the hall. The halls provide only single rooms, which have a room number, place number, and monthly rent rate.
The place number uniquely identifies each room in all halls controlled by the Accommodation Office and is used when renting a room to a student.
-----------------------------------Student flats-----------------------
The Accommodation office also offers student flats. These flats are fully furnished and provide single-room accommodation for group of three, four, or five students. The information held on student flats includes a flat number, address, and the number of single bedrooms available in each flat. The flat number uniquely identifies each flat.
Each bedroom in a flat has a monthly rent rate, room number, and a place number.
The place number uniquely identifies each room available in all student flats and is used when renting a room to a student.
----------------------------Leases---------------------------------
A student may rent a room in a hall for various periods of time. New lease agreements are negotiated at the start of each academic year with a minimum rental period of one semester and a maximum rental period of one year, which includes Semesters 1, 2, and the Summer Semester. Each individual lease agreement between a student and the Accommodation Office is uniquely identified using a lease number.
The data stored on each lease includes the lease number, duration of the lease (given as semesters), name and matriculation number of the student, place number, room number, address details of the hall, and the date the student wishes to enter the room, and the date the student wishes to leave the room (if known).
-----------------------------Invoices---------------------------------
At the start of each semester each student is sent an invoice for the following rental period. Each invoice has a unique invoice number.
The data stored on each invoice includes the invoice number, lease number, semester, payment due, student's full name and matriculation number, place number, room number, and the address of the hall or flat. Additional data is also held on the payment of the invoice and includes the date the invoice was paid, the method of payment (cheque, cash, visa, etc.), and the date the first and second reminder is sent (if necessary).
--------------------Student flat inspections--------------------
Student flats are inspected by staff on a regular basis to ensure that the accommodation is well maintained. The information recorded for each inspection is the name of the member of staff who carried out the inspection, the date of inspection, an indication of whether the property was found to be in a satisfactory condition (yes or no), and any additional comments.
---------------------Accommodation staff-------------------------------
Some information is also held on members of staff of the Accommodation Office and includes the staff number, name (first and last name), home address (street, city, and postcode), date of birth, sex, position (e.g. Hall Manager / Administrative Assistant / Cleaner) and location (e.g. Accommodation Office or Hall).
----------------------------Courses---------------------------
The accommodation Office also stores a limited amount of information on the courses run by the University including the course number, course title (including year), course leader, internal telephone number, room number, and department number. Each student is associated with a single course.
--------------------------Next-of-kin-------------------------------
Whenever possible, information on a student?s next-of-kin is sorted which includes the name, relationship, address (street, city, postcode), and contact telephone number.
According to this case study you have to do the following thing:-
QUESTIONS:
Based on the particular case study,
1.Provide a user?s requirements specification for the case study.
2.Draw Entity Relationship Diagram (ERD). Use ONLY UML NOTATION AS SHOWN IN THE TEXT BOOK. ANY OTHER NOTATION IS NOT ACCEPTED)
3.Create and validate a logical data model
4.List THREE (3) potential threats that could occur and propose countermeasures to overcome them.
5.Based on the logical data model developed in question 2, create a physical database design
6.Implement the database
a.CREATE TABLE statement
b.ALTER table, add TWO(2) new column
c.CREATE TWO(2) view (should combine TWO or MORE table)
d.DROP view
e.GRANT privileges
f.REVOKE privileges
g.INSERT new data
h.UPDATE data
i.DELETE data
j.Answer EVERY query transactions (sample) in the case study.
k.Provide the screen shot for all the output (6(a) until 6 (j)
9
** TAKE NOTE THAT YOU HAVE TO USE TRANSACT SQL FOR THE CODING.
View Answers
Related Tutorials/Questions & Answers:
Advertisements
ModuleNotFoundError: No module named 'dbms'ModuleNotFoundError: No module named '
dbms' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
dbms'
How to remove the ModuleNotFoundError: No module named '
dbms' error
ModuleNotFoundError: No module named 'dbms'ModuleNotFoundError: No module named '
dbms' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
dbms'
How to remove the ModuleNotFoundError: No module named '
dbms' error
Advanced DBMS questionsAdvanced
DBMS questions
Five company/organization that involves in SQL Server database migration.
what is the Transaction Recovery Method.
What does Cloud Computing contributes in the RDBMS? Importance?
(adsbygoogle
Ask DBMS Questions online
Ask
DBMS Questions online
DBMS stands for Data Base Management System (
DBMS) is a set of computer programs that controls the creation, organization
Database Management System (DBMS) Database Management System (
DBMS)
A Database Management System (
DBMS) sometimes called a database manager or database system is a set... of the data.
A
DBMS is a system software package that ensures the integrity
Open Source DBMSOpen Source
DBMS
Open Source Database Management Systems
The rapid... of its adopters.
Open source
DBMS vendors
Like other... evaluating several database software vendors, Holden chose MySQL
DBMS (database
Database Connectivity Example In Java the
DBMS can understand. JDBC drivers (either commercial or
free) are generally... will create a Java class into which we will try
to create a connection with the
DBMS.... In this example we will use the MySQL
DBMS to
make the connection between Java
DIFFFERENCEDIFFFERENCE WHAT IS THE DIFF B/W
DBMS AND RDBMS
SQL ServerSQL Server Hii,
What is SQL Server ?
hello,ADS_TO_REPLACE_1
SQL Server is a
DBMS system provided by Microsoft
A connection pool with multiple user ID.A connection pool with multiple user ID. Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the
DBMS Java - JDBC databases. Difference between
DBMS and RDBMS
A
DBMS is persistent... to exist or even the application that created the data restarted. A
DBMS also... relationships between tables.
DBMS does not impose any constraints or security
CollectionCollection actually why do we need collections? means we can also store group of objects in relational data base and
dbms also provides all the operatoins insert,delete,update,sort,search etc. then why collection
What is a database?. Database Management System (
DBMS).
2 Relational Database Management System (RDBMS).
1.
DBMS :
DBMS stands for database management system and it includes... of Normalization. Only one person can access the database at the given time in
DBMS jdbc interview question. It translates JDBC calls to a
DBMS-independent network protocol, which is then translated to a
DBMS protocol by a server. Flexible. Pure Java and no native code.
Type 4... machine to the
DBMS server. It doesn?t need any special native code on the client
Database Technology of the programs are managed by any database management system (
DBMS) or relational database management system (RDBMS). Some of the popular
DBMS/RDBMS are: Apache
error message - JSP-Servleterror message hi, friends
after complete my servlet programe i can type http://localhost:8080 on the browser. the servlet program is insert data into
dbms. but i have errormessage that is "window can not access the specified
database schemadatabase schema database schema
A database schema is described in a formal language supported by the database management system (
DBMS). In a relational database, the schema defines the tables, the fields in each
JDBC - JDBC for Oracle, Sybase, Informix, DB2, or other
DBMS. Note that, like the bridge...-enabled driver translates JDBC API calls into a
DBMS-independent net protocol which is then translated to a
DBMS protocol by a server. This net server middleware
java swingsjava swings how can we use the shared locks of
dbms in java?
I am working on a mini project which is based on the eamcet councilling .i am struck with a problem where if a student select a college and a branch and sees
Database drivers - JDBC api for sybase/oracle and
dbms. This driver is also not recommended for larger... calls into independent
dbms net protocol. Again the server which translates this protocol into
dbms.
4. Native Protocol:
this driver converts the jdbc calls
Top 5 Database Software Systems, or analyze information
on its own. It requires a database management system (
DBMS...
the most out of Oracle
DBMS.
Oracle
DBMS is secured, takes less space... as cloud services.
2. PostgreSQL
PostgreSQL is an advanced
DBMS. It is an open
What is RDBMS? database model. Many modern
DBMS do not conform to the Codd?s definition of a RDBMS
Data Service and Query Builder Tool must feel very intractable and powerless in the face of a complex and huge
DBMS, because almost all
DBMS lost permission level controller, and it is difficult
PHP PDO Index
with different
DBMS and other features of PDO:
ADS_TO_REPLACE_5
What is JDBC?What is JDBC? hello,
What is JDBC?
hello,ADS_TO_REPLACE_1
JDBC technology is an API (included in both J2SE and J2EE releases) that provides cross-
DBMS
connectivity to a wide range of SQL databases and access
error - JDBCerror i wrote the program using
dbms type 4 driver.it is comipled,i got a errors
d:temp> java DBConnect
db Connect Example.
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Introduction to the JDBC to
DBMS-specific native calls.
Type 3: JDBC-Net... and high-performance,
DBMS-independent JDBC middleware
JDBC Driver and Its Types DBMS vendor.
A Java program that uses the JDBC API loads the specified driver for a particular
DBMS before it actually connects to a database..., or other
DBMS. Note that, like the bridge driver, this style of driver requires
First Step towards JDBC! and converts JDBC
commands to
DBMS-specific native calls...-based data connectivity and high-performance,
DBMS-independent JDBC