System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q321: Which ASCII characters cannot be used in Windows file names?
- A: Letters and digits
- B: Control characters
- C: Spaces and underscores
- D: Numbers and letters
View Answer
B
Q322: Which of the following symbols is NOT allowed in Windows file names?
- A: Underscore (_)
- B: Colon (:)
- C: Dash (-)
- D: Period (.)
View Answer
B
Q323: File names and directory names in Windows are _______.
- A: Case sensitive
- B: Case insensitive
- C: Always lowercase
- D: Always uppercase
View Answer
B
Q324: The separator between a file name and its extension is _______.
- A: Comma (,)
- B: Semicolon (;)
- C: Period (.)
- D: Colon (:)
View Answer
C
Q325: The maximum length of a file name in Windows is _______ characters.
- A: 31
- B: 128
- C: 255
- D: 512
View Answer
C
Q326: The maximum length of a full path (including folders and file name) in Windows is _______ characters.
- A: 128
- B: 255
- C: 260
- D: 512
View Answer
C
Q327: File extensions typically take how many bytes in Windows?
- A: 1–2
- B: 2–4
- C: 5–8
- D: 8–12
View Answer
B
Q328: A single dot (.) in a path represents the _______.
- A: Root directory
- B: Parent directory
- C: Current directory
- D: Home directory
View Answer
C
Q329: Double dot (..) in a path means _______.
- A: Current directory
- B: Two steps back in directory
- C: One step back in directory
- D: Root directory
View Answer
C
Q330: Which of the following is a valid file name in Windows?
- A: Report.docx
- B: Report|docx
- C: Report:docx
- D: Report/docx
View Answer
A