subject

Hello please, I would like assistance with an assignment in data structures and algorithms with part of the code attached to it in a zip file. with the use of c++. Thank you 1. Modify the relevant source files and test files in a project for unsorted list to include Reverse function that is a member of class UnsortedType.
The initial implementation of the unsorted linked list is in the attached files.
Function Reverse should reverse the sequence of the elements in the list which is an instance of class UnsortedType to which function Reverse belongs.
Reverse function requirements:
public void UnsortedType::Reverse()
Function: reverses the linked list by changing the direction of the pointers
Preconditions: list has been initialized and is not empty
Postconditions: the list pointed to by listData attribute of UnsortedType class is a reverse of the list before the Reverse function invocation.
2. Update the test driver already given (listDriver. cpp) with a case for Reverse (introduce a new test file command Reverse and an "if then" block in listDriver. cpp that will invoke the Reverse function).
Create a new input file for the test driver listDriver. cpp that contains commands:
PutItem 5
PutItem 7
PutItem 6
PutItem 9
PrintList
PutItem 1
PrintList
GetItem 4
GetItem 5
GetItem 9
GetItem 10
IsFull
PrintList
Reverse
PrintList
Quit
There is already a function PrintList and a test file command PrintList. You can see how they are used in other testcases inside listDriver. cpp
Provide an output text file generated by the test driver (listDriver. cpp).
The assignment should contain the project directory for Eclipse.
The Eclipse project directory will contain
Source code files
Executable that runs the testcases
File with testcases output

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Which of the following is a true statement about milestones
Answers: 1
question
Computers and Technology, 21.06.2019 21:00
Analyze the following code. int x = 1; while (0 < x) & & (x < 100) system.out.println(x++); a. the loop runs forever. b. the code does not compile because the loop body is not in the braces. c. the code does not compile because (0 < x) & & (x < 100) is not enclosed in a pair of parentheses. d. the numbers 1 to 99 are displayed. e. the numbers 2 to 100 are displayed.
Answers: 3
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
question
Computers and Technology, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
You know the right answer?
Hello please, I would like assistance with an assignment in data structures and algorithms with part...
Questions
Questions on the website: 13722359