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
kirill115 [55]
3 years ago
14

What is the binary answer to the binary number 100 added to the binary number 11?

Computers and Technology
2 answers:
olasank [31]3 years ago
6 0
I will use 0b to refer to binary numbers: ex: 0b1 = 1, 0b10 = 2

0b100 = 4 and 0b11 = 3

4+3 = 7

convert 7 to binary and you get 111.

Hope this helps, and May the Force Be With You!
<span>-Jabba</span>

sladkih [1.3K]3 years ago
6 0

Answer:

111

Explanation:

ok i'm just gonna use _2 as binary

so 100_2 = 1x2^2 + 0x2^1 + 0x2^0 = 4

and 11_2 = 1x2^1 + 1x2^0 = 3

so 3+4=7 in base 10

7_10= 111_2

You might be interested in
Matching parentheses. An math expression may have a number of parentheses like (, ), [, ], { and }. Each openning parenthesis (,
Solnce55 [7]
C++ Code

#include
using namespace std;

bool match(const char exp[],const int s)
{
// declare a character array to perform stack operations
char stack[s];

// declare top and initialize to -1 and flag to 0
int top=-1,i,flag=0;

// visit all characters in the expression string
for(i=0;i {
// if the character is [ or ( or { then push it into stack
if(exp[i]=='[' || exp[i]=='(' || exp[i]=='{')
{
top++;
stack[top]=exp[i];
}
// if the character is ] or ) or } then check conditions
else if(exp[i]==']' || exp[i]==')' || exp[i]=='}')
{
// check stack is empty or not
if(top!=-1)
{
// check all possible failure conditions
if(exp[i]==')' && (stack[top] == '{' || stack[top]=='['))
{
flag = 1;
break;
}
else if(exp[i]==']' && (stack[top] == '{' || stack[top]=='('))
{
flag = 1;
break;
}
else if(exp[i]=='}' && (stack[top] == '(' || stack[top]=='['))
{
flag = 1;
break;
}
top--;
}
else
{
flag=1;
break;
}
}
}
// after visiting all characters of expression string check if stack is not empty and flag is 1. if any one of the condition is true return false. otherwise return true

if(top>=0 || flag==1)
return false;
else
return true;
}

int main()
{

// declare character array to store expression
char exp[10000];
cout<<"Enter an Expression"<
// read expression from user
cin.getline(exp, 10000);
int s=0;

// find the length of the expression string
for(int i=0;exp[i]!='\0';i++)
{
s++;
}

// call the match function
bool status = match(exp,s);

// print the result based on value returned by match() function
if(status == 1)
cout<<"true"< else
cout<<"false"<
}


Sample Input/Output is attached

3 0
2 years ago
Why is it important for students to be able to easily spot when a source of information is suspicious?
Kisachek [45]

Answer:

i dont know but ok

Explanation:

3 0
3 years ago
What feature could you use to automatically shade cells containing a negative value in red ?
miss Akunina [59]
You can use conditional formatting 
3 0
3 years ago
Read 2 more answers
How do printers work.
natulia [17]
This question really depends on the type of printer device. There are the following kinds of printers:
Inkjet
Laser
Thermal
Dye Sublimation
Dot Matrix
Solid Ink

Each of these types of printers print in very different ways. I'm not going to get into depth about all of them, as that would take too much time. But what I can do is explain to you what a logical printer object is. So when you think of a printer, you think of the actual printer hardware. However, there are three distinct parts to a printer. These three parts are: the <em>print device, the driver, and the spooler</em>. Essentially what happens is that these three components communicate with one another in order to complete print jobs. So lets say I have a wireless network laser printer which is connected to a wireless access point, along with three other workstations. Then let's say that those three workstations want to send print jobs to the network printer. What happens is that all of those print jobs are <em>spooled</em>, meaning they are placed into a print queue. The driver then takes print jobs out of the print queue at the printer object's leisure. The driver then encodes the data from the print job into a language which the print device can understand, an example being PostScript. Then the driver sends that print job to the print device, and depending on what kind of printer you have, the method in which that print job is completed varies.
7 0
3 years ago
Read 2 more answers
Which one of these is an example of unnecessary debt?
Alex73 [517]
C. you charge clothes you don’t really need on a high-interest store card

hope this helps :)
7 0
3 years ago
Read 2 more answers
Other questions:
  • Recording relative positions should reduce total programming time true or false
    7·1 answer
  • Selecting the option to control Widows and Orphans will prevent _________. A single line from appearing at the top or bottom of
    10·1 answer
  • A Game Object must have a Transform<br><br> True<br><br> False
    5·1 answer
  • 2. What type of expansion card allows your computer to
    12·1 answer
  • HELP ASAP
    9·1 answer
  • 1. If an F# function has type 'a -&gt; 'b when 'a : comparison, which of the following is not a legal type for it? Select one:
    14·1 answer
  • Requirements description:
    6·1 answer
  • Write one for loop to print out each element of the list several things. then write another for loop
    5·1 answer
  • Leo needs to consolidate data in multiple worksheets by performing a calculation across all worksheets on the same cells.
    12·2 answers
  • Write a function called play_round that simulates two people drawing cards and comparing their values. High card wins. In the ca
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!