0
0
Intro to Computingfundamentals~20 mins

File formats and extensions in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
File Format Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Identify the correct file format for storing images with transparency

Which file format is best suited for storing images that require transparent backgrounds?

APNG (.png)
BJPEG (.jpg)
CGIF (.gif)
DBMP (.bmp)
Attempts:
2 left
💡 Hint

Think about which formats support transparent pixels.

trace
intermediate
2:00remaining
Determine the file extension from a given MIME type

Given the MIME type application/pdf, what is the usual file extension for this type?

A.docx
B.txt
C.pdf
D.xls
Attempts:
2 left
💡 Hint

MIME types describe the nature of a file; think about common document formats.

Comparison
advanced
2:00remaining
Compare text file formats and their encoding capabilities

Which of the following file formats is best for storing plain text with support for multiple languages and special characters?

ATXT (.txt) with ASCII encoding
BRTF (.rtf)
CCSV (.csv)
DTXT (.txt) with UTF-8 encoding
Attempts:
2 left
💡 Hint

Consider which encoding supports many languages and special characters.

identification
advanced
2:00remaining
Identify the file extension used for compressed archives

Which file extension is commonly used for compressed archive files that can contain multiple files and folders?

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

Think about file formats used to bundle and compress files together.

🚀 Application
expert
2:00remaining
Predict the output when opening a file with the wrong extension

You rename a text file notes.txt to notes.jpg and try to open it with an image viewer. What will most likely happen?

AThe image viewer shows an error or cannot open the file
BThe file automatically converts to an image format
CThe image viewer displays the text content as an image
DThe text file opens normally in the image viewer
Attempts:
2 left
💡 Hint

Consider how programs read file content versus file extensions.