School ICT Self Study
Absolutely Free Learning Opportunity! No Need to Spend Money! Study at Your Own Pace! Everything You Need is Right Here
UNLOCK YOUR DIGITAL FUTURE!
Free ICT Learning for Sri Lanka
🌍
|

File and Directory Management

194 viewsG12-05. AL ICT Operating System
0

  1. What is the purpose of file types like .exe, .jpg, and .txt in an operating system?

  2. Describe the structure of a file system and explain the role of directories.

  3. Explain the three main storage allocation methods used by an operating system.

  4. What is defragmentation, and how does it improve system performance?

  5. How does an operating system ensure file security?

Ruwan Suraweera Changed status to publish
0

Answers

  1. Answer: File types indicate the format and purpose of files, helping the OS identify how to process or open them (e.g., .exe for executables, .jpg for images, .txt for text).
    Description: File extensions allow the OS to associate files with specific applications. For instance, .exe files are run as programs, while .jpg files are opened by image viewers, streamlining file handling.

  2. Answer: A file system organizes data on storage devices using a hierarchical structure of directories (folders) that contain files and subdirectories.
    Description: Directories act like containers, organizing files for easy access. For example, a file system like FAT32 uses a tree-like structure to store and retrieve data efficiently.
    Image Placeholder: [Insert diagram of a file system hierarchy]

  3. Answer: The three methods are:

    • Contiguous allocation: Stores a file in consecutive disk blocks.

    • Linked allocation: Stores file data in non-consecutive blocks linked by pointers.

    • Indexed allocation: Uses an index block to store pointers to file data blocks.
      Description: Contiguous allocation is fast but prone to fragmentation. Linked allocation avoids fragmentation but is slower, while indexed allocation balances speed and flexibility.

  4. Answer: Defragmentation reorganizes fragmented files on a disk to store them contiguously, reducing access time and improving performance.
    Description: Over time, files get scattered across a disk, slowing access. Defragmentation consolidates files, as seen in tools like Windows Disk Defragmenter, enhancing read/write efficiency.

  5. Answer: The OS uses passwords, access privileges, and encryption to restrict file access to authorized users only.
    Description: File security prevents unauthorized access or modifications. For example, Windows uses NTFS permissions to set read/write access for specific users or groups, ensuring data protection.

Ruwan Suraweera Changed status to publish
🔴 Lesson List
SIDE BUTTON ON
Sign In Register
×

👋 Welcome Back!

🚀
Ready to Learn?Pick up where you left off.
🔑
Forgot Password?Click the link below to reset.
📢
New FeaturesCheck out the new AI Voice tool.

Sign In

👤
🔒
or continue with
Google Facebook

Already have an account? Register Now

🖥️ View Desktop Version Switch to full website view.