Question Bank Assignment Based On Unit - 2
Question Bank Assignment Based On Unit - 2
Aditya Pande
21070126001
AIML A1
Multiple Choice Questions (MCQs):
Describe the key functions of Bash commands in the Linux operating system.
Answer: Bash commands in Linux are used for interacting with the system through the
command-line interface. They perform tasks such as navigating the file system (e.g., ls, cd),
managing files and directories (e.g., cp, mv, rm), and executing programs. Bash commands
also support scripting, allowing users to automate tasks and create custom scripts for system
administration.
Compare and contrast Kernel Level services and System Level services in Linux.
Answer: Kernel Level services, provided by the operating system's kernel, involve core
functions like process management, memory management, and device drivers. On the other
hand, System Level services are responsible for running background processes and managing
system-wide services. While Kernel Level services directly interact with the hardware,
System Level services facilitate higher-level system functionalities.
Discuss the importance of File System Management in Linux and highlight the commonly
used file system.
Answer: File System Management in Linux involves organizing and managing data on
storage devices. The ext4 file system is commonly used in Linux distributions due to its
features like journaling and support for large file sizes. Proper file system management
ensures efficient data storage, retrieval, and protection against data loss.
Explain the concept of ownership and the command used to change the ownership of a file in
Linux.
Answer: In Linux, each file is associated with an owner and a group. The chown command is
used to change the ownership of a file. For example, chown user:group filename changes the
owner to "user" and the group to "group." This command is essential for managing file access
permissions and user-specific configurations.
Discuss the role of Kernel Level services in the efficient functioning of a Linux operating
system.
Answer: Kernel Level services in Linux are fundamental for the efficient operation of the
operating system. They include critical functions such as process scheduling, memory
management, device drivers, and system calls. These services directly interact with the
hardware, providing a layer of abstraction that allows user-level applications to run smoothly
and utilize system resources optimally.