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
maria [59]
3 years ago
10

Multiply 1101 and 0110 in binary.

Computers and Technology
1 answer:
mojhsa [17]3 years ago
5 0

Answer:

1101*0110=1001110

Explanation:

First, multiply like if you were multiplying normally, but keep in mind this:

1*0=0

0*0=0

0*1=0

1*1=1

You should get this result:

          1 1 0 1

         0 1 1 0 x

-------------------------

         0 0 0 0

      1  1  0  1  0

   1  1  0  1  0 0    

0 0 0 0 0  0 0

Now sum these terms:

        0 0 0 0

     1  1  0  1  0

  1  1  0  1  0 0    +

0 0 0 0 0  0 0

-------------------------

The first column, from the right:

0+0+0+0=0

The second column, from the right:

0+1+0+0=1

The third column, from the right:

0+0+1+0=1

The fourth column, from the right:

1+1+0=2,

2 in binary is 0010, so we put 0 and we carry the 1

The fith column from the right:

(because we carried the 1 from the previous sum)

1+1+0=2, so the same, we put 0 and we carry the 1

And finally the sixth column, from the right:

(because we carried the 1 from the previous sum)

1+0=1

So:

          1 1 0 1

         0 1 1 0 x

-------------------------

        0 0 0 0

     1  1  0  1  0

  1  1  0  1  0 0    +

0 0 0 0 0  0 0

-------------------------

1  0 0  1  1  1  0

Let's verify the results:

1101=2^{3} +2^{2} +0 +2^{0} =8+4+0+1=13

0110=0+2^{2} +2^{1} +0 =0+4+2+0=6

13*6=78

1001110=2^{6} +0+0+2^{3} +2^{2} +2^{1} +0=64+0+0+8+4+2+0=78

You might be interested in
What is communication ?? ​
maksim [4K]

Answer:

Communication is the act of giving, receiving, and sharing information

3 0
2 years ago
Read 2 more answers
Write the pseudo-code of an algorithm that returns the sum of all integers in a list of integers. You may use the Pascal-like ps
Arlecino [84]

Answer:

//variable integer_list to hold a list of integers

DECLARE integer_list

ASSIGN values to integer_list

//variable sum to hold the sum of the elements in the list

DECLARE sum

ASSIGN zero to sum

//loop through the integer_list and sum all it's elements together.

for(int i=0; i<integer_list.size(); i++){

sum += interger_list.get(i)

}

//Show the result of the addition from the for loop

DISPLAY "The sum is " + sum

Explanation:

The above code uses some hypothetical programming language syntax. The second and third lines declare an arbitrary integer list and assign a set of values to it respectively.  

The fifth line declares a variable "sum" which will hold the result of summing all the elements in the list. The sixth line initializes "sum" to zero.

The for loop shown iterates through the integer list cumulatively summing its elements.

The result is displayed as written on line 12.

Hope it helps!  

3 0
4 years ago
Hi guy how do i make money in app cuz im desperate for 1 right now​
Margarita [4]

Answer:

we need context

Explanation:

7 0
3 years ago
Read 2 more answers
You are implementing a new application control solution. Prior to enforcing your application whitelist, you want to monitor user
shepuryov [24]

Answer: Flag

Explanation:

When using an application control solution, it should be noted that the application whitelist is typically centrally defined which is applied to the network devices. In such case, the applications that are contained in the whitelist will be the only one that are allowed.

Therefore, the applications that are not contained in the whitelist should be flagged. This is necessary in order to effectively monitor the user traffic for a period of time in order to discover user behaviors.

5 0
3 years ago
Mix ‘em Let s1 and s2 be 2 c-strings of the same length. Write a function char* mixem(char*s1, char* s2) which returns a c-strin
Shkiper50 [21]

Answer:

See Explaination

Explanation:

#include <iostream>

#include <string.h>

using namespace std;

char *mixem(char *s1, char *s2);

int main() {

cout << mixem("abc", "123") << endl;

cout << mixem("def", "456") << endl;

return 0;

}

char *mixem(char *s1, char *s2) {

char *result = new char[1 + strlen(s1) + strlen(s2)];

char *p1 = s1;

char *p2 = s2;

char *p = result;

while (*p1 || *p2) {

if (*p1) {

*p = *p1;

p1++;

p++;

}

if (*p2) {

*p = *p2;

p2++;

p++;

}

}

*p = '\0';

return result;

}

5 0
3 years ago
Other questions:
  • PLEASE HELP I NEED RIGHT ANSWER!
    9·2 answers
  • How do you clean and maintain a mouse, keyboard, optical drive, computer display, and printers?
    7·2 answers
  • Write the definition of a function named printstarbucks that receives a non-negative integer n and prints a line consisting of n
    6·1 answer
  • Where could an identity theft access your personal information?
    9·2 answers
  • We cannot create a blank table true or false​
    8·1 answer
  • DigitalHealth Electronics Inc. is a company that builds diagnostic devices. It was the first company to develop a compact MRI sc
    13·1 answer
  • What is difference between reserved and user defined word
    9·1 answer
  • A program is
    7·1 answer
  • Peer collaboration helps develop critical-thinking skills, which is the ability to
    9·2 answers
  • Write the code to produce a for loop that counts down from 20 to 0 by 2’s and prints the number each time it goes through the lo
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!