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
Mumz [18]
3 years ago
5

For this assignment you will write a crc integrity checking program will have two modes of operation. your program must implemen

t the crc calculation method involving long division by a polynomial that we discussed in lecture. in "calculation" mode, the program will calculate the crc-12 value for a given input string. in "verification" mode, the program will interpret the last 3 hex characters of an input string as a crc-12 value, and it will then determine whether this is the correct crc-12 value for the input string without those 3 characters. in both modes, the program must report header information, intermediate results, and final results as described further below. the mode and the input string to process will be supplied to your program as command line arguments. the program will be graded according to the grading rubric that appears at the bottom of this assignment.
Business
1 answer:
AVprozaik [17]3 years ago
3 0

Of course, some of the recorded functions will very likely invoke others of these functions. It is decent practice to reuse components instead of writing the same block of code in multiple places. Many logical errors can be evaded by doing so, and if any corrections are needed, they can be done conveniently in just one place.

Keep in mind that the basic idea is to break down the overall task into small pieces that can be developed (and tested) separately so you can build your program incrementally.

Program Output

The program must present output consisting of header information, intermediate results, and final results, as described separately below. Sample outputs follow in the next section.

Header Information

The header information should be written on distinct lines as shown in the sample outputs that follow. The individual lines are:

1. The program must first write a string of 62 hyphens (dashes) to serve as a separator, and then, 2 lines below it, the string "CIS3360 Fall 2017 Integrity Checking Using CRC", and then on the next line the string "Author: " followed by your name (or names, if teaming) and a newline.

2. The program must then write the string "The input string (hex): ", followed by the string value of the second command line input argument

3. The program must then write the string "The input string (bin): ", followed by the binary value of the second command line input argument, and then a newline.

4. The program must then write the string "The polynomial that was used (binary bit string): ", followed by the 13-bit binary value of the polynomial given at the top of this assignment with spaces every 4 characters to improve readability.

5. The program must then write the string "Mode of operation: ", followed by either the word "calculation" or "verification", depending on the value of the first command line input argument

6. The content of this line depends on whether the mode is calculate or verify.

a. If in calculation mode, this line should read: "Number of zeroes that will be appended to the binary input: 12"

b. If in verification mode, this line should read: "The CRC observed at the end of the input: ", followed by the binary and hex values for the last 3 hex characters of the input string, as shown in the sample outputs that follow.

Intermediate Results

This section will begin with the string: "The binary string difference after each XOR step of the CRC calculation", followed by a newline.

Following the above statement, this section will show on separate lines the results of each XOR step as described above, with spaces every 4 characters as shown to improve readability.

Note that for calculation mode, you must pad the binary version of the input string with 12 zeroes before you start the division procedure, but for confirmation mode you have two choices. The first step is to remove the last three hex characters demonstrating the observed CRC, in which case you must then pad the rest with 12 zeroes like you were calculating the CRC. The second step is to leave the detected CRC attached to the rest of the input, in which case you should not add zeroes for padding. The difference between these two choices determines how you will interpret the result in the bottom row of the intermediate results output.

<span> </span>

You might be interested in
If frank is researching the number of customers who have gluten or wheat allergies, and then he begins to devise a strategy to c
NARA [144]

If Frank is researching the number of those that have gluten or wheat allergies then he is involved in planning.

<h3>What is planning in business?</h3>

In the world of business, planning has to do with the setting of goals and objectives for the business and the various ways that the goals would be achieved.

Planning usually carries most of the ways that the business plans to achieve its set goals and objectives.

Read more on planning here:

brainly.com/question/24864915

5 0
3 years ago
The US Patent and Trademark Office (USPTO) is under the following Department: _____. A. Department of Commerce B. Department of
Tom [10]

Answer:

Department of commerce

Explanation:

8 0
3 years ago
If AD increases, which of the following will result? a. an increase in output and an increase in the price level.b. an increase
Bess [88]

Answer:

a. an increase in output and an increase in the price level.

Explanation:

If Aggregate Demand increases, this will result in an increase in output and an increase in the price because short run <u>aggregate demand measures total output for a single nominal price level</u>

<u>In the long-run, increases in aggregate demand cause the price of a good or service to increase. When the demand increases the aggregate demand curve shifts to the right. </u>

<u>Also, increased demand for a product in the long run will lead to increased output being supplied.</u>

The aggregate supply determines <u>the extent to which the aggregate demand increases the output and prices of a good or service. </u>

<u />

3 0
4 years ago
8.3 lbs $19.15 per pound Standard quantity per unit of output Standard price The following data pertain to operations concerning
Lady_Fox [76]

Answer:

С. $1,350.00 Favorable

Explanation:

The computation of the material price variance is shown below:

= Actual Quantity × (Standard Price - Actual Price)

= 9,000 × ($19.15 - $171,000 ÷ 9,000)

= 9,000 × ($19.15 - $19)

= 9,000 × $0.15

= $1,350 favorable

The actual price is computed below:

= Actual cost of materials purchased ÷ Actual materials purchased

= $171,000 ÷ 9,000

= $19

3 0
3 years ago
You want to have $18,000 in 9 years for a dream vacation. If you can earn an interest rate of .5 percent per month, how much wil
stiks02 [169]

Answer:

$10,503.59

Explanation:

This question requires us to find how much you have to deposit today if:

Fv = 18,000

Time = 9 years

PV= fv/(1 + i)^n

N = 9 X 12 = 108

I/y = 0.5%

PV = $18,000 / 1.005^108

= $10,503.59

Therefore what you have to deposit today is $10,503.59

5 0
3 years ago
Other questions:
  • Sound Audio manufactures and sells audio equipment for automobiles. Engineers notified management in December2018 of a circuit fla
    11·1 answer
  • Mall owners like to have __________ located along the walkways of their malls, because they create a marketplace type of atmosph
    13·1 answer
  • Scorcese Inc. is involved in a lawsuit at December 31, 2020.
    10·1 answer
  • _____ affects the perceptual process because employees are more likely to remember information that is consistent with their sel
    9·1 answer
  • In general, reducing the monthly payment (p) of a credit card but keeping the interest rate (i) and present value (pv) the same
    7·2 answers
  • Suppose that the Anytown city government asks private citizens to donate money to support the town's annual holiday lighting dis
    10·1 answer
  • Which one of the following stocks is correctly priced according to CAPM if the risk-free rate of return is 3.4 percent and the m
    13·1 answer
  • What is the best way to answer the question "tell me a little about yourself
    13·2 answers
  • The following information is related to Nash Company for 2020.
    10·1 answer
  • Suppose 70% of all companies are classified as small companies and the rest as large companies. Suppose further, 82% of large co
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!