
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about programming assignment 6 for ece 231 intermediate programming course, which focuses on binary search trees, template, and recursion. Students are required to understand the codes in figure 12.7 and 12.8, add additional operations to the bst class template, and modify the test driver function to test each new function. The required files bst.h and treetester.cpp, and students need to provide the implementation of the additional functions and modify the test file accordingly.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

ECE 231 Intermediate Programming
Fall 2008
Programming Assignment 6
Due 12/04/2008, Thursday
Purpose
This assignment will give you practice with binary search trees, template and recursion.
Reading
The material on binary search trees is covered in Chapter 12. Templates are covered in Chapter 9. Before you start working on this assignment, you are required to understand the codes in Figure 12.7, which shows the contents of the BST class template. Figure 12. shows a driver program to test BST.
Programming Assignment
This assignment requires you to add some additional operations in the BST class template and modify the test driver function to test each additional function you added. You are required to add these in BST class template:
To help you to start working on this assignment, I will upload two files, which are in Figure 12.7 and 12.8. They are BST.h and treetester.cpp. I also provide the declarations of all the additional functions in BST.h file. You are required to provide implementation of them. And you also need to modify treetester.cpp file to test each additional function you added in BST class template.