A6 CS2263 – Systems Software Development Page 1 AssignmentSix Abstract Data Types CS2263, Summer 2022 LearningOutcomes An interactive program that tests Stack and Queue ADT modules. YourTasks Both...

The assignment is the file attached


A6 CS2263 – Systems Software Development Page 1 AssignmentSix Abstract Data Types CS2263, Summer 2022 LearningOutcomes An interactive program that tests Stack and Queue ADT modules. YourTasks Both portions of this assignment will use the following data structure: typedef struct pt2link { Point2D* payload; Struct pt2link* next; }PtLink, *pPtLink Stack Create a stack ADT module to manage Point2D data. The module should handle stack creation, push, pop, peek, reporting the stack contents and stack destruction. You should use your current Point2D module wherever possible. Test your module by implementing it with the playStack.c program. Queue Create a queue ADT module to manage Point2D data. The module should handle queue creation, enqueuing, dequeuing, peek (look at the next value to be dequeued), reporting the queue contents and queue destruction. You should use your current Point2D module wherever possible. Test your module by implementing it with the playQueue.c program. NOTE Listing the stack/queue contents should include reporting the addresses of the PtLink, as well as the addresses of payload and next. Submission Before the due date for this assignment, students should submit a single zip or tar file (named LastName_FirstName_A3.zip or LastName_FirstName_A3.tar) online to the lms containing: • A pdf with screenshots showing successful compiling and testing output. Your source code directory: o This should include all of your source files, including test programs and makefile. o This should not include object (.o) files and executables. Nobody needs to see those.
Jun 14, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here