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
mafiozo [28]
3 years ago
12

How do you do basic addition and subtraction in binary, octal and hex?

Computers and Technology
1 answer:
olasank [31]3 years ago
6 0

Explanation:

The use of numerical systems arose from the need of man to improve certain mathematical calculations as time goes.

Several factors demanded the study and application of mathematical operations using decimal numbers. Among these factors, technological advancement essentially from the first experiments in the use of electronics.

There are several numeric systems, but four of them stand out: decimal, binary, octal and hexadecimal.

The decimal system is used every day in countless ways and, no doubt, is the most important number system. He has ten digits with which can form any number through the law.

Non-decimal systems such as binary, octal and hexadecimal are critical in the areas of digital and computer techniques. Through these systems is possible to perform logical combinations and working with computer programming languages. This article will show the link between the logical circuits and these numbering systems.

2 - The Binary Numbering System

The binary numbering system is composed of only two digits:

Zero (0)

One (1)

To represent zero amount using the number 0; to represent a quantity, use the digit 1.

Assuming you need to represent the number two. Which digit you can use, if there is no number 2 in that system?

We have the following response. In the decimal system, we do not have the number ten and represent the amount of ten using the digit 1 followed by the digit 0. In this case, the number 1 means that we have a group of ten and the digit 0, no drive, which means ten.

In the binary system, do likewise. For you the amount of two, we use the digit 1 followed by the digit 0. The figure 1 means that there is a group of two elements and 0, a group of any unit, thus representing the number two.

The table below helps us to understand the differences between the decimal and binary system, using this rule. The number sequence displayed to the number nine.

Decimal

Binary

0

0

1

1

2

10

3

11

4

100

5

101

6

110

7

111

8

1000

9

1001

2.1 - System Conversion binary to Decimal System

To better understand the conversion we use a decimal number either, for example, 356. This number means:

3 x 100 + 5 x 10 + 6 x 1 = 356

Hundred ten unit

3 x 10 � + 5 x 10 � 6 x 10 + 10 = 356

We realize that the least significant digit (6) multiplies the unit (1), the second digit (5) multiplies the ten (10) and the most significant (3) multiplies the hundred (100). The sum of these results will represent the number.

In General, the formatting rule of a number is the sum of each digit multiplied by the corresponding base (in the example, the number ten) high for an index as the positioning of the digit in the number.

In another situation, we will use a binary number, for example, the number 101. We can conclude that it is equivalent to number 5 in the decimal system. Using the concept of a number, we will convert the number to the decimal system as follows:

1 0 1

1 x 2� + 0 x 2� + 1 x 2

You might be interested in
In which of the following stages of the development process is a team MOST likely to interview a potential user of an app? A. in
Mrac [35]

Answer:

The correct option is;

A. Investigating and reflecting

Explanation:

In the investigating and reflecting stage, the team involved in the development tries to acquire a thorough and empathic view of the problem the app is meant to solve by researching, the needs of the potential end users of the app so as to isolate the design concept from personal assumption to real world scenarios.

5 0
3 years ago
Declare an array of int values westboundHollandTunnelTraffic that can store the number of vehicles going westbound through the H
Len [333]

Answer:

Following are the declaration of the array:

int westboundHollandTunnelTraffic [10] [52] [7] [24];  //defining an integer array  that holds days, week, hour, and year value

Explanation:

In the above-given code, an array that's name is " westboundHollandTunnelTraffic " is declared and the type of the storing elements in the array is an integer.

In this array, it first stores the year's value, and in second, it stores week values, in third, it stores day value, and the last it stores hours value.    

6 0
4 years ago
THESE ARE GAME DESIGN QUESTIONS PLEASE TRY TO ANSWER THESE QUESTIONS AS BEST TO YOUR KNOWLEDGE, THANK YOU ALL FOR EVERYTHING YOU
Setler79 [48]

1. The purpose of an action game is to provide an alternate reality where you have opportunity to pursue adventure. The purpose of a trivia game is to have fun while answering questions, perhaps with a trace of competitivity. Since the games are in different genres, the purposes of the games are different; trivia games are oftentimes simpler in function, while action games require more involvement and of course, action.

2. Some games are easier to play with two people, like games that require teamwork. However, others are more conveniently played by yourself. For example, Ge0metry Dash should be played by yourself, but games like F0rtnite can be more easily played in teams. However, there are also games that can be played both by oneself and with others, like Min3craft.  

3. The way you would play an action game is entirely different from how you would play a trivia game, so certain genres require different gameplay styles.

5 0
3 years ago
Read 2 more answers
Buying an existing business
HACTEHA [7]
Goin to make great profit
8 0
3 years ago
What is one of the core concepts in IT?
netineya [11]
This question would not be in this computer type of thing but literacy, the core concept in IT is about a boy and the clown ( don’t remember the name)
8 0
3 years ago
Other questions:
  • Why is it important to save a print copy of electronic sources?
    6·1 answer
  • Write a function called printbackwards() that will work with a c++ string. the function will print any c++ string backwards. you
    6·1 answer
  • What's a good show to watch on Netflix?
    7·1 answer
  • Explain the term remote backup with examples.​
    5·1 answer
  • When using Microsoft word, what would happen to the text of a paragraph if the "Justify" option is used?
    9·1 answer
  • In a circular linked list the last node points to the____ node.
    5·1 answer
  • There are three managerial skills listed that a good administrative medical assistant (MAA) should prosses
    7·1 answer
  • Assume that name has been declared suitably for storing names (like "Misha", "Emily" and "Sofia"). Assume also that stdin is a v
    9·1 answer
  • What can a Word user do with the Customize Ribbon dialog box? Check all that apply.
    7·1 answer
  • Refer to the exhibit. A company is deploying an IPv6 addressing scheme for its network. The company design document indicates th
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!