1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ArbitrLikvidat [17]
3 years ago
15

2) Show the decimal equivalent of each of the numbers if they are interpreted as (4 answers): 11001101 01101001 a. Unsigned bina

ry b. Signed binary
Computers and Technology
2 answers:
gayaneshka [121]3 years ago
8 0
<h2>Answer:</h2><h2 />

<em>11001101 (as unsigned binary) is 205 in decimal</em>

<em>11001101 (as signed binary) is -51 in decimal</em>

<em>01101001 (as unsigned binary) is 105 in decimal</em>

<em>01101001 (as signed binary) is still 105 in decimal.</em>

<h2>Explanation:</h2><h2 />

a.  11001101

1 => Treating as unsigned binary

Since the number is unsigned, the usual direct conversion to decimal is sufficient. i.e

11001101 = 1 x 2^{7} + 1 x 2^{6} + 0 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 1 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

11001101 = 128 + 64 + 0 + 0 + 8 + 4 + 0 + 1

11001101 = 205 (in decimal)

<em>Therefore 11001101 (as unsigned binary) is 205 in decimal</em>

2 => Treating as signed binary

Signed binary using 2's complements dictates that the most significant bit (leftmost bit) in a binary number represents the sign of the bit. If the most significant bit is 0, then the number is positive. If it is 1, the number is negative.

Since the most significant bit of the number (11001101) is 1, then the number is negative.

Therefore to convert it to its decimal counterpart;

<em>i. flip all its bits by changing all 1s to 0s and all 0s to 1s as follows</em>

=> 11001101 = 00110010

<em>ii. add 1 to the result above as follows</em>

=> 00110010 + 1 = 00110011

<em>iii. now convert the result to the decimal representation as follows</em>

00110011 = 0 x 2^{7} + 0 x 2^{6} + 1 x 2^{5} + 1 x 2^{4} + 0 x 2^{3} + 0 x 2^{2} + 1 x 2^{1} + 1 x 2^{0}

00110011 = 0 + 0 + 32 + 16 + 0 + 0 + 2 + 1

00110011 = 51 (in decimal)

<em>Therefore, 11001101 (as signed binary) is -51 in decimal</em>

b.  01101001

1 => Treating as unsigned binary

Since the number is unsigned, the usual direct conversion to decimal is sufficient. i.e

01101001 = 0 x 2^{7} + 1 x 2^{6} + 1 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 0 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

01101001 = 0 + 64 + 32 + 0 + 8 + 0 + 0 + 1

01101001 = 105 (in decimal)

<em>Therefore 01101001 (as unsigned binary) is 105 in decimal</em>

2 => Treating as signed binary

Signed binary using 2's complements dictates that the most significant bit (leftmost bit) in a binary number represents the sign of the bit. If the most significant bit is 0, then the number is positive. If it is 1, the number is negative.

Since the most significant bit of the number (01101001) is 0, then the number is positive and the usual conversion to decimal will suffice. i.e

01101001 = 0 x 2^{7} + 1 x 2^{6} + 1 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 0 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

01101001 = 0 + 64 + 32 + 0 + 8 + 0 + 0 + 1

01101001 = 105 (in decimal)

<em>Therefore 01101001 (as signed binary) is still 105 in decimal.</em>

<em>Note: A positive binary number will have the same value (in decimal) whether it is treated as signed or unsigned.</em>

iragen [17]3 years ago
5 0

Answer:

<u>Signed:</u> -4 -5 +6 -1

<u>Unsigned:</u> 12 13 6 9

Explanation:

We are given with binary number i.e. 1100110101101001. First of all we will break this binary number into sets of 4 starting from the right side of the binary number. First set will be 1001, second will be 0110, third wil be 1101, fourth will be 1100.

<u>Basic concept of converting binary numbers into decimal numbers:</u>

256 128 64 32 16 8  4  2  1  

0      1      1    0    1  0  0  1  1

Add the number written above each of the binary number if its 1 and ignore if its 0. Starting from the left side 0 represents 256 so, we will ignore it. 1 represents 128 so we will consider it and so on.

128+64+16+2+1 = 211

011010011 is the binary of 211.

For signed binary, if the last number of the set is 0 the, it is a postive number. For unsigned binary, if the last number of the set is negative then, it is a negative number.

<u>For signed binary:</u>

1100    1101    0110   1001

-4        -5      +6       -1

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

<u>For unsigned binary:</u>

1100    1101    0110   1001

12        13      6       9

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

You might be interested in
To begin importing data from an excel spreadsheet, click on the ____ tab on the ribbon.
Mamont248 [21]

Answer:

External data

Explanation:

The "external data" is one of the tabs on the ribbon. It is used for importing data from an excel spreadsheet.

Hope this helps!

3 0
3 years ago
Write a program that prompts the user to enter a string (may contain spaces) and displays its last character. Enter s string: Pr
STALIN [3.7K]

Answer:

<em>The programming language in Python is as follows:-</em>

#Prompt user for input string

userinput = input("Enter a string: ")

#Print the last character of the input

print("The last character is "+userinput[-1])

#End of Program

Explanation:

This line is a comment

#Prompt user for input string

This line prompts user for input

userinput = input("Enter a string: ")

This line is also a comment

#Print the last character of the input

This next line prints the last character of the input string; the last character is defined by the index -1

print("The last character is "+userinput[-1])

3 0
3 years ago
Best way to build a model bridge
DanielleElmas [232]
Personally, i would use a 3-D printer, but you can use any material that you have, and have an example next to you for reference if you aren't going to 3-D print.

7 0
3 years ago
Read 2 more answers
Create a set of functions that compute the mean, median, and mode of a set of
zepelin [54]

Refer to the attachment.

Language used=Python

5 0
2 years ago
Read 2 more answers
Is a book considered technology?
kumpel [21]
Yes, "technology" doesn't have to be all about computers or cell phones.. Technology is anything that is a new advance in knowledge and books were once a great advance in that field.
7 0
3 years ago
Read 2 more answers
Other questions:
  • The following program includes fictional sets of the top 10 male and female baby names for the current year. Write a program tha
    15·1 answer
  • Which of the following payment types require you to pay upfront A. Money order and credit card B. Money orders and prepaid card
    9·2 answers
  • How many electrons are there in an atom of carbon? A. Four B. Eight C. Six D. One
    15·2 answers
  • Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. A
    5·1 answer
  • Hackers who gain control over several computers can organize them into a client-server network known as a(n) __________ . This n
    7·1 answer
  • Fedora operating system
    9·1 answer
  • In C++ Please :
    6·1 answer
  • What is the purpose of this parallelogram shape in a flowchart? O decision process o input or output start or end​
    13·1 answer
  • Define a function compute gas volume that returns the volume of a gas given parameters pressure, temperature, and moles. Use the
    7·2 answers
  • 1. Write a program to input four numbers and store them in variables.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!