Reference no: EM131787757
1) Assuming integers are represented as 16-bit words and negative numbers are represented using the 2's complement representation, convert the following hexadecimal numbers to decimal numbers (show your work).
a. FEED, b. BAD1, c. 2DAD
2) Assuming integers are represented as 32-bit words and negative numbers are represented using the 2's complement representation, convert the following decimal numbers to hexadecimal numbers (show your work).
a. -1954, b. 15343
3) Represent following floating point numbers in IEEE single-precision (32-bit) format: a. -0.1875, b. 0.46875
Show the steps done to reach the answer for each (i.e. how to get the S-bit, the exponent, and the fraction field of the answer).
4) What is the decimal value of the following IEEE single-precision (32-bit) floating point numbers (which are shown in hexadecimal)?
a. 3F400000, b. BE000000
Show the steps done to reach the answer for each.
Note: Do NOT omit the leading zeros (Os) in your answers.
Write code for an Θ(n) worst-case algorithm that verifies that a tree is actually an AVL tree. You may assume the nodes of the tree look like:
1. class AVLNode
2 int key:
3 v value;
4 int height;
5 AVLNode Left:
6 AVLNode right;
You must verify the BST Property, the AVL Balance Condition, and the correctness of the height information (that is, the value stored in the height field may not be correct). In each of the cases where it fails a property, return false. Otherwise, return true. A null node is considered a proper AVL tree of height -L You are welcome to (encouraged!) to write helper functions.
As you are writing your code, we recommend that you keep in mind the following tree. Is THIS tree a proper AVL Tree?

Review problem of the reynolds corporation
: The Reynolds Corporation buys from its suppliers on terms of 2/10, net 55. Reynolds has not been utilizing the discounts offered and has been taking 55 days.
|
Develop the format and framework for your project
: Develop the format and framework for your project. Your submission should be a single document which includes. APA formatted Title Page.
|
Develop short case including the complaint process for mark
: Do you think, he can file a legal complaint and if yes, against whom? Develop a short case including the complaint process for Mark.
|
What should be the balance in francisco lease liability
: The implicit rate of 10% is known by the lessee. What should be the balance in Francisco lease liability at December 31, 2012
|
Convert the decimal numbers to hexadecimal numbers
: What is the decimal value of the following IEEE single-precision (32-bit) floating point numbers (which are shown in hexadecimal)
|
Memory locations in which a double can be stored
: Write declarations for variables pI and p2 whose values will be addresses of memory locations in which a double e can be stored.
|
Prepare the stockholder equity section of the balance sheet
: Prepare the stockholder's equity section of the balance sheet in proper form for Vicario Corporation as of December 31, 2012
|
What is the effective rate on the bank loan
: Neveready Flashlights, Inc., needs $300,000 to take a cash discount of 2/10, net 70. A banker will loan the money for 60 days at an interest cost of $5,500.
|
Should harper borrow the money to take the discount
: How much would it cost (in percentage terms) if Harper did not take the cash discount, but paid the bill in 60 days instead of 10 days?
|