subject

Error-correcting polynomials
(a) alice has a length 8 message to bob. there are 2 communication channels available. when n packets are fed through channel a, the channel will only deliver 5 packets (picked at random). similarly, channel b will only deliver 5 packets (picked at random), but it will also corrupt (change the value) of one of the delivered packets. each channel will only work if at least 10 packets are sent through it. using each of the 2 channels once, how can alice send the message to bob?
(b) alice wishes to send a message to bob as the coefficients of a degree 2 polynomial p. for a message [m1,m2,m3], she creates polynomial p = m1x^2 +m2x+m3 and sends 5 packets: (0,p(,p(,p(,p(,p( however, eve interferes and changes one of the values of a packet before it reaches bob. if bob receives(03), and knows alice’s encoding scheme and that eve changed one of the packets, can he still figure out what the original message was? if so find it as well as the x-value of the packet that eve changed, if not, explain why he can not. (work in mod 11.)
(c) alice decides that putting the message as the coefficients of a polynomial is too inefficient for long messages because the degree of the polynomial grows quite large. instead, she decides to encode the message as values in a degree 2 polynomial. for a 5 length message [m0,m1,m2,m3,m4], she creates a degree 2 polynomial p such that p(0) = m0,p(1) = m1,p(2) = m2,p(3) = m3,p(4) = m4. (alice makes sure to choose her message in such a way that it can be encoded in a polynomial of degree 2.) she then sends the length 5 message directly to bob as 5 packets: (0m4). eve again interfere and changes the value of a packet before it reaches bob. if bob receives(00) and knows alice’s encoding scheme and that eve changed one of the packets, can he still figure out what the original message was? if so find it as well as the x-value of the packet that eve changed, if not, explain why he can not. (work in mod 11.)
(d) after getting tired of decoding degree 2 polynomials, bob convinces alice to send messages using a degree 1 polynomial instead. to be on the safer side, alice decides to continue to send 5 points on the polynomial even though it is only degree 1. she encodes and sends a length 5 message in the same way as part (c) (except using a degree 1 polynomial). eve however, decides to change 2 of the packets. after eve interferes, bob receives (0,−,−, ,−,5). if alice sent (0,−,−,,3), (4,5), for what values of x will bob not be able to uniquely determine the alice’s message? (assume bob knows that eve changed 2 of the packets and work in mod 13.)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
This isn’t really school related, but like where the heck can you find manga, to read to where you don’t have to pay money, for points? my friend wants me to read bj alex, and i can’t find it anywhere for free.
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
Error-correcting polynomials
(a) alice has a length 8 message to bob. there are 2 communicati...
Questions
question
Mathematics, 27.06.2019 16:00
question
Mathematics, 27.06.2019 16:00
question
Biology, 27.06.2019 16:00