COE128 LONG QUIZ NO 4.docx

COE128 LONG QUIZ NO 4.docx - COE128 LONG QUIZ NO 4...

This preview shows pages 1–2. Sign up to view the full content.

COE128 LONG QUIZ NO. 4 INSTRUCTIONS: Use big test booklet, no lines. No erasures. Use black or blue ink for your final answer and solutions. Use the back of each page as your scratch. Use one page per problem as much as possible. Submission on Sept. 30, 2013 (Monday) between 10am-5pm @ EECE Consultation Room (N205B) 2 nd Floor North Building. I. Answer the following: (10pts each) 1) Find the MCST of the graph in figure 1. Show your solution. 2) For Figure 2, determine: a. Preorder Traversal b. Inorder Traversal c. Postorder Traversal 3) Given: y x y x 7 5 / 3 , draw its binary tree and find its prefix, postfix, and infix notations. 4) Given the expressions below, draw its binary tree and determine its value and the remaining notations. a. 4 1 3 1 2 5 b. 3 2 4 4 8 / 3 5 8 2 / II. Simulate the following:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern