Operating_System_and_Linux_Questions
Operating_System_and_Linux_Questions
An operating system (OS) is system software that acts as an interface between computer hardware
and the user. It manages hardware resources and provides services for computer programs,
Multi-processing vs Multi-tasking:
2. What is CPU scheduling? Describe FCFS and SJF with preemption and non-preemption
CPU scheduling selects a process from the ready queue to run on the CPU.
SJF: Shortest job first. Preemptive (SRTF) and non-preemptive versions. Lower average waiting
4. What is virtual memory? Explain any two page replacement algorithms with suitable
examples.
Virtual memory allows execution of processes not fully in memory. Uses disk as extended RAM.
5. How can you change permissions of files and directories in Linux? Also discuss the file
File commands:
6. What do you mean by Redirection and Piping? Explain its uses in Linux with examples.
Backup is creating data copies for recovery. Tools: cp, tar, rsync.
7(b). Who is super user? Explain the duties of super users with commands of LINUX.
Super user (root) has full privileges. Duties: manage users, files, processes.
VI is a text editor with three modes: command, insert, and last line.
Commands: i (insert), :wq (save and quit), / (search)
9. Define Kernel
12. Wildcards