Site navigation

If `cat x` prints garbage, then x is probably a

Question and options

If `cat x` prints garbage, then x is probably a
  1. data file
  2. binary file
  3. text file
  4. source file

Answer and explanation

Correct answer: B - binary file
cat prints raw bytes; a binary file contains non-printable bytes, so the output looks like garbage.

Practice for these exams

  • CUSAT CAT M.Sc. Forensic Science

  • Uttarakhand Judicial Services

    Subject revision

Related question papers

Related exam syllabi

More solved explanations in Computer fundamentals