Question

1. Show how you would do the following sum in binary (make sure to convert to...

1. Show how you would do the following sum in binary (make sure to convert to binary first and give the result in both binary and base 10): 63+125

2. How many binary sequences are there of length n?

3. What is two’s complement and why is it used?

Homework Answers

Answer #1

1.

Answer :

63 = 111111

125 = 1111101

Sum = 111111 + 1111101 = 010111100

2.

Answer :

2^n

Explanation :

At each position of the string there can only be two possibilities, i.e., 0 or 1. Therefore, the total number of permutation of 0 and 1 in a string of length N is given by 2*2*2*… (N times), i.e., 2^N.

3.

Two's complement is a mathematical operation on binary numbers, and is an example of a radix complement. It is used in computing as a method of signed number representation. The two's complement of an N-bit number is defined as its complement with respect to 2N; the sum of a number and its two's complement is 2N.

Two's complement allows negative and positive numbers to be added together without any special logic. ... This means that subtraction and addition of both positive and negative numbers can all be done by the same circuit in the cpu.

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)How do you convert 1/3 into binary with detailed steps ? B) Also how do you...
A)How do you convert 1/3 into binary with detailed steps ? B) Also how do you convert from repeating binary into decimal. (0.0110011001100110....0110) in base 2 . Assume 0110 patters go to forever. how can we convert it into decimal.
Show all work and diagrams necessary. Please make sure you show how you derive any equations...
Show all work and diagrams necessary. Please make sure you show how you derive any equations you used!!! An initially resting 422 g car is dragged along a horizontal frictionless table by a massless cord. The cord is attached to a vertically hanging unknown mass by a frictionless massless pulley. Given that the car starts from rest, and moves 41 cm in 3.0 s, determine the unknown mass. Please give your solution in grams.
Show all work and diagrams necessary. Please make sure you show how you derive any equations...
Show all work and diagrams necessary. Please make sure you show how you derive any equations you used!!! The patented Acme CrateCannon is set up to launch our favorite crate full of fruit horizontally, off of a cliff. The crate starts from rest inside the cannon and experiences a launch force for 1.0 m, until it leaves the end of the cannon. The end of the cannon is positioned directly above the edge of the cliff. Once the crate leaves...
Create a program using Binary Trees in Java to do the following 1. Verify a given...
Create a program using Binary Trees in Java to do the following 1. Verify a given expression is balanced in regards to parentheses 2. covert an infix expression to a postfix expression 3. Evaluate the expression Given expressions: String s[] = {"5 + ) * ( 2", " 2 + ( - 3 * 5 ) ", "(( 2 + 3 ) * 5 ) * 8 ", "5 * 10 + ( 15 - 20 ) ) - 25",...
1. Draw a block diagram of the components that are found on a typical A/D board....
1. Draw a block diagram of the components that are found on a typical A/D board. (Show the components that make up a successive approximation type A/D converter) 2. Show how a 3 bit successive approximation A/D converter with a range of 0 to 10 volts would convert the last three digits of your student number (Insert a decimal point to give a voltage between 1 and 10 volts.) to a digital signal. Now covert the 3 bit binary number...
1. Draw a block diagram of the components that are found on a typical A/D board....
1. Draw a block diagram of the components that are found on a typical A/D board. (Show the components that make up a successive approximation type A/D converter) 2. Show how a 3 bit successive approximation A/D converter with a range of 0 to 10 volts would convert the last three digits of your student number (Insert a decimal point to give a voltage between 1 and 10 volts.) to a digital signal. Now covert the 3 bit binary number...
Show how you would convert benzaldehyde into each of the following. You may use any other...
Show how you would convert benzaldehyde into each of the following. You may use any other needed reagents, and more than one step may be required. a.) Benzyl Alcohol b.) Benzoic Acid c.) Benzoyl chloride d.) Benzophenone e.) 1-Phenylethanol f.) 3-Methyl-1-phenyl-1-butanol g.) Benzyl bromide h.) Toluene i.) C6H5CH(OCH3)2 j.) C6H5CH18O k.)C6H5CHDOH l.) C6H5CH(OH)CN m.) C6H5CH=NOH n.) C6H5CH=NNHC6H5 o.) C6H5CH=CHCH=CH2
Show all work and diagrams necessary. Please make sure you show how you derive any equations...
Show all work and diagrams necessary. Please make sure you show how you derive any equations you used!!! Which of the following statements best describes "free fall motion." Free fall motion describes any horizontal motion. Free fall motion is two dimensional motion. Free fall motion is a subset of projectile motion. Free fall motion is a subset of circular motion. A body can experience a static friction force in its direction of motion. True False If a normal force is...
[Make sure to do both problems to get a thumbs up] 1. What volume (in mL)...
[Make sure to do both problems to get a thumbs up] 1. What volume (in mL) of 0.08970 M HNO3 is required to react completely with 0.2391 g of potassium hydrogen phosphate? 2 HNO3(aq) + K2HPO4(aq) → H2PO4(aq) + 2 KNO3(aq) 2. Potassium acid phthalate, KHC8H4O4, or KHP, is used in many laboratories, including general chemistry laboratories, to standardize solutions of base. KHP is one of only a few stable solid acids that can be dried by warming and weighed....
Your problem: Show how you would make 2 liters of a 20% glucose solution. Before you...
Your problem: Show how you would make 2 liters of a 20% glucose solution. Before you solve the problem organize you thoughts on paper in the following manner (Show all work!!): What will my answer look like? What units will I be using? What do I need to know before I can start solving this problem? Do I know what the word “solution” means? Do I know what “% solution” means? What is known (given in the problem)??? How many...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT