Question: any help would be appreciated thanks!!! b) A software developer is developing a student records module that stores students' college details. The data is represented
b) A software developer is developing a student records module that stores students' college details. The data is represented internally in the student.c module as struct student \{ char name[50]; int id ; double gpa; \} ; " Data declared global, but private to student.c*\% int ns =0; static struct student *sarr = NULL; i. Design an API to form the -interface to this module. (6 marks) ii. Provide an example of client code that uses the interface from part i above to access the private data in a controlled way. (6 marks) c) State diagrams are a useful way to capture the intended (10 marks) behaviour of a system. Draw a simple state diagram suggesting the operation of a traffic light. For each transition label the guards and actions accompanying each transition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
