Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

What is 4365-3412when these values represent unsigned 12-bit octal numbers? The result should be written in octal. Show your work.

Short Answer

Expert verified

The result of subtracting the octal number 3412 from 4365 is 753.

Step by step solution

01

Rules for octal subtraction

The octal subtraction is performed similarly to the subtraction of decimal numbers. The difference occurs while taking a borrow. The borrowed number in the octal system is 8.

02

Perform the octal subtraction

Starting from the least significant bits of both numbers, subtracting 2 from 5 gives 3. Then, subtracting 1 from 6 gives 5. The next subtraction is 4 from 3, which is not possible. So, borrow is taken. Subtracting 4 from 11 gives 3. The subtraction of the most significant digits gives 0. So, 4365-3412is equal to 753.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Calculate the time necessary to perform a multiply using the approach given in Figure 3.3 and 3.4 if an integer is 8 bits wide and each step of the operation takes 4-time units. Assume that in step 1a an addition is always performed -either the multiplicand will be added, or a zero will be. Also assume that the registers have already been initialized (you are just counting how long it takes to do the multiplication loop itself). If this is being done in hardware, the shifts of the multiplicand and multiplier can be done simultaneously. If this is being done in software, they will have to be done one after the other. Solve for each case.

Question 3.2 [5] What is 5ED4 - 07A4 when these values represent signed 16- bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.

Question: Based on your answer to 3.38 and 3.39, is (1.666015625×100×1.9760×104)+1.666015625×100×-1.9744×104=1.666015625×100×1.9760×104+-1.9744×104

Calculate the time necessary to perform a multiply using the approach described in the text (31 adders vertically) if an integer is 8 bits wide and an adder takes 4 time units.

As discussed in the text, one possible performance enhancement is to do a shift and add instead of actual multiplication. Since 9×6, for example, can be written 2×2×2+1×6 , we can calculate9×6 by shifting 6 to the left 3 times and then adding 6 to that result. Show the best way to calculate 0×33×0×55 using shifts and adds/subtracts. Assume both inputs are 8 bit unsigned integers.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free