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
Paul [167]
3 years ago
6

Calculate the sum and difference of the given 8-bit unsigned binary numbers. All calculations must be done in binary. Show your

work.
Computers and Technology
1 answer:
Korolek [52]3 years ago
5 0

Answer:

10010101 + 00101110 = 1 1 0 0 0 0 1 1 , 10010101 - 00101110 = 0 1 1 0 0 1 1 1,

01101101 + 01110011   = 1 1 1 0 0 0 0 0 , 01101101 - 01110011 = - 1  1 1 1  1 0 1  0

Explanation:

10010101 + 00101110 =   1 0 0 1 0 1 0 1

                                    + <u>0 0 1 0 1 1 1 0</u>

                                       <u>1 1 0 0 0 0 1 1</u>

In binary, 1 plus 0 is 1, but 1 plus 1 ( which conventionally is two) is divided by 2 and the result is carried-out, while the remainder is used as the answer.

10010101 - 00101110 =   1 0 0 1 0 1 0 1

                                   - <u>0 0 1 0 1 1 1 0</u>

                                     <u>0 1 1 0 0 1 1 1</u>  

Subtraction in Binary calculation, a borrow to a 0 value is equal to two, this law is implemented in a case where 1 is subtracted from 0 ( which is impossible).

01101101 + 01110011   =   0 1 1 0 1 1 0 1

                                   + <u>0 1 1 1 0 0 1  1</u>

                                      <u>1 1 1 0 0 0 0 0</u>

<u />

01101101 - 01110011   =   0 1 1 0 1 1 0 1

                                   - <u>0 1 1 1 0 0 1  1</u>

                                   - <u>1  1 1 1  1 0 1  0</u>

At the end of the subtraction, if the value subtracted from in less than the subtracted number, two is borrowed and the result becomes negative or signed.

You might be interested in
In this lab, you will implement a temperature converter in JavaScript. The user may type a temperature in either the Celsius or
jek_recluse [69]

Use the knowledge in computational language in JAVA to write a code that convert the temperature.

<h3>How do I convert Celsius to Fahrenheit in Java?</h3>

So in an easier way we have that the code is:

  • Fahrenheit to celsius:

<em>/* When the input field receives input, convert the value from fahrenheit to celsius */</em>

<em>function temperatureConverter(valNum) {</em>

<em>  valNum = parseFloat(valNum);</em>

<em>  document.getElementById("outputCelsius").innerHTML = (valNum-32) / 1.8;</em>

<em>}</em>

  • Celsius to Fahrenheit:

<em>function cToF(celsius) </em>

<em>{</em>

<em>  var cTemp = celsius;</em>

<em>  var cToFahr = cTemp * 9 / 5 + 32;</em>

<em>  var message = cTemp+'\xB0C is ' + cToFahr + ' \xB0F.';</em>

<em>    console.log(message);</em>

<em>}</em>

<em>function fToC(fahrenheit) </em>

<em>{</em>

<em>  var fTemp = fahrenheit;</em>

<em>  var fToCel = (fTemp - 32) * 5 / 9;</em>

<em>  var message = fTemp+'\xB0F is ' + fToCel + '\xB0C.';</em>

<em>    console.log(message);</em>

<em>} </em>

<em>cToF(60);</em>

<em>fToC(45);</em>

See more about JAVA at brainly.com/question/12975450

5 0
2 years ago
Switches: Select one:
const2013 [10]

Answer:

b. connect two or more network segments that use different data link protocols

Explanation:

A switch is an analog device that allows to interconnect networks, it is possibly one of the devices with a higher level of scalability. It is important to clarify that a Switch does not only provide connectivity with other networks, nor does it provide connectivity with the Internet, for this purpose a router is necessary.  

6 0
4 years ago
Find the value of 1/2 of 1/2​
sveta [45]

Answer:

1/2 of 1/2​ is 1/4 <em>or </em>0.25

Explanation:

7 0
3 years ago
Read 2 more answers
which term describes the layer of software that resides between the virtual operating system and the physical hardware it runs o
sasho [114]

Answer:

hypervisor

Explanation:

becauseis a thin layer of software that resides between the virtual operating system(s) and the hardware. The physical host is the actual hardware that the hypervisor software runs on.

8 0
3 years ago
Data stored in computer systems has a high value because there is a great deal of time and effort that goes into creating an ana
Jet001 [13]

Answer:

Option (A) is the correct answer of this question.

Explanation:

Data stored in computer systems has a high importance because there is a lot of time and energy to construct an analysis, and the data is also intrinsically valuable.Intrinsic value is the intended or measured value of an entity, asset, economy or commodity established by technical analysis.

It encompasses both measurable and intangible factors.Often known as the true value is intrinsic value, which might or might not be worse than the fair market value.

Others options are incorrect because they are not related to the given scenario.

3 0
3 years ago
Other questions:
  • Choose the answer that best explains why Morse's invention of the telegraph changed media forever.
    11·2 answers
  • Question 2 (5 points)
    12·1 answer
  • What is the best way to get the most out of the box?
    14·2 answers
  • A museum is evaluating historical documents for authenticity, reviewing their physical condition, and categorizing them by subje
    9·1 answer
  • Hello pls answer<br><br><br>what is the use of loop in java​
    5·1 answer
  • Cuál es el objetivo principal de una clave primaria?
    14·1 answer
  • Which document outlines the activities carried out during testing?
    9·1 answer
  • You must configure a certificate authority on your network to use EFS. True or False?
    5·1 answer
  • The sticky notes often have strings of characters written on them that appear to be passwords. What can you do to prevent the se
    15·1 answer
  • write a recursive function that accepts an integer argument, n. the function should display n lines of asterisks on the screen,
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!