Preview

Ihih

Satisfactory Essays
Open Document
Open Document
1923 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Ihih
1
(a). Perform the following:
(i) 10000110002 to Hexadecimal
(ii) ABCDE16 to Decimal
(iii) A1F2.F16 to Octal
________
(i) 19 08 07 06 05 14 13 02 0100 2 ( base 10 ( base 16
= (29) + (24) + (23)
= 536

16|536 =21816 33 8 2 1

(ii) A B C D E16 ( base 10 A4 B3 C2 D1 E 0
= (10*164) + (11*163) + (12*162) + (13*161) + (14*160)
= 70371010

(iii)A1F2.F16 (base 2 ( base 8 A3 12 F1 20 . F-1
=1010 0001 1111 0010.1111 base 2
=1 010 000 111 110 010.111 1 base 8
= 120762.748

(b) A computer stores a number of 16 bits word using floating-point arrangement.
Given that the first bit is reserved for the sign and followed by 6 bits for the exponent using biased form. The remaining bits are used for the mantissa with a hidden bit.
(i) Show how the computer stores -37.87510
(ii) What is the decimal value for 0100 1111 0111 01012?

(i)-37.875 2|37 100101.111 18. 1 9. 0 4. 1 2. 0 1. 0

0.875 2 X
1.750
1 - 1
0.750
2 X
1.500
1 - 1
0.500
2 X
1.000 1

- =100101.1111X 20 |- TE = 5 | Mant = 1.001011110 = 1.00101111 X 25 stored = true expo + bios = =001011110 = 5 + 31 = 36
- convert expo to binary |- Mant = 1.001011110
2| 36 = 1001002 = 001011110 ( 1.100100 001011110 18 0 sign = - 9 0 = 1 4 1 2 0 1 0

(ii) 0 100111 1011101012 Expo mant
-Expo 1001112 = 15 04 03 12 11 10 |- stored expo = true expo + bios = (25)+(22)+(21)+(20) 39 = TE + 31 = 32 + 4 + 2 +1 TE = 8 = 39
-101110101+1 |-18 17 06 15 14 13 02 11 00 . 1-1
=0.101110101+1 = (28)+(27)+(25)+(24)+(23)+(21)+(2-1)
=1.101110101 x 28 = 442 + (2-1)
=110111010.1 = 442.510

(c) Using BCD 8-4-2-1 representation, calculate 6789 + 7156 – 365
______
6789 = 0110 0111 1000 1001
7156 = 0111 0001 0101 0110 +

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 9 Exam Paper

    • 486 Words
    • 2 Pages

    Following the two scenarios where if one bit is converted and results in the same received pattern +-0+-0-+…

    • 486 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the binary number to hexadecimal by grouping bits in threes, starting from right.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    10. The significant digits of 0012340 are _______. 11. The bit pattern 1101 Excess Number converted value is ________.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Number Conversions

    • 180 Words
    • 2 Pages

    2. Convert the hexadecimal number E7 into binary, and then convert the binary result into…

    • 180 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    3) Between -7999 and +7999. This is because 16 bits provide four four-bit locations. The lowest (right most) and two middle 4 bits can each store any number from 0 to 9. In the highest (left most) 4 bits, one bit is used for the sign, leaving 3 bits for digits. These 3 bits can accommodate numbers between 0 and 7.…

    • 1112 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    CTR 212 Assignment 2

    • 818 Words
    • 5 Pages

    In 1's complement a negative number is represented by taking all the bits in the positive number and inverting…

    • 818 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    I will use the formula 2X to find how many bits I need to borrow.…

    • 180 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Hejuwh

    • 886 Words
    • 4 Pages

    Being a CRNA (Certified Registered Nurse Anesthesiologist) is such an important career that is crucial to the medical department. CRNA’s do not only prep the patient, but many also give the anesthesia. It is essential that each patient who comes through the hospital about to go under the needle is received proper anesthesia, and this is where CRNA’s get involved.…

    • 886 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nothing

    • 1097 Words
    • 5 Pages

    HW-4 (Base conversion ) Date:__________, Name___________________________________ Please do not use any calculator in doing your homework. You need Scantron 882E. Please use a pencil to mark the answers. Make sure your Scantron is clean , flat, and not folded when you submit. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Solve the problem. 1) Write (in the same base) the counting numbers just before and just after 3246 seven. A) 3245seven, 3247 seven C) 3254seven, 3250 seven 2) List the first 10 counting numbers in base 2. A) 0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001 B) 0, 1, 2, 10, 11, 100, 101, 110, 111, 1000 C) 1, 10, 11, 100, 110, 1000, 1001, 1010, 1100, 10000 D) 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010 3) Write (in the same base) the counting numbers just before and just after 13 eight. A) 10eight, 12 eight B) Aeight, Ceight C) 12eight, 15 eight D) 12eight, 14 eight 4) Determine the number of distinct symbols needed in base 7. A) 7 B) 9 C) 8 5) List the first 10 counting numbers in base 16. A) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 C) 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B B) 3245seven, 3250 seven D) 165 seven, 166seven 2)…

    • 1097 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Ahn Doh

    • 975 Words
    • 4 Pages

    To feel a sense of belonging to place or people a culture needs to be defined so the bases of an identity can be formed. It is therefore often assumed that an abrupt change of culture can interfere with a person’s sense identity and lead to disconnection from their new surroundings. But a change in culture can also add a new dimension, redefining a person into a developed individual and giving them a new sense of belonging and identity. Their experiences and the immediate environment they are in influence their perception of belonging. This perception influences their view as either positive or negative and this can have dramatic implications on their life.…

    • 975 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Cnit 176 Final Exam

    • 2381 Words
    • 10 Pages

    2. In the model of modern computing systems, applications that end uses directly interact with are…

    • 2381 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    ghghgh

    • 341 Words
    • 2 Pages

    The procedures are: what to do when the fire alarm goes off, letting seniors know when I am not coming into work and reporting an accident at work.…

    • 341 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    hohoh

    • 380 Words
    • 2 Pages

    36.74 yrs) arrested for driving while intoxicated (DWI). Five subtypes were defined through cluster analysis of driving-attitudinal, personality, and hostility measures. Two subtypes were found to have particularly high levels of risk-enhancing traits. The first was characterized by the highest levels of depression and resentment as well as the lowest levels of assertiveness, emotional adjustment, and perceived control. The second was characterized by the highest levels of driving-related aggression, competitive speed, sensation seeking, assaultiveness, irritability, and indirect and verbal hostility. Subsequent analyses indicated that these 2 subtypes were also of lower social position, heavier drinkers, and had higher risks of accident involvement in comparison to the remaining clusters. Results are discussed with respect to the need for differential assessment and treatment approaches when dealing with a DWI population. (48 ref) (PsycINFO Database Record (c) 2012 APA, all rights reserved…

    • 380 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    2 and Profit

    • 379 Words
    • 2 Pages

    Problem 15 Suppose that any firm intending to produce SOMA must build an integer number of plants: 0, 1, 2,.... Building Q plants costs each firm 3.5 × Q dollars. Each plant produces one unit of SOMA. If firm 1 builds Q1 plants and firm 2 builds Q2 plants, the market price p for one unit of SOMA will be 9 − (Q1 + Q2). For example, if firm 1 builds 2 plants and firm 2 builds 4 plants, the market price will be 9 − (2 + 4) = 3 per unit. At this price firm 1 will make a profit of 2 × 3 − 2 × 3.5 = −1 while firm 2 will make a profit of 4×3−4×3.5 = −2. Assume, no firm will build more than 4 plants.…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Complete the following decimal-to-hexadecimal number conversions. If available, use the base conversion feature of your calculator to check your answers.…

    • 412 Words
    • 4 Pages
    Good Essays