Home / Expert Answers / Computer Science / the-university-keeps-track-of-each-student-39-s-name-student-number-social-security-number-current-pa341

(Solved): The university keeps track of each student's name, student number, social security number, current ...



  • The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Each student must be in at least one specific major but at most two. The database must also store the start date of a student's major. Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the student's last name. Both social security number and student number have unique values for each student.
  • Each department is described by a name, department code, office number, office phone, and college. Both name and code have unique values for each department. A department may offer many courses but newly form departments may have no courses associated with them.
  • Each course has a course name, description, course number, number of semester hours, level, and offering department. The value of course number is unique for each course.
  • Each section has an instructor, associated course, and section number. The section number distinguishes different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3, ..., up to the number of sections taught during each semester. Each section is associated with a specific associated course.
  • A specific final grade report has to be registered for each student enrolled in a specific section. It contains the final grade in numerical form (0 to 100 scale) and the corresponding grade letter. Grade letters (A, B, C, D, F) are calculated based on the numerical grade. If a student has not taken any evaluations in a section yet, the final grade should be a zero.

birthdate
CPhone
CAddress U
PPhone
?
r
SSN
Sex
? t
(1,1)
FName
STUDENT
? Q
(?,?) W
Sname
MInitial
(1,N)
?
d
(?,?) f
(0,1)
?
?

Level
Grade number
Start date
Student number
Department code
(N,M)
(0, N)
Majoring
Registered
Associated Course
Class
(2,1)
C

birthdate CPhone CAddress U PPhone ? r SSN Sex ? t (1,1) FName STUDENT ? Q (?,?) W Sname MInitial (1,N) ? d (?,?) f (0,1) ? ?g V (0,N) (0,N) Dname CDescription Hours OfficeNum DEPARTMENT (?,?) j OFFERS (1,1) ?k (0,N) Dphone BELONGS (?,?) p n CName ? Instructor ? L m Level Grade number Start date Student number Department code (N,M) (0, N) Majoring Registered Associated Course Class (2,1) Current address (1,N) (N, 0) University Grade Report Section Number Course Course Number (1,2) Minoring (1,1) Section Student last name Grade letter College (N,1) Age Permanent address


We have an Answer from Expert

View Expert Answer

Expert Answer


*Drop table if already exists*/ drop table Department; drop table Student; drop table Course; drop table Section; drop table Grade; drop table Student_Sec; /* New Table Create*/ Create table Department(Dcode int Primary Key,Dname varchar(40) unique,D
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe