π From Operating System β’ 11. File System Interface β’ 27 questions available
Practice MCQs for Two level directory File. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
π Last updated: 2026-07-26
Q1. Which file extension indicates a shell script that can be executed directly?
π‘ Difficulty: easy | β Correct: D
Q2. A developer has source code in a file named Main.java and a compiled class file Main.class. Which file must be compiled before it can be executed?
π‘ Difficulty: medium | β Correct: A
Q3. In a twoβlevel directory system where each directory name may contain up to 8 characters, and the full path includes the topβlevel directory, a slash, and the subdirectory, what is the maximum number of characters the path can contain (excluding any file name)?
π‘ Difficulty: hard | β Correct: A
β¬οΈ View all questions in the quiz below