File Formats#

File format comparison

Files#

Note

Some chapters or chapter sections will involve downloading paticular files onto your local computer. Typically, you’ll have the option to download these files individually, or as a compressed folder you’ll have to extract to access the contents.

Typically, these files will be in your computer’s Downloads folder. Prof. Walden recommends you move them to somewhere on your computer (or cloud, i.e. Google Drive) that you’ll be able to easily find and access.

For this section of the chapter, you’ll need to download three different files:

  • hello_world.txt

  • hello_world.rtf

  • hello_world.docx

File Downloads

Links to download each file:

To download all three files as a compressed folder:

Lecture#

Panopto logo File Formats

Key Concepts#

Comprehension Check#

Clipboard icon File Formats Comprehension Check
Clipboard icon File Formats Comprehension Check

Putting It All Together #

Digital sound represents another example of file formats and encoding in action. The image below shows a 16-bit sound sample.

Sound waves

Digital sound recordings are created by taking samples of sound at a specific rate. “CD quality” sound is sampled at 44.1 kHz (kilohertz) or 44,100 times per second. This means that 44,100 times per second, a program measures and records the height of a sound’s sound wave and then translates the height to a binary representation in 16-bits or 2 Bytes.

The important take away here is that any piece of information can be represented in bits and then interpreted by the computer. It’s not likely you will have to work with the machine at this level. For now, just know that behind the scenes everything that you input into the computer and everything that is outputted is at some point in the process a string of bits.