Question

E-Cube algorithm:

1. for source A and destination B, result = A XOR B

2. for each non-zero bit in the result starting from the least significant (right most) travel along that dimension

Using the above algorithm give the sequence of hops, node by node, for the following source and destinations on this hypercube:

AQ3 ю. AQ r000 1001 0010 101p.. 001 1011 1100, 1101 0110 Ц10

1.0000→1111

2.1111→0000

3. 0101→1010

4. 1100→1000

5. 0001→1000

6. 0010→1111

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANS:

Consider the hypercube shown in Figure , let Ps = 0000 and Pd = 1111 represent the source and destination nodes for a message. Node Ps computes 0000 XOR 1111 = 1111. In the first step, Ps forwards the message along the dimension corresponding to the least significant bit to node 0001. Node 0001 sends the message along the dimension corresponding to the most significant bit (0001 XOR 1111 = 1110). The message reaches node 0011.Node 1100 sends the message along the dimension corresponding to the most significant bit (1100 XOR 1111 = 1100).The message reaches node 0111. Node 0111 sends the message along the dimension corresponding to the most significant bit (0111 XOR 1111 = 1000).The message reaches the node 1111. which is the destination of the message.

1Ans ourte Destination 0000 II Step 43 fip the bit frst hap Step 28 flfp tit Second hop flp th bit- gra hop Aip thi bit xor 1 th hop DeHination hop 0000-9(0001)_→ (o011) hop Detinedion 2 →(01 11)→91 11

Add a comment
Know the answer?
Add Answer to:
E-Cube algorithm: 1. for source A and destination B, result = A XOR B 2. for...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • We have learned a famous shift cipher called Caesar Cipher. Now if we are given a...

    We have learned a famous shift cipher called Caesar Cipher. Now if we are given a plain test: THE ART OF WARAnd key = 3 (a shift by 3 letters), please give the ciphertext Given an 8 bit block P = 10101111 and a key K = 01101011, please give the result of bitwise XOR between P and K Please give the left 2 shift of the 8 bit text 01100101 Use the given a permutation table 23614857 to define...

  • Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3...

    Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 How many 1/0 of Port-D? How many usable 1/0 of Port-D, if Serial-Communication is in-used? What is the Arduino's pin assignment of ATMEL's PC5, PB3, & PD1*? What is the ATMEL's pin assignment of Arduino's D13*, D1, & D19? To complete the table about Number System Conversion (shown your step) 6 6 0110 7 7 0111...

  • Base no bit 0 0 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits...

    Base no bit 0 0 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for segment no and 13 bits for offset. Segment table of the currently running process is given below: a) (5) How many segments can this Segment Present Modify Length process have at maximum? bit 0 00100 0111 0000 0100 0000 1000 0100 b) (15) Convert the following logical 10100 0100 0001 0010 0010 1100 1000 address to physical (real) address. 2 01100 0100 0000...

  • COMPUTER ARCHITECTURE QUESTION 1. Calculate 2*14 using the optimized algorithm for integer multiplication learned in the...

    COMPUTER ARCHITECTURE QUESTION 1. Calculate 2*14 using the optimized algorithm for integer multiplication learned in the class. Write the solution in a tabular form as shown in the course slides. Here we assume both integers are in 4 bits. THIS IS THE TABULAR FORM EXAMPLE SHOWN IN COURSE SLIDE: Example multiplicand register next action (MD) product register (PR) 0000 0101 1001 LSB of PR is 1, so PR[7:4]=PR[7:4]+MD 1001 1001 0101 shift PR 1001 0100 1010 LSB of PR is...

  • I think you are actually doing binary to hex. please do this without loops and you...

    I think you are actually doing binary to hex. please do this without loops and you can use recursion. please write a working C code. Thanks Write a loop-less function to convert from Hex to Binary. (HINT: Use a helper function/recursion) binHex[16] [5] {"0000", "O001","0010","0011","0100" ,"0101", "0110", "0111", "1000", "1001" , "1010", "1011", "1100", "1101", "1110" 1 const char = s char hexToBinary ...) 7

  • DO bit 0 1 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for...

    DO bit 0 1 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for segment no and 13 bits for offset. Segment table of the currently running process is given below: a) (5) How many segments can this Segment Present Modify process have at maximum? Length bit Base 0 0 0 0100 0111 0000 0100 0000 1000 0100 b) (15) Convert the following logical 1 1 0100 0100 0001 0010 0010 1100 1000 address to physical (real) address...

  • Please show work! 2. Now, give it a try by converting the binary number 01110110 to...

    Please show work! 2. Now, give it a try by converting the binary number 01110110 to decimal by filling in the same table in step 1 r of 2 Pov 128 64 32 16 Cumulative Amount 4. Now, you give it a try by converting the decimal number 131 to binary by filling in the table Power of 2 128 32 16 Bit Amount Remaining 6. Use the binary to hexadecimal table to convert the binary number 01101111 to hexadecimal...

  • HW3: Problem 1: (first, study the example-1 in page-6) A computer uses 8-bit for FLP (1...

    HW3: Problem 1: (first, study the example-1 in page-6) A computer uses 8-bit for FLP (1 bit for sign, 4 bit for exponent with excess-7 rep. (see table below), rest for magnitude). Assume 0000 and 1111 in exponent field are reserved for denormalization. 6 Decimal 0 Unsigned 0000 Excess-7 Reserved used as -6 in unnormalized 1 0001 -6 2 0010 -5 3 0011 -4 4 0100 -3 5 0101 -2 0110 -1 7 0111 0 9 Decimal 8 Unsigned 1000...

  • 1. Implement this ALU in VHDL: a (7:0) b (7:0) Logic Unit Mux y (7:0) Arithmetic...

    1. Implement this ALU in VHDL: a (7:0) b (7:0) Logic Unit Mux y (7:0) Arithmetic Unit sel (3) cin sel (3:0) Function Transfera Increment a Decrement a Transfer b Increment b Decrement b Add a and b Add a and b with carr Complement a Complement b AND OR NAND NOR XOR Se eration Unit 0001 0010 0011 0100 0101 01 10 | y <= a+b 0111 1000 | y<= 1001| y<= NOT b 1010 | y<= a AND...

  • Problem 1 (5 points) A coin is flipped four times. Assume that each of the sixteen...

    Problem 1 (5 points) A coin is flipped four times. Assume that each of the sixteen possible outcomes {0000, 1000, 0100, 1100, 0010, 1010, 0110, 1110, 0001, 1001,0101, 1101,0011, 1011, 0111, 1111} are equally likely. What is the conditional probability that all flips are heads, given the following information: (a) the first flip is heads? (b) the last flip is heads? (©) at least one flip is heads? (d) at least two flips are heads? (e) the first flip and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT