Midterm 2-Fall 2019.pdf - Quiz Submissions Midterm 2-Fall 2019 Results Attempt 1 24 Score for this quiz 24 out of 25 Back to Quiz Submitted Nov 7 at

# Midterm 2-Fall 2019.pdf - Quiz Submissions Midterm 2-Fall...

• Test Prep
• 1

This preview shows page 1 out of 1 page.

Midterm 2-Fall 2019 Results Score for this quiz: 24 out of 25 Submitted Nov 7 at 9:55am This attempt took 104 minutes. 1 / 1 pts Question 1 Select the correct answer. The sum of these two binary numbers 1010110 + 110100 is: 01110 100 10101010 10001010 Correct! Correct! 00101010 1 / 1 pts Question 2 Select the correct answer. The subtraction of these two binary numbers 1110110 − 1010111 is: 01110010 10101001 11111 Correct! Correct! 111110 1 / 1 pts Question 3 Select the correct answer. Convert -72 to an 8-bit, twos complement binary number. 10111 00 0 Correct! 10101001 10101001 01110100 4 / 4 pts Question 4 Your Answer: Write the conversion procedure to convert 2.625 to our 8-bit ±oating point format. Sign 0 Exponent Divide by 2 to get the normal form 2.625/2 = 1.3125 this is the normal form scienti²c notation 1.3125^1 adding the bias to exponent power 1 + 127 = 128 Exponent is 10000000 Mantissa Multiplying by 2 until we get repeated pattern 0.3125 *2 = 0.625 |0 0.625 *2 = 1.25 |1 0.25 * 2= 0.5 | 0 0.5 * 2 = 1 |1 Mantissa is 10100000 Binary representation of 63.252 single precision is: 0 10000000 10100000000000000000000 4 / 4 pts Question 5 Your Answer: Draw a truth table for W, (x+y)z W" x y z y+x z(x+y) W" (x+y)z 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 0 0 0 1 0 1 1 1 0 0

#### You've reached the end of your free preview.

Want to read the whole page?

• Spring '18
• Jimmy Jim

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern