subject

CIS 3360–Security in ComputingSpring 2020HW #2Checksum (100points)In this assignment you'll write a program that calculates the checksum for the text in a file. Your program will take two command line parameters. The first parameter will be the name of the input file for calculating the checksum. The second parameter will be for the size of the checksum (8, 16, or 32 bits).The program must generateoutput to the console (terminal) screen as specified below.

Command Line Parameters

1.Your programmust compile and run from the command line.
2.The program executable must be named "checksum" (all lower case, no spaces or file extension).
3.Input the required file names as command line parameters. Your program may NOT prompt the user to enter the file names. The first parametermust be the name of the file used for calculating the checksum, as described below. The secondparametermust be the size, in bits, of the checksum. The sample run command near the end of this document contains an example of how the parameters will be entered.
4.Your program should open thetwo files, echo the processed input to the screen, make the necessary calculations, and then outputthe ciphertext to the console (terminal) screenin the format described below.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
You know the right answer?
CIS 3360–Security in ComputingSpring 2020HW #2Checksum (100points)In this assignment you'll write a...
Questions
question
Biology, 13.02.2022 05:00
question
Mathematics, 13.02.2022 05:00
question
Health, 13.02.2022 05:00
question
Mathematics, 13.02.2022 05:00
question
Mathematics, 13.02.2022 05:00
Questions on the website: 13722367