Question: Populate a symbol table using the textbook's symbol table API. (a) Use the table below to determine the proper operations to create and fill a

Populate a symbol table using the textbook's symbol table API.

(a) Use the table below to determine the proper operations to create and fill a symbol table with courses that your professor will be teaching for Spring of 2019.

COURSE SEATS OCCUPIED
SER222 47
SER315 63
SER334 38
SER401 40
SER415 42

(b) Before the beginning of the semester starts SER222 is canceled and will need to be removed from the symbol table. The number of occupied seats for SER401 have increased from 40 to 60 students and the number of occupied seats for SER315 have decreased from 63 to 58. Provide the code that would update your data symbol table with the provided scenario. Also provide the code that will print out all the keys located in the updated symbol table.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!