Using C Programming: Each student in the university may take a different number of courses, so the registrar  has decided to use a linked list to store each student’s class schedule and to use an array  of structures to represent the whole student body. A portion of this data structure  follows. The records show that the first student (array element 0, id 1111) is taking Section 1 of  CIS120 for 3 credits and Section 2 of HIS001 for 4 credits; the second student (array  element 1, id 1234) is not enrolled, and so on.  Define the necessary data types for creating this structure.  Provide operators for creating the original array of student ID numbers, inserting a  student’s initial class schedule, adding a course, and dropping a course. Write a menudriven main function to use this structure. Menu-driven main function can be something  like this: After each operation that the user selects, it will show a menu and will wait for  the user’s input. Such as: 1-Add course, 2-Drop course, 3-Insert initial class schedule and  4-Exit. When one menu is selected, the program should prompt for necessary inputs to  accomplish that operation

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Using C Programming:

Each student in the university may take a different number of courses, so the registrar 
has decided to use a linked list to store each student’s class schedule and to use an array 
of structures to represent the whole student body. A portion of this data structure 
follows.
The records show that the first student (array element 0, id 1111) is taking Section 1 of 
CIS120 for 3 credits and Section 2 of HIS001 for 4 credits; the second student (array 
element 1, id 1234) is not enrolled, and so on. 
Define the necessary data types for creating this structure. 
Provide operators for creating the original array of student ID numbers, inserting a 
student’s initial class schedule, adding a course, and dropping a course. Write a menudriven main function to use this structure. Menu-driven main function can be something 
like this: After each operation that the user selects, it will show a menu and will wait for 
the user’s input. Such as: 1-Add course, 2-Drop course, 3-Insert initial class schedule and 
4-Exit. When one menu is selected, the program should prompt for necessary inputs to 
accomplish that operation

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education