
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:An irreducible polynomial of degree 8 over GF(2) is given as f(x) =x+x+x'+x +1. This can
be used to define GF(2)=GF(256) which is frequently used to design a code over the ASCII
symbols consisting of 8 bits.
We will use the following notation, for a, e GF(2),
e ar + a,r+ ar ++ aa +a,
(A) Write a computer program of addition and multiplication for all the binary 8-tuples as above
and answer to the following questions:
(B) Find any member a in GF(256) with the property that a, a², a²̟., a5 are all distinct,
Calculate as al28, and a4.
ANSWER:
) :a binary 8-tuple
):a binary 8-tuple
):a binary 8-tuple
):a binary 8-tuple
a = (
a4 = (
a12 =(
ass = (
(C) Calculate the multiplications a a, att . atza, and a al0 using your program in (A).
Verify, for example, that a at = al+64 = ats, a*. a1zi - att12- al92 etc.
(D) Define a linear function g from GF(256) to itself such that g(x) = x for any x in GF(256).
Here, the linearity implies that g preserves two operations of the field.
That is, for any x,y in GF(256), we have
g(x + y) = g(x) + g(y) and g(x-y) = g(x) - gV).
Either prove that g is 1-1 or find a counterexample that g is NOT 1-1.
Either prove that g is onto or find a counterexample that g is NOT onto.
Report must contain your program source code and the answers to the above three problems.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps with 2 images

Knowledge Booster
Similar questions
- work and write the cosine function's taylor expansion (N=10) in C++ and compare the <cmath> with your version (see nartual exponent EXP() vs exp()). EQUATION ATTACHED. EXAMPLE: #include <iostream> #include <cmath> using namespace std; // lazy technique // Factorial Recursion. // https://en.wikipedia.org/wiki/Factorial // write the factorial function as a loop (iteration) // This might seem trivial, but people have researched this // this topic. Sterling series approximation // https://en.wikipedia.org/wiki/Stirling_approximation int fact(int N) { if (N == 0) return 1; else return N * fact(N - 1); } // taylor series approximation for the // natural exponent 2.718... which is abbreviated as exp. double EXP(double x) { double sum = 0.0; for (int i = 0; i < 10; i++) sum += pow(x, i) / fact(i); return sum; } // dummy--aka place holder--functions. double SIN(double x) { return 1; } double COS(double x) { return 0; } int main() { std::cout << "e-World!\n"; for…arrow_forwardAlice, a friend of Mr. Bernard’s, wants to compose a song. She asks Mr. Bernard for help. Although Mr. Barnard knows nothing about music, he finds that the sequence of notes in a numbered musical notation can be expressed as an FSM with input the alphabet {1, 2, 3, 4, 5, 6, 7} (“do”, “re”, “mi”, “fa”, “so”, “la”, “ti”). Alice wants to compose a song that contains the pattern “15” an even number of times. Please draw an FSM that only accepts a sequence of notes that satisfies the above pattern. Note that you should provide a detailed description of the FSMs in your design to show how it works. Specifically, you should describe the meaning of each state.arrow_forwardPlease explain your solutionarrow_forward
- IN PYTHON I want a code in python and no need to post work on paper Iwant a screenshot of the code A tridiagonal matrix is one where the only nonzero elements are the ones on the main diagonal and the ones immediately above and below it.Write a function that solves a linear system whose coefficient matrix is tridiag- onal. In this case, Gauss elimination can be made much more efficient because most elements are already zero and don't need to be modified or added. As an example, consider a linear system Ax = b with 100,000 unknowns and the same number of equations. The coefficient matrix A is tridiagonal, with all elements on the main diagonal equal to 3 and all elements on the diagonals above and below it equal to 1. The vector of constant terms b contains all ones, except that the first and last elements are zero. You can use td to find that x1= −0.10557. The following code format should help: def td(l, m, u, b): '''Solve a linear system Ax = b where A is tridiagonal Inputs: l,…arrow_forward5. Find a closed form representation for the function defined recursively by f(0) = 5 and f(n+1)=2f(n)+4". Prove that your representation is correct using an inductive argument.arrow_forwardWrite a fraction calculator program that adds, subtracts, multiplies, and di-vides fractions. Your program should check for the division by 0, have and use the following functions (a) reduce - reduces a given fraction.(b) flip - reduces a given fraction and flips the sign if the denominator is negative.(c) add - finds the reduced sum of a pair of given fractions.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education