Question

Project 2: Course Management App Project description: This android app helps student manage their courses. It enables a stude
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Course Management App Project description: This android app helps student manage their courses. It enables a student to check the course details( lecturer, term, credits), browse his or her courses, add or remove a course. Function modules: 1. Database: build a database for course management, including at least a table for course information (Course number, Course Name, Lecturer, Term, Credit) 2 a table for student information (Student number, name, major) 3 a table for student-course (student number, course number)

CREATE THREE TABLE FOR DATABASE BUILDING FOR COURSE MANAGEMENT 1 2 1. CREATE TABLE Course Info ( 4 C No int NOT NULL, 5 C Nam

CREATE THREE TABLE FOR DATABASE BUILDING FOR COURSE MANAGEMENT:

1. CREATE TABLE Course_Info(

C_No int NOT NULL,

C_Name varchar (200),

Lecturer varchar (200),

Term int,

Credit int,

PRIMARY KEY(C_No)

  );

SO, Here Couse no is used as primary key.

2. CREATE TABLE Student_Info(

S_No int NOT NULL,

S_Name varchar (200),

Major varchar (200),

PRIMARY KEY(S_No)

  );

SO, Here Student no is used as primary key.

3. CREATE TABLE Student_Course(

S_No int NOT NULL,

C_No int NOT NULL,

PRIMARY KEY(S_No, C_No),

FOREIGN KEY(S_No) REFERENCES Student_Info(S_No),

FOREIGN KEY(C_No) REFERENCES Course_Info(C_No)

);

In Student_Course table (S_No, C_No) are used as primary key, where S_No and C_No are both foreign key.

Now data can be added to these table by using "INSERT INTO " clause and deletion can be done by "DELETE FROM" clause.

Add a comment
Know the answer?
Add Answer to:
Project 2: Course Management App Project description: This android app helps student manage their courses. It...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT