Question

Arithmetic in Other Bases Discuss whether (and how) the four basic arithmetic algorithms with which you’re...

Arithmetic in Other Bases

Discuss whether (and how) the four basic arithmetic algorithms with which you’re familiar extend to other bases. Then try to work out the problems below, WITHOUT converting to base ten and back. Work directly in the given bases.

1. (a) base six (b) binary (base two) (c) hexadecimal (base sixteen)

4 0 4 3 1 1 0 0 1 1 3 A E

+ 313       + 1 1 1 0 1 + B 0 5

--------------- ------------------ ------------------

2. (a) base eight (b) binary (base two) (c) base eleven

2 6 1 3 1 1 0 0 1 1 2 3 A 5

- 7 0 4 - 1 1 1 0 1   - 6 0 6

--------------- -------------------- ---------------

3. (a) ternary (base three) (b) base nine

2 0 2 1 8 8

x 1 2 x 4 6

-------------- -------------

4. LONG DIVISION: (a) heximal (base six)   (b) binary (base two)

13)5430 110)101101

Note: In bases larger than ten, the characters A, B, C, D, E, F represent the numbers ten through fifteen.

Homework Answers

Know the answer?
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
Similar Questions
A stack can be used to print numbers in other bases (multi-base output). Examples: (Base8) 2810...
A stack can be used to print numbers in other bases (multi-base output). Examples: (Base8) 2810 = 3 * 81 + 4 * 80 = 348 (Base4) 7210 = 1 * 43 + 0 * 42 + 2 * 41 + 0 * 4 = 10204 (Base 2) 5310 = 1 * 25 + 1*24 + 0 * 23 + 1 * 22 + 0 * 21 + 1 * 20 = 1101012 Write a java program using stacks that...
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What...
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What is the negation of EDCC in HEX? 3) Convert it to decimal number if this is a 2s-complement signed binary representation in 16- bit register 4) Convert it to decimal number if this is an unsigned binary representation in 16-bit 2. Suppose we have 3 arrays A, B, and C, array A’s base address is in $S3, B’s base address is in $S4, C’s...
Compute the approximate number of basic arithmetic operations required to do the following operations. Explain your...
Compute the approximate number of basic arithmetic operations required to do the following operations. Explain your thinking in each case. 1. Compute the dot product of two vectors in R n . 2. Compute Ax for A ∈ R m×n and x ∈ R n . 3. Compute kAxk2 for A ∈ R m×n and x ∈ R n . 4. Compute AB for A ∈ R m×n and B ∈ R n×k . 5. Compute the QR factorization of...
1. A researcher wants to test whether color can influence recall of words in a list....
1. A researcher wants to test whether color can influence recall of words in a list. To test this, the researcher displays 20 words on a computer screen. Ten words are in color, and 10 words are in black. All words are presented on a white background. Participants are given 1 minute to view the list, and then the list is taken away and participants are allowed 1 additional minute to write down as many words as they can recall....
Use the given data set to complete parts​ (a) through​ (c) below.​ (Use alphaαequals=​0.05.) x 1010...
Use the given data set to complete parts​ (a) through​ (c) below.​ (Use alphaαequals=​0.05.) x 1010 88 1313 99 1111 1414 66 44 1212 77 55 y 7.467.46 6.766.76 12.7412.74 7.117.11 7.827.82 8.848.84 6.086.08 5.385.38 8.168.16 6.436.43 5.735.73 LOADING... Click here to view a table of critical values for the correlation coefficient. a. Construct a scatterplot. Choose the correct graph below. A. 04812160481216xy A scatterplot has a horizontal x-scale from 0 to 16 in increments of 2 and a vertical...
QUESTION 1 During a single clock tick, how many 64-bit values can be written to an...
QUESTION 1 During a single clock tick, how many 64-bit values can be written to an input of a register file with 8 64-bit registers (i.e. an 8x64 register file)? QUESTION 2 Suppose you are designing a processor that contains a register file with 32 32-bit registers (i.e. a 32x32 register file). What is the minimum number of bits required in order to select which register is being written to? QUESTION 3 If the decimal value, 30, is shifted to...
1. Which of the following is true about binary fission? Group of answer choices A the...
1. Which of the following is true about binary fission? Group of answer choices A the original two chromosomes in a bacterial cell each replicate and are placed into two new cells B the chromosome is copied, then attaches to the cell membrane by spindle fibers C there is no nuclear membrane to break down and reform D lysis of the existing cell wall of bacteria occurs during the process 2. DNA:   Group of answer choices A replication is described...
Assume you have collected information from six students as to how many hours they work each...
Assume you have collected information from six students as to how many hours they work each week and their grade point averages (GPAs). The information is shown below. Calculate a and b in the regression equation (Y′ = bX + a). Show all working (1) (2) (3) (4) (5) (6) Case X Y ZX ZY ZX • ZY 1 10 3.80 -0.66 0.76 -0.50 2 20 3.44 0 0.14 0 3 40 2.50 1.32 -1.48 -1.95 4 35 2.81 0.99...
1. an urn contains 6 marbles of which 2 are blue, 2 are yellow and 2...
1. an urn contains 6 marbles of which 2 are blue, 2 are yellow and 2 are red. Sarah, Sally, and Sandra take their turn drawing two marbles each, one at a time, and without replacement. a. if sarah is the first to draw two marbles, what is the probability she draws two blue marbles? b. if sarah is the last to draw two marbles, what is the probability she draws two blue marbles. c. if sandra is the last...
1) According to the Decision Making with Statistics lectures, which types of data are most useful...
1) According to the Decision Making with Statistics lectures, which types of data are most useful when applying ordinary arithmetic operations? a)Categorical data b)Nominal data c) Catatonic data d) Quantitative 2) According to the Decision Making with Statistics lectures, what best differentiates Interval and Ratio scales? a)Ratio scales have an absolute zero. b)Ordinal scales have an absolute zero c)The zero point is always twice the standard deviation d) Interval scales have an absolute zero 3) According to the Decision Making...