Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.24 KB

File metadata and controls

43 lines (35 loc) · 1.24 KB

Post Exercise Questions

  1. The physical file in the whole exercise is

    • A. The paper on which you wrote the words
    • B. The JPG image file
    • C. The Text file
    • D. All the above
  2. The human-readable files are

    • A. The physical paper and Text file
    • B. The JPG file and Text file
    • C. None of the above
  3. The binary files are

    • A. JPG or image file
    • B. The OCR or text file
    • C. The physical paper
    • D. None of the above
  4. The text files are

    • A. The .txt file
    • B. The .jpg file
    • C. Both the above
  5. How many symbols did you write on paper? Does it match with the count generated by the hand.c program?

Comand line arguments

  1. When the compiled program (hand.exe) is executed as hand.exe podcast.txt it

    • A. It does not execute
    • B. Reports the count of characters in podcast.txt
    • C. It does nothing
  2. When the compiled program (hand.exe) is executed as hand.exe it

    • A. Reads the file hand.txt and prints the count
    • B. Prints an error message if the hand.txt file does not exists
    • C. Both of the above
  3. Do the count values for both your python and C programs match? If they don't, what is the reason?