Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following indicates a PNG file signature ?

  • A.FF D8 FF E0
  • B.50 4B 03 04
  • C.89 50 4E 47
  • D.None of these

Answer: C

The PNG signature is 89 50 4E 47.

Every PNG file begins with the eight bytes 89 50 4E 47 0D 0A 1A 0A. After the non-ASCII byte 89, the next three bytes are the ASCII letters P N G. Forensic tools use such signatures (magic numbers) to identify files whatever their extension.

FF D8 FF E0 is the start of a JPEG file in JFIF format. 50 4B 03 04 spells 'PK' and marks a ZIP archive, which also covers DOCX, XLSX, JAR and APK files. So 'None of these' is wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.