Question

Solving both questions would be great but question 1 is the priority right now.

Question 1: Data representation (16 points) a) Given the following signed integer values, what are the corresponding represenc) Give the IEEE754 single-precision representation of the following decimal number. Can the decimal number be represented exd) What decimal values are represented by the following IEEE754 single-precision floating-point representations? Show your stQuestion 2: Boolean algebra (8 points) Simplify the following logic equations using the laws of Boolean algebra only. Briefly

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q1

Part 1)

(AE86) equivalent binary is = 1010 1110 1000 0110

2's complement of AE86 in binary = (0101 0001 0111 1010) base 2

2) 2's complement of AE86 in decimal = (20858) in base 10

2)

a)

2020 in binary of 16bits = 0000 0111 1110 0100

b)

2020 In Hexadecimal = 07E4

Part 2)

a)

BF88 into binary = 1011 1111 1000 1000

2's Complement of BF88 in binary = 0100 0000 0111 1000

b)

2's Complement of BF88 in decimal = 16504

B)

-2601

First do binary of 2601 = 0000 1010 0010 1001

Now do 2's complement for

-2601 in binary = 1111 0101 1101 0111

-2601 in hexadecimal = F5D7

Part C

IEEE single precison format is

Sign Bit (S) Exponent (E) Mantisa (M)
1bit 8 Bits 23 bits

We represent number as

FORMAT = +/- 1.M * 2 ^ E-Bias

Here in single precision bias = 127

a)

-687.625

As number is negative so

Sign bit = 1

Now covert 687.625 into binary

678.625= 1010100110.101

Now we convert into format given above =

- 1.010100110101 * 2^9

Now M =0101 0011 0101 0000 0000000 i.e 23 bits

So to calculate E

Do 9 + Bias = 0000 1001 + 0111 1111 = 1000 1000

So to

-678.625 in IEEE single-precision

Sign exponent Mantisa
1 10001000 0101 0011 0101 0000 0000000

b)

0.105

As number is positive

S= 0

Now convert 0.105 in binary

0.105=0.000110101

Now convert into given format

1.10101 * 2^-4

So now M = 1010 1000 0000 0000 0000000 i.e 23 bits

To calculate E

Do -4+ Bias = 1111 1100 + 0111 1111

= 0111 1011

Sign exponent Mantisa
0 0111 1011 1010 1000 0000 0000 0000000

Part D )

a)

1 1000 0011 1010 1110 rest 0's

Now Follow above and divide it into S ,E and M

S= 1

E=1000 0011

M = 1010 1110 rest 0's

So acc to format

- 1.1010 1110 * 2^E- bias

E- Bias = 1000 0011 - 0111 1111

= 1111 1100 so as E >Bias so E is +ve but it is in 2's complement form s0

2's complement is = 0000 0100 = +4

So number

- 1.1010 1110 * 2^+4
= -11010.1110

=- 26.875

b)

0 0000 0000 1010100000 rest 0's

Agn Divide into S ,E and M

S= 0

E= 0000 0000

M = 1010100000rest 0's

So Acc to fomat number is

1. 101010 * 2^0 = 1.101010

So number = +1.65625

Here all the parts are solved

Q2 )

Part a

I think it is already in simplified form as no boolean algebra property is present among given expression

Ans = AB + B'C + AC

Part b)

Date... - AB + B C + AB - Ving de- morgans Rule (AB). ( Bc ). (A i (Ā + ).( 5 + 7).(Ā +B) » Ã Ã t Ă C + Š + B ī ) CÃ +B) 2)

Part C)

Dale... AB + BC & A + AB Using De-morgans Rule (AB). CBC )+ AC + AB (Ā + Š ) ( B to ) + AC + AB À Ř t à c + B + B łtałt AB c

ThanK You

If u like it please rate the answer and comment the doubts

Add a comment
Know the answer?
Add Answer to:
Solving both questions would be great but question 1 is the priority right now. Question 1:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Answer the following Questions Question 1 Convert the followings: [a, b, c and d: 1 mark...

    Answer the following Questions Question 1 Convert the followings: [a, b, c and d: 1 mark each; e: 3 marks. Total 7 marks] a. 0x2ED1 to Binary b. −29.6610 to Binary c. 1001111001102 to Hexadecimal d. 11101110 (8-bit 2’s complement representation) to decimal e. A computer stores the following using the IEEE754 single precision format. What value in decimal it is representing for: 1 01111110 11000000000000000000000

  • CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work....

    CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work. Please submit in D2L using the associated link. Problems (total: 100 points) Representation of signed numbers (5 x 4 = 20 points) In an 8-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s complement, respectively: 55 -47 In a 4-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s...

  • question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign...

    question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign Up | Ch ® UFC & MMA × Secure I https://piazza-resourcess3.amazonaws.com/jgopch0cb93d8/j .pdfAWSAccessKeyld-AKAILDNRL/4ALKBWOHA8lexpires-15200435/2&Signature-ol9aXG9 /UAKIHS0QUwMeyBX.. ☆ ミ quations must be properly tyne-set including superscript-s expunents, Always watch the course websile for updates on the assignments. Question 1 (4 points) Show you work I. Convert 2727 into a 32-bit two's complement binary number 2. Convert -5795 into a 16-bit two's complement binary number 3. Add the above...

  • please include only the digits of the appropriate number system. In particular, do not precede the...

    please include only the digits of the appropriate number system. In particular, do not precede the answers with ‘0x’ or ‘0b’ or follow your answers with base indicators, like subscript 2 or 10. 1. A processor uses 24 bits for its memory addressing. How many possible distinct locations (in decimal) can the computer address? The computer memory address locations are numbered from 0 to the maximum. If a memory locations' address is (7243)10, how is this address represented in binary...

  • Given the interpretation and the word(s), tell what characters or decimal numbers are stored in main memory by the desig...

    Given the interpretation and the word(s), tell what characters or decimal numbers are stored in main memory by the designated word(s). We assume our computer uses 8 bits for characters and 16 bits for binary integers: (show your work) Word I 1011 0010 0010 0000 Word II 0100 1001 0101 0010 1) Binary Integer - Word I 2) Character (ASCII) – Word II _____________________________________________________________________________________________________________________________________________________ For the following problems, assume that our computer uses 16 bits for binary integers. Find the...

  • Please show work! 2. Now, give it a try by converting the binary number 01110110 to...

    Please show work! 2. Now, give it a try by converting the binary number 01110110 to decimal by filling in the same table in step 1 r of 2 Pov 128 64 32 16 Cumulative Amount 4. Now, you give it a try by converting the decimal number 131 to binary by filling in the table Power of 2 128 32 16 Bit Amount Remaining 6. Use the binary to hexadecimal table to convert the binary number 01101111 to hexadecimal...

  • (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of...

    (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of each of these numbers in both two’s complement and sign magnitude formats. Use the following assumptions: ● Assume that the sign magnitude number should be represented in the fewest number of bits possible. ● Assume that the sign bit for negative sign magnitude numbers should be a 1. ● Assume that the two’s complement numbers should be 8 bit numbers. 1. 108 2. -65

  • ame. QUESTION 3 4 x 4 = 16 points Design a circuit that generates the 9's...

    ame. QUESTION 3 4 x 4 = 16 points Design a circuit that generates the 9's complement of a binary-coded decimal (BCD) digit. ABCD is a type of binary representation for decimal values (0 to 9) where each digit is represented by a fixed number of binary bits (use Tour bits for this problem). Note that the 9's complement of d is 9 d. (0) Show the corresponding truth table. Write down the functional relationship among the variables (outputs in...

  • 1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of...

    1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of two basic types 1. and 2. (1 point) The number 201 as a one byte unsigned integer is represented as in binary and in hexadecimal. (1 point) The 2 methods for representing signed integers are 3. and (5 points) What is the 16 bit representation of -125 in 2's complement notation? 4. (5 points) What is the decimal representation of the signed integer 10000001?...

  • 1. Consider the following 7-bit binary sequence "1010001" a. Assuming the sequence is 7-bit unsigned binary,...

    1. Consider the following 7-bit binary sequence "1010001" a. Assuming the sequence is 7-bit unsigned binary, convert it to decimal. 15 points] b. Assuming the sequence is 7-bit 2's complement format, convert it to decimal. (5 points c. What is the range of numbers (in decimal) that can be represented using 7-bit binary, signed 2's complement format? 15 points 2. Consider the following Boolean function: F(x, y, z) = (x + y). z'+xy' a. Implement the circuit for the function...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT