Cs301 Assignment Solution 2 2015

HUU PHAM 200326035 f. Assume the computer truncates the significant to four decimal digits and perform the following floating point operations. Show your results as normalized decimal floating-point numbers. i. (0.2233 × 10 2 ) + (0.6688 × 10 1 ) 0.6688 × 10 1 = 0.06688x10 2 (0.2233+0.06688) x 10 2 = 0.29018 x 10 2 Convert to normal form is 0.2902x10 2 ii. (0.9922 × 10 –3 ) – (0.4477 × 10 –3 ) (0.9922 – 0.4477) x 10-3 = 0.5445 x 10-3 iii.(222.88 × 100 ) × (1.1177 × 100 ) (222.88 x 1.1177) x 10 0 = 249.1219176 x 10 0 Convert to normal form is 0.2491 x 10 3 iv. (0.2233 × 10 –2 ) / (0.6611 × 10 3 ) (0.2233/6.611) x 10-2 = 0.033777038 x 10-2 Convert to normal form is 0.0338 x 10-2 Question 2 a. Describe, in your own words, the function of the following digital devices: i. Multiplexer is the operation sending one or more analog or digital signals in a common path at other times or speed ii. Encoder is a device, circuit, transducer, and software program, algorithm that converts information from one format or code to another. CS301 Assignment No 2 Solution Spring 2017

Dear, Students, CS301 Assignment no 2 Solution has been updated. Download Link for Solution file has been given below:

CS301 ASSIGNMENT QUESTION (Marks = 20)
Create a Complete Binary Tree using Array which can add node/elements (Numeric) according to user’s input. After Creating a complete binary tree, you need to print all nodes of complete binary tree, calculate height of tree, levels of tree, range of levels, maximum possible leaf nodes, interior nodes in complete Binary Tree and find the maximum value in the given complete binary tree like:

Note: You Must use only Array as data structure for implementation Deadline: Your assignment must be uploaded on or before Wednesday, May 17, 2017. We shall not accept your solution through email after the due date. CS301 Assignment binary tree CS301 Assignment binary tree 2 CS301 Assignment binary tree 3