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
UNO [17]
3 years ago
8

Assume a flash memory can have 6 levels {0, 1, 2, 3, 4, 5} and the errors can be of limited value of magnitude 1 (i.e. a digit a

t level i can change to level (i 1) (mod 6)). With one digit we can choose {0, 2, 4} as the codewords to have a perfect error correcting code of limited magnitude 1. With two digits, what is the maximum number codewords in a limited mag- nitude 1 perfect error correcting code
Engineering
1 answer:
Elena-2011 [213]3 years ago
6 0

Answer:

Explanation:

/* General Code for achieving perfect error for any level and any

digit of codewords*/

#include<iostream>

using namespace std;

int main(){

  int level;

  //Input memory levels.

  cout <<" Enter number of Flash Memory levels : ";

  cin>>level;

  //construct array store levels.

  int lvl[level];

  for(int i = 0; i < level; i++){

      //assign levels name

      lvl[i] = i;

  }

  int digit;

  cout << "Enter number of digit codewords :";

  //Taking input of codeword digits

  cin >> digit;

  for(int i = 0; i < level;){

      //output Codeword

      cout << lvl[i];

      //Skipping for n number digit codeword in level

      i+=(digit+1);

     

  }

 

}

/*

a) i from 0 to (i = i+(2+1))<levels

b) for length (1) -> 3 codewords

  codewords -> {0,2,4}

for length (2) -> 2 codewords

codewords -> {0,3}

*/

You might be interested in
12. What procedure should you follow when taking measurements?
OlgaM077 [116]
I think the answer is b
8 0
2 years ago
Pie charts should have no more than eight segments. True or False?
Pepsi [2]

Answer:

Explanation:

Pie charts generally should have no more than eight segments.

6 0
3 years ago
Read 2 more answers
A material point in equilibrium has 1 independent component of shear stress in the xz plane. a)True b)- False
ozzi

Answer:

True

Explanation:

For point in xz plane the stress tensor is given by\left[\begin{array}{ccc}Dx_{} &txz\\tzx&Dz\\\end{array}\right]

where Dx is the direct stress along x ; Dz is direct stress along z ;  tzx and txz are the  shear stress components

We know that the stress tensor matrix is symmetrical which means that tzx = txz  ( obtained by moment equlibrium )

thus we require only 1 independent component of shear stress to define the whole stress tensor at a point in 2D plane

8 0
3 years ago
Water enters a boiler at a temperature of 110°F. The boiler is to produce 2000 lb/hr of steam at a pressure of 130 psia. How man
strojnjashka [21]
Yes it does the answer is no
5 0
2 years ago
Gas chromatography separates compounds depending on their__________ . Benzene, m-xylene, and toluene have similar_________ , the
amm1812

Answer and Explanation:

Gas chromatography separates compounds depending on their **polarity and volatility**. Benzene, m-xylene, and toluene have similar **polarities**, therefore, the main basis for separation is **volatility**. The more volatile a component the ** higher its vapor pressure**, hence the more time it spends in the **gaseous mobile phase**, giving it a **shorter** retention time. Therefore, components of a liquid mixture will elute in order of **increasing boiling points/decreasing volatilities/increasing polarities with the stationary phase**.

3 0
3 years ago
Other questions:
  • According to the zeroth law of thermodynamics, which of the following cannot occur?
    7·1 answer
  • Unless a structural element is intended to be battered, sloped, or cambered (or some other non-conforming position), wood, steel
    12·1 answer
  • 6
    5·1 answer
  • Should you ever grab a tool with expose wiring
    13·2 answers
  • Calculate pressure at the mid-plane of an annular cylinder of iron powder pressed using double-action press. The punch pressure
    12·1 answer
  • What is the maximum fine for knowingly refilling a disposable refrigerant drum?
    11·1 answer
  • If y varies inversely as x, and y =23 when x=8, find y when x=4
    14·1 answer
  • Name eight safety electrical devices including their functions and effects if not present.​
    15·1 answer
  • An agricultural manager requires
    12·1 answer
  • What could I do to make this bridge hold more weight without making it heavier? Lateral bracing and a design on the top will be
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!