Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 ( 3 5 marks ) Write the code to complete the methods in EnrollJDBC.java ( look for TODO items ) . Your code

Question 1(35 marks) Write the code to complete the methods in EnrollJDBC.java (look for TODO items). Your code will be graded based on it passing the JUnit tests. You can show the TA all JUnit tests passing to receive full marks. Otherwise, submit your source code online. Operation Marks List all students in the database (listAllStudents)1 mark List all professors in a department (listDeptProfessors)2 marks List all students in a course (listCourseStudents)2 marks Compute student GPA (computeGPA)2 marks Add a student (addStudent)2 marks Delete a student (deleteStudent)(Make sure to also delete all courses enrolled in).2 marks Update a student (updateStudent)2 marks New student enrolment (newEnroll)2 marks Update student GPA (updateStudentGPA)2 marks Update student mark (updateStudentMark)2 marks Remove student from section (removeStudentFromSection)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

Does it have at least one-inch margins?

Answered: 1 week ago

Question

Does it highlight your accomplishments rather than your duties?

Answered: 1 week ago