Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 4 (MAR 2015) The following table shows the data of customer order made to the online business Pink Carrot Company Customer Name Product Code
QUESTION 4 (MAR 2015) The following table shows the data of customer order made to the online business Pink Carrot Company Customer Name Product Code Quantity of Order Price per unit (RM) Adam BKS222 70 85.00 Aminah TDG225 60 45.00 Nuh CKS228 85 23.00 Mariyam TDG225 40 45.00 Yusuf CKT229 130 26.00 Ibrahim BKA221 63 38.00 Khadijah BJM226 38 22.00 Idris BKS222 172 85.00 Fatimah BJM226 55 22.00 Aisyah TDG225 50 45.00 Ismail KPK233 90 35.00 Yunus STN235 110 18.00 Draw a Binary Search Tree (BST) based on the quantity of order. QUESTION 5 The following table shows the data gathered from the survey Serial No Age Gender Medicine 235 28 M true 123 35 F false 456 48 M False 111 25 F True 150 50 M False 123 35 F False Smoking true false true true false false Exercise true true false false true true a) Based on the table given, draw a Binary Search Tree (BST) according to the serial number from each respondent of the survey. (3 marks) QUESTION 6 (OCT 2016) Draw the diagram of a Binary Search Tree (BST) according to Book No. (3 marks) Price No. The following tables shows the detailed information of the items. Book Title Publisher Year Published 78 Java Addison Wesley 2014 81 C++ Thomson 2009 80 Fortran Prentice hall 1988 65 Pascal Longman 2005 67 Cobol Addison Wesley 1999 50 HTML Thomson 2005 9 PHP Prentice hall 2006 169.00 127.00 39.00 78.00 45.00 119.00 178.00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started