Question

In: Computer Science

24. Determine whether each of the P-boxes with the following permutation table is a straight P-box,...

24. Determine whether each of the P-boxes with the following permutation table is a straight P-box, a compression P-box, or an expansion P-box. Detail your reason.    

a). P-box:   

1 1 2 3 4 4

b). P-box:

1 3 5 6 7

Solutions

Expert Solution

Solution:-

The first P box permutation is a compression P box.

And the second P box is expansion P box.

Explanation -

As given in question the first P box takes 6 input digits which are 1 1 2 3 4 4 and produces five output digits which are 1 3 5 6 7. So first P box is a compression P box.

The second P box if we consider in opposite direction. Then it is an expansion P box. As it take five input digits from second P box which are 1 3 5 6 7 and produces six output digits which are 1 1 2 3 4 4. So it is expansion P box, if we consider it working in opposite direction.

permutation box (or P-box) is a method of bit-shuffling used to permute or transpose bits. P-boxes are typically classified as compression, expansion, and straight, according as the number of output bits is less than, greater than, or equal to the number of input bits.

1) Straight P box are that takes n bit as input and produces m bits as output and n = m.

2) Compression P box are that takes n bit as input and produces m bits as output and n > m.

3) Expansion P box are that takes n bit as input and produces m bits as output and n < m.


Related Solutions

Two cardboard boxes full of books are in contact with each other on a table. Box...
Two cardboard boxes full of books are in contact with each other on a table. Box H has twice the mass of box G (20 kg). If you push on box G with a horizontal force 250 N, then box H will experience a force of (assume a smooth surface)
There are 5 boxes. One box is empty; two boxes each contains one marble; and the...
There are 5 boxes. One box is empty; two boxes each contains one marble; and the remaining two boxes each contains two marbles. Suppose that the colors of the marbles are not known, but it is known that each marble can only be either red or green, with equal probability. Suppose that ONE box is randomly chosen from the 5 boxes, and let R denote the number of the red marble(s) the box has, and G be the number of...
6) There are 5 boxes. In each box there are 5 tickets labelled with the numbers...
6) There are 5 boxes. In each box there are 5 tickets labelled with the numbers 1,2,3,4,5. An experiment is to draw one number at random from each of the five boxes. Calculate the following probabilities using a calculator, but show some work. a) P(no two numbers alike). b) P(exactly two alike). (example 11234) c) P(exactly three alike). (example 11123) d) P(exactly four alike). (example 11112) e) P(two pair). (example 11223) f) P(the number 4 comes up at least once)
Using a truth table determine whether the argument form is valid or invalid p ∧ q...
Using a truth table determine whether the argument form is valid or invalid p ∧ q →∼ r p∨∼q ∼q→p ∴∼ r
decide whether each object is a permutation or a combination 27 , an automobile license plate...
decide whether each object is a permutation or a combination 27 , an automobile license plate number . 28 , an internet password
Q1) Determine whether each of the compound proposition is satisfiable. (p ∨ q ∨ r) ∧...
Q1) Determine whether each of the compound proposition is satisfiable. (p ∨ q ∨ r) ∧ (p ∨ ¬q ∨ ¬s) ∧ (q ∨ ¬r ∨ s) ∧ (¬p ∨ r ∨ s) ∧ (¬p ∨ q ∨ ¬s) ∧ (p ∨ ¬q ∨ ¬r) ∧ (¬p ∨ ¬q ∨ s) ∧ (¬p ∨ ¬r ∨ ¬s) Q2) Negate the following statements, no negation symbol before quantifiers. 1) ∃x∃y(Q(x, y) ↔ Q(y, x)) 2) ∀y∃x∃z(T (x, y, z) ∨ Q(x,...
Required For each of the following events, determine the amount of freight paid by The Box...
Required For each of the following events, determine the amount of freight paid by The Box Company. Also indicate whether the freight cost would be classified as a product or period (selling and administrative) cost. Purchased inventory with freight costs of $1,900. The goods were shipped FOB shipping point. Sold merchandise to a customer. Freight costs were $2,200. The goods were shipped FOB shipping point. Purchased merchandise inventory with freight costs of $2,800. The merchandise was shipped FOB destination. Shipped...
Determine the electron configuration and whether each of the following is paramagnetic. Also, determine if the...
Determine the electron configuration and whether each of the following is paramagnetic. Also, determine if the complex undergoes a Jahn-Teller distortion. 1. [Fe(CN)6]4- 2. [Fe(CN)6]3- 3. [Co(H2O)6]3+ 4. [CoF6]3- 5. [Ni(CO)6]2+
Company produces and sells 90,000 boxes of specialty foods each year. Each box contains the same...
Company produces and sells 90,000 boxes of specialty foods each year. Each box contains the same assortment of food. The company has computed the following annual costs: Cost Item Total Costs Variable production costs $630,000 Fixed production costs 470,000 Variable selling costs 180,000 Fixed selling and administrative costs 170,000 Total costs $1,450,000 Mendenhall normally charges $ 30 per box. A new distributor has offered to purchase 9,000 boxes at a special price of $ 27 per box. Mendenhall will incur...
Consider the equations for the following​ straight-line supply curves. In each​ case, p is the price​...
Consider the equations for the following​ straight-line supply curves. In each​ case, p is the price​ (measured in dollars per​ unit) and QS is the quantity supplied of the product​ (measured in thousands of units per​ month). Supply​ A: pQSA​, and Supply​ B: pQSB a. Plot each supply curve on a scale diagram. In each​ case, plot point​ 1, which corresponds to price equal to​ $20, and point​ 2, which corresponds to price equal to​ $40. ​1.) For each supply​...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT