Creating C structures to hold crucial information  C structure to store course information  Course name  Course code  Semester   Credit

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

his semester you are asked to create a student database and registration tool for a university. You will be working in groups of two.  

 

Creating C structures to hold crucial information 

C structure to store course information 

  • Course name 
  • Course code 
  • Semester  
  • Credit 
  • Grade 

C structure to store student information 

  • Name 
  • Surname 
  • Student ID (automatically created based on the current year, program ID, and order of registration, ex: 2023 01 0001 (could be in whatever format you wish)) 
  • An array of at most 20 courses taken (will be kept as course C structures) 
  • Graduated or Active
  • C structure to store program/ department information 
  • These structures will initially be held in an array 
  • Program name (ex: Electrical and Electronics Engineering) 
  • Program ID, automatically created based on the order of input (ex: 1,2,3) 
  • An array of at most 20 students (will be kept as student C structures) 
  • Total number of students (automatically counted from array) 
  • Number of current students (# of current = total - # of graduated) 
  • Have menus and sub-menus to; 
  • Add and remove programs, students, or courses. 
  • Print the current lists of programs, students, or courses. 
  • Print program, student, or course information 

Convert the above program to work with linked-lists! 

  • Programs should be kept in a linked-list 
  • Program structures should have pointers to lists of students 
  • Students may have pointers to lists of courses (the maximum number of courses is set to 20, so this is not mandatory but encouraged)
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
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