Question: 1. [20 Points] This question is to help better understand the costs and efforts involved in development and maintenance of applications using database systems compared
1. [20 Points] This question is to help better understand the costs and efforts involved in development and maintenance of applications using database systems compared to file processinjg systems. Your solution to this question will be evaluated/marked mainly based on your observations and comments on comparison of advantages and disadvantages of the two approaches. Consider an application that deals with the following tables; the underlined attributes in each table form the key of that table. Students ={ SID, Name, Program, Address } Courses ={CID, Name, Credits } Courses-Enrolled ={ SID, CID, Grade } Also consider the query Q: "Find the name and ID of every student who took Databases and obtained at least B+." (a) Write a program in your favorite imperative language (e.g., Java, Python, C) that develops the program to create these tables with records and computes and report the output of the query Q: You may NOT use or connect to any DBMS to perform any aspects of the programming involved. (b) Use a DBMS to create the above tables, formulate the same query Q in SQL, and report the query output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
