Question

Add the bit strings in the first two columns of the following table and report the...

Add the bit strings in the first two columns of the following table and report the answer in the last column in binary notation.

Bit string 1

Bit string 2

Result of the addition in binary notation

110011

111111

1001101

1100001

1111101

1000111

110100

100000

1111100

1001110

Homework Answers

Answer #1

a) ['110011', '111111']
Adding 110011 and 111111 in binary
    110011
    111111
-----------
 (1)110010
-----------
Answer: 1110010

b) ['1001101', '1100001']
Adding 1001101 and 1100001 in binary
    1001101
    1100001
------------
 (1)0101110
------------
Answer: 10101110

c) ['1111101', '1000111']
Adding 1111101 and 1000111 in binary
    1111101
    1000111
------------
 (1)1000100
------------
Answer: 11000100

d) ['110100', '100000']
Adding 110100 and 100000 in binary
    110100
    100000
-----------
 (1)010100
-----------
Answer: 1010100

e) ['1111100', '1001110']
Adding 1111100 and 1001110 in binary
    1111100
    1001110
------------
 (1)1001010
------------
Answer: 11001010
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
For each number in base-10 notation in the leftmost column of the following table, find the...
For each number in base-10 notation in the leftmost column of the following table, find the alphabetical identifier of the binary string with the same value from the rightmost column and report these alphabetical identifiers in the middle column which is left blank for this purpose. DO NOT SHOW YOUR ANSWERS BY JUST DRAWING LINES CONNECTING ENTRIES IN THE FIRST AND THE THIRD COLUMNS. THERE WILL BE NO CREDIT FOR ANSWERS THAT DO NOT MENTION ALPHABETICAL IDENTIFIERS IN THE MIDDLE...
Concern the following 16-bit floating point representation: The first bit is the sign of the number...
Concern the following 16-bit floating point representation: The first bit is the sign of the number (0 = +, 1 = -), the next nine bits are the mantissa, the next bit is the sign of the exponent, and the last five bits are the magnitude of the exponent. All numbers are normalized, i.e. the first bit of the mantissa is one, except for zero which is all zeros. 1. How many significant binary digits do numbers in this representation...
write a subroutine at the end of the following code that will add two eight- bit...
write a subroutine at the end of the following code that will add two eight- bit number at data location 0x100 and 0x0200 and store the result in memory location x0x300?
1. Solve the following two " union " type questions: (a) How many bit strings of...
1. Solve the following two " union " type questions: (a) How many bit strings of length 9 either begin with 2 0s or end with 2 1s? (inclusive or) (b) Every student in a discrete math class is either a computer science or a mathematics major or is a joint major in these two subjects. How many students are in the class if there are 30 computer science majors (including joint majors), 20 math majors (including joint majors) and...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210,...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210, written in 2's complement notation. The eventual goal is to add these two numbers. 1) Look at the LSB bit of the numbers, and using logic gates (NANDs, NORs, etc.) design a circuit that correctly gives the right output for any possible combination of bits in the LSB place. 2) Now look at the next column to the left (next to LSB). In this...
IN C Consider the following function whose purpose is to return an array of 3 strings...
IN C Consider the following function whose purpose is to return an array of 3 strings that are initialized to the strings in the character arrays s1, s2, and s3: #include #include char** stringstoarray(char* s1, char* s2, char* s3) { // dynamically allocate space for the pointer array itself. char** strings = fill in the blank strings[ 0 ] = strdup(s1); // initialize first string strings[ 1 ] = strdup(s2); // initialize first string strings[ 2 ] = strdup(s3); //...
The next series of questions uses the following table. The table contains 5 columns: Quantity Q,...
The next series of questions uses the following table. The table contains 5 columns: Quantity Q, Price P, Total Revenue TR, Total Cost TC, and Total Profit. You are given the numbers for the 1st, 2nd, and 4th columns and must find the numbers for the 3rd column (Total Revenue) and the 5th column (Total Profit). I suggest completely filling out the table on a piece of paper. First, calculate total revenue at a quantity of 2. Quantity Q Price...
You need to write a permute class that will take first and second strings to rearrange...
You need to write a permute class that will take first and second strings to rearrange letters in first, followed by second. For example, if the first is “CAT” string and second is “MAN” string, then the program would print the strings TACMAN, ATCMAN, CTAMAN, TCAMAN, ACTMAN, and CATMAN. The first and second strings can be any length of string or a null. The permute class uses a Node class as link list node to link all letters arrangement. The...
Task 2: Compare strings. Write a function compare_strings() that takes pointers to two strings as inputs...
Task 2: Compare strings. Write a function compare_strings() that takes pointers to two strings as inputs and compares the character by character. If the two strings are exactly same it returns 0, otherwise it returns the difference between the first two dissimilar characters. You are not allowed to use built-in functions (other than strlen()) for this task. The function prototype is given below: int compare_strings(char * str1, char * str2); Task 3: Test if a string is subset of another...
VERILOG Design an Arithmetic Logic Unit (ALU) that can perform four-bit 1. Four-bit addition; 2. Four-bit...
VERILOG Design an Arithmetic Logic Unit (ALU) that can perform four-bit 1. Four-bit addition; 2. Four-bit subtraction; 3. Four-bit multiplication; 4. Four-bit comparator (that compares two binary numbers to check whether two numbers are equal, or one is less/greater than other). Write test benches and simulate each module/submodule. Hint: First make individual modules of the four-bit adder, four-bit subtractor, four-bit multiplier, four-bit comparator modules (make all these in same/one project) and then use a multiplexer to combine these modules to...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT