0
0
Intro to Computingfundamentals~20 mins

File types and associations in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
File Types Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:00remaining
Understanding File Extensions and Their Associations

Which of the following file extensions is most commonly associated with a plain text file that can be opened by most text editors?

A.txt
B.exe
C.jpg
D.mp3
Attempts:
2 left
💡 Hint

Think about the file type that contains only readable characters without special formatting.

trace
intermediate
1:30remaining
File Association Behavior on Opening

When you double-click a file named report.pdf on your computer, which program is most likely to open it by default?

AA PDF reader application
BA web browser
CA spreadsheet program
DA text editor
Attempts:
2 left
💡 Hint

Consider the program designed specifically to open files with the .pdf extension.

identification
advanced
2:00remaining
Identifying File Type from Binary Signature

You have a file without an extension. Its first four bytes in hexadecimal are 50 4B 03 04. Which file type does this signature most likely indicate?

APDF document
BZIP archive
CJPEG image
DMP3 audio
Attempts:
2 left
💡 Hint

These bytes are known as a 'magic number' that identifies compressed archive files.

Comparison
advanced
2:00remaining
Comparing File Associations Across Operating Systems

Which statement best describes how file associations differ between Windows and macOS?

AWindows and macOS both use file metadata exclusively, ignoring file extensions.
BBoth Windows and macOS use only file extensions to determine file type and associated programs.
CWindows ignores file extensions and uses file metadata, while macOS uses file extensions.
DWindows uses file extensions to determine file type, while macOS relies mainly on file metadata and ignores extensions.
Attempts:
2 left
💡 Hint

Think about how macOS hides file extensions by default but still opens files correctly.

🚀 Application
expert
2:30remaining
Determining the Number of File Types Supported by a System

A computer system supports the following file types with their default associations:

  • .docx → Word processor
  • .xlsx → Spreadsheet
  • .pptx → Presentation
  • .jpg → Image viewer
  • .png → Image viewer
  • .mp4 → Video player
  • .mp3 → Audio player
  • .txt → Text editor

How many unique default programs are associated with these file types?

A8
B6
C7
D5
Attempts:
2 left
💡 Hint

Count how many different programs appear in the list, not the number of file types.