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
4vir4ik [10]
3 years ago
15

Assuming we are using the Hamming algorithm presented in your text and even parity to design an error-correcting code, find the

code word to represent the 8-bit information word 10011011
Computers and Technology
1 answer:
Rudik [331]3 years ago
3 0

Answer:

Before redundancy :100101011100

After checking parity redundancy: 100101010011

Explanation:

First calculate redundant bits ,

We know that the number of redundant bits can be calculated using the following formula:

2^r ≥ m + r + 1

r = redundant bit, m = data bit

total data bits = 8

so ,

2^4 ≥ 8 + 4 + 1

16 ≥ 13

so, redundant bits is 4

Now let they denoted by r1, r2, r4, and r8, as the redundant bits are placed at positions corresponding to power of 2:    1, 2, 4, and 8.  

All the redundant bits are initialized by zero.

For the data word 10011011, we can let  the bits of the data word as  w8,w7, w6, w5, w4, w3, w2, w1

Now , put data bits and redundancy bits  as follows.

d12  d11  d10  d9  d8   d7  d6  d5  d4  d3  d2  d1

w8   w7  w6  w5   r8  w4  w3  w2 r4   w1   r2  r1

 1      0    0      1      0     1     0     1    0    0    0   0

r1 = d1  xor  d3  xor d5  xor d7  xor  d9  xor d11

r1 =  0  xor  0  xor 1  xor 1  xor  1  xor 0

r1 =  1

r2 = d2  xor  d3  xor d6  xor d7  xor  d10  xor d11

r2 = 0  xor  0  xor 0  xor 1  xor  0  xor 0

r2 = 1

r4 = d4  xor  d5  xor d6  xor d7  

r4 = 0  xor  1  xor 0  xor 1

r4 = 0

r8 = d8  xor  d9  xor d10  xor d11   xor d12

r8 = 0  xor  1  xor 0  xor 0 xor  1

r8 = 0

So, the data transferred is

d12  d11  d10  d9  d8   d7  d6  d5  d4  d3  d2  d1

w8   w7  w6  w5   r8  w4  w3  w2 r4   w1   r2  r1

 1      0    0      1      0     1     0     1    0    0    1   1

The bits give the binary number as 0011 whose decimal representation is 3. Thus, the bit 3 contains an error. To correct the error the 3th bit is changed from 1 to 0.

You might be interested in
You're making great progress on your assignment. You've defined the purpose of your message, identified both the primary and sec
Varvara68 [4.7K]

The most effective way to convey your marketing message is to use the channel and media most used by your potential audience.

To discover the most effective channels and means to reach your audience, market research, online traffic study and other strategies to identify the habits and customs of your target market can be carried out.

A marketing message must be written in a way that engages consumers, creates value and desire for your product or service.

Relationship marketing is a strategy used by companies to create greater proximity and identification of the public with an organization through messages that generate greater value than just advertising, such as the use of blogs, tips, humor elements and other ways to engage the consumer to relate to the company in the language and perspective of the media where the message was conveyed.

The message effectiveness monitoring program is also essential for analyzing the effect of advertising on consumers, through publication traffic, number of visits, hours, number of clicks on the page, etc.

These message tracking programs are effective so that the marketing team can analyze, review and improve their communication through the data and information obtained.

Learn more here:

brainly.com/question/3100288

7 0
2 years ago
Assume that nextWord is a String variable that has been given a String value consisting entirely of letters. Write some Java cod
wel

Answer:

The code example is given below with explanation in c++ language.

Explanation:

Comments will explain what's going on in the code. Below code is already compiled and tested.

#include <time.h>

#include <iostream>

#include <sstream>

using namespace std;

int main(void)

{

//defining start and end time variable

// which will be used to break the infinte loop

   time_t endwait;

   time_t start = time(NULL);

   time_t seconds = 3; // end loop after this time has elapsed

cout<<"Input your number :";

long userNum;

cin>> userNum;

// initializing end time by adding seconds with start time

   endwait = start + seconds;

   // defining outputString which will concatenate all the  

   // divisible numbers in loop

string outputString="";

// bool isCompleted will use to check whether our  

// loop breaks successfully or time is expired.

bool isCompleted=true;

// iterate loop until it comes to 1. as in loop

// the program already displayed the 1 value.

   while (userNum>1)

   {  

  // checking start and end time comparison to  

  // break the infinite loop after some seconds

    if(start >= endwait){

     cout<< "Program end never reached.";

     isCompleted=false;

     break;

 }

 

    userNum=userNum/2;

   // defining stringstream to convert from long to string

    stringstream longToString;

    longToString<<userNum;

  // concatenating all the values

    outputString = outputString + longToString.str()+" ";

   // re initializing the start time with current time.

       start = time(NULL);

   }

   

  // check if while loop breaks successfully then print the

   // series of numbers here.

   if(isCompleted) {

    cout << outputString;

}

   return 0;

}

8 0
3 years ago
Which of the following is considered both an input and output peripheral? Keyboard, Microphone, Speaker, Touchscreen monitor
Aleks04 [339]
Touchscreen monitor.
6 0
3 years ago
Read 2 more answers
Digital signatures are as legally acceptable as written signatures.
Leto [7]

Answer:

First point and the last point are the correct answer to the given question .

Explanation:

The main objective of the digital signature is to ensure the quality of the document or the message was not changed during the transfer of message in the network.

Following are the advantages of the digital signature

  • As compare to the electronic signature the digital signature is more secure then that of.
  • The signer's signature is seen on the digital signatures as the physical proof.
  • Global recognition, and the compliance with the law.

All the other options are incorrect they are not advantage of the digital signature .

4 0
3 years ago
What is the target audience for this poster?
bija089 [108]

Answer:

there is no car on a bus a bus is one long vehicle

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • What operating system type uses icons to represent programs
    9·2 answers
  • Discuss two advantages and two disadvantages of agile methods.
    6·1 answer
  • Which of these is the proper flow for an Auto Trans cooling system?
    7·2 answers
  • Provide the instruction type, assembly language instruction, and binary representation of instruction described by the following
    7·1 answer
  • Which of the following operating systems is able to join a domain a) Microsoft office pro b) Microsoft surface R.T. c) google an
    9·2 answers
  • Write a method for the Customer class that that will return a string representing a bill notice when passed a double value repre
    14·1 answer
  • True or False. A compact disc (CD) stores music in a coded pattern of tiny pits 10−7m deep. The pits are arranged in a track tha
    9·1 answer
  • Identifies the row and column that forms the cell
    11·1 answer
  • Write a loop that sets newScores to oldScores shifted once left, with element 0 copied to the end. Ex: If oldScores = {10, 20, 3
    14·1 answer
  • define a computer, state its 3 main activities with examples of the functions of each of those activities​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!