Which file format is best suited for storing images that require transparent backgrounds?
Think about which formats support transparent pixels.
PNG supports transparency with alpha channels, making it ideal for images needing transparent backgrounds. JPEG does not support transparency. GIF supports simple transparency but only one color can be transparent, making PNG better for complex images. BMP does not support transparency.
Given the MIME type application/pdf, what is the usual file extension for this type?
MIME types describe the nature of a file; think about common document formats.
The MIME type application/pdf corresponds to Portable Document Format files, which use the .pdf extension. Other options correspond to different document types.
Which of the following file formats is best for storing plain text with support for multiple languages and special characters?
Consider which encoding supports many languages and special characters.
UTF-8 encoding supports a wide range of characters from many languages, making plain text files with UTF-8 encoding ideal for multilingual text. ASCII supports only basic English characters. RTF supports formatting but is not plain text. CSV is for tabular data and may not handle complex characters well.
Which file extension is commonly used for compressed archive files that can contain multiple files and folders?
Think about file formats used to bundle and compress files together.
The .zip extension is used for compressed archive files that can hold multiple files and folders. .exe is an executable program, .txt is plain text, and .mp3 is an audio file.
You rename a text file notes.txt to notes.jpg and try to open it with an image viewer. What will most likely happen?
Consider how programs read file content versus file extensions.
Changing the file extension does not change the file's content. An image viewer expects image data, so it will likely show an error or fail to open the text file renamed as .jpg. It does not convert or display the text as an image.