Use the following user stories to complete a SEQUENCE DIAGRAM in
the questions which follow:
1....
Use the following user stories to complete a SEQUENCE DIAGRAM in
the questions which follow:
1. As a student, I w ant to register for my next semester
courses when registration opens so I can get the courses I need to
graduate.
2. As a student, I will browse the Class Schedule on the
University website to find my courses and make sure they are
offered, do not conflict, and are not full. If I cannot get the
course(s) I...
14.19. Suppose that we have the following requirements for a
university database that is used to...
14.19. Suppose that we have the following requirements for a
university database that is used to keep track of students’
transcripts:
a. The university keeps track of each student’s name (Sname),
student number (Snum), Social Security number (Ssn), current
address (Sc_addr) and phone (Sc_phone), permanent address (Sp_addr)
and phone (Sp_phone), birth date (Bdate), sex (Sex), class (Class)
(‘freshman’, ‘sophomore’, … , ‘graduate’), major department
(Major_code), minor department (Minor_code) (if any), and degree
program (Prog) (‘b.a.’, ‘b.s.’, … , ‘ph.d.’). Both...
Question 2 (5 Marks)
What can you say about the relationships between Courses and
Subject, and...
Question 2
What can you say about the relationships between Courses and
Subject, and Courses and Students? Will there be any problems in
creating a Relational Database from your ER diagram? If there is,
then describe how you will address this and re-draw the ER
diagram.
Question 3
Create the DDL statements to create the tables described in your
modifies ER diagram in Question 2.
Question 4
In your Database you created in Question 3, assume there is a
student...
SQL Data: you can just copy paste it into mysql to.
CREATE DATABASE University;USE University;
CREATE...
SQL Data: you can just copy paste it into mysql to.
CREATE DATABASE University;USE University;
CREATE TABLE Student ( sid INT PRIMARY
KEY, name VARCHAR(20) NOT NULL, address
VARCHAR(20) NOT NULL, major CHAR(2));
CREATE TABLE Professor ( pid INT PRIMARY
KEY, name VARCHAR(20) NOT NULL, department
VARCHAR(10) NOT NULL);
CREATE TABLE Course ( cid INT PRIMARY
KEY, title VARCHAR(20) NOT NULL
UNIQUE, credits INT NOT NULL, area VARCHAR(5)
NOT NULL);
CREATE TABLE Transcript ( sid INT, cid
INT, pid INT, semester
VARCHAR(9), year YEAR, grade CHAR(1) NOT
NULL, PRIMARY KEY (sid, cid, semester,
year), FOREIGN KEY (sid) REFERENCES Student...
a gymnastic school with hundreds of students. It needs a
database to track all the different...
a gymnastic school with hundreds of students. It needs a
database to track all the different classes that are being offered,
who is assigned to teach each class, and which students attend each
class. Also, it is important to track the progress of each student
as they advance. Design a database for the following
requirements:
Students are given a student number when they join the school.
This is stored along with their name, date of birth, and the date
they...
Consider the following set of requirements for a UNIVERSITY
database that is used to keep track...
Consider the following set of requirements for a UNIVERSITY
database that is used to keep track of students’ transcripts. This
is similar but not identical to the database shown in Figure
1.2:
a. The university keeps track of each student’s name, student
number, Social Security number, current address and phone number,
permanent address and phone number, birth date, sex, class
(freshman, sophomore, ..., graduate), major department, minor
department (if any), and degree program (B.A., B.S., ..., Ph.D.).
Some user applications...
MySQL
I have the following tables:
Students(sid,first_name,last_name,birthday,major,zipcode)
Students_Courses(sid,cid,year,semester,grade)
Courses(cid,name,credits)
use Students_Courses table to find the student...
MySQL
I have the following tables:
Students(sid,first_name,last_name,birthday,major,zipcode)
Students_Courses(sid,cid,year,semester,grade)
Courses(cid,name,credits)
use Students_Courses table to find the student sid and course
cid for whom took the same course more than one time.
can you help me with my query
select first_name,last_name,name
from Students s, Courses c
where s.sid,c.cid,ct in
( select sid,cid,count(*) from
Students_Courses group by sid,cid having count(*) > 1);
Use a diagram to represent
how this system works.
The Western Pacific University
Enterprise System keeps...
Use a diagram to represent
how this system works.
The Western Pacific University
Enterprise System keeps track of data such as staff and student
details, units and unit enrollment details, unit offerings,
transcripts, and dormitory details. This system integrates
processes from three different functional areas – student services,
registrar’s office and student – in which an output of one
functional area can be used as input for another functional
area.
The three sub-systems are based on
the three functional areas;...