2023 Week 5 6 Programming Assignment Core Learning Outcomes addressed in this assignment Demonstrate creativity and | Assignment Collections

Computer Science 2023 computer science

2023 Week 5 6 Programming Assignment Core Learning Outcomes addressed in this assignment Demonstrate creativity and | Assignment Collections

Week 5-6 Programming Assignment

 

Core Learning Outcomes addressed in this assignment:

 

  • Demonstrate creativity and problem-solving skills. (9)
  • Write C++ programs that use proper style and documentation. (10)
  • Write C++ programs that uses a Stack and Linked List. (11)
  • it is C++ program.

 

The purpose of this assignment is to assess if you can create a program that uses a Stack and a Linked List.

 

Directions Points
The file must be called week5-6Prog.cpp 1
Create a structure called AddressNode

  1. The structure should contain a string for name and a pointer called AddressNode that points to “next” (the next element in the list).
10
Create classed called ABook.

  1. Create the Default Constructure. (public)
  2. Create the Deconstructor. (public)
  3. AddressNode* topPtr. (private) – Should be a pointer to the top of the list.
10
ABook Methods (each of these methods must be created in your program)

  1. ABook::ABook() – Default Constructor
  2. ABook::Insert(string NewItem) – Add item to the Linked List
  3. ABook::SortedInsert(string NewItem) – Add item to the Linked List (sorted)
  4. ABook::Remove(string& item) – Remove element from the top of the stack and return the item.
  5. ABook::~ABook() – Deconstructor. Removes all elements from the list.
40
Main Method

  1. Declare new List (Hint: ABook Book;)
  2. Declare new string newName.
  3. Declare new string nameToRemove.
  4. Call Book.Insert(“Precious”); – Insert Precious into list.
  5. Call Book.SortedInsert(“Ken”); – Insert Ken into listed (sorted)
  6. Call Book.SortedInsert(“Eileen”); – Insert Eileen into list (sorted)
  7. Call Book.SortedInsert(“Frank”); – Insert Frank into list (sorted)
  8. Use Book.Remove to remove each name one at a time and display to screen.
  9. Include: system(“PAUSE”); after your output to pause the screen.

See example below.

10
Ensure you include ALL .cpp file(s) and any associated, student-defined .h (header) files required to make your program compile and run. The only files in the dropbox should be .cpp and .h files.  Do not turn in .zip, .exe, .rar, etc files. 2
Upload your page to the Dropbox.

NOTE: Complete your activity and submit it to the Dropbox by clicking on the Dropbox tab at the top of the course frame and choosing the correct Weekly Activity.

If needed, click on the Help button above for more information on Course Tools/Using the Dropbox.

3

Total Possible Points

76
Example output of your program

Sorted List: 
Eileen
Frank
Ken
Precious

 

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational