Kit Library

🎯 Exam Preparation Kit

Basics of Operating System Exam Prep

English 50 leveled MCQs Free

Shared by a Veda learner · Generated with Veda AI

Smart notes

What you'll study, topic by topic

1

give answer

Full explanation, worked examples & memory tricks in the app

Solved paper preview

Sample questions with model answers

Every question in the paper gets a full exam-length answer in the app — organised by marks, the way a topper writes it.

7 marks Long answer

Enlist all types of OS. Explain Batch Operating system with advantage and disadvantage.

Show answer outline

Types of OS include Batch, Time-sharing, and Real-time; Batch OS processes jobs in groups, which can lead to resource optimization but may cause delays.

The full exam-length answer is in the app.

7 marks Long answer

Write a short note on the disk space allocation method.

Show answer outline

Disk space allocation methods include contiguous, linked, and indexed allocation, each with its advantages and disadvantages.

The full exam-length answer is in the app.

7 marks Long answer

Write a shell script to find the sum of all digits of a given number.

Show answer outline

The shell script can iterate through each digit of the number, summing them to find the total.

The full exam-length answer is in the app.

7 marks Long answer

Draw State Transition diagram and explain all states with its possible transition scenario.

Show answer outline

The State Transition diagram illustrates states like New, Ready, Running, Waiting, and Terminated with transitions based on events.

The full exam-length answer is in the app.

7 marks Long answer

Write a short note on Deadlock. Explain necessary conditions for Deadlock to occur.

Show answer outline

Deadlock occurs when processes cannot proceed due to holding resources; necessary conditions include mutual exclusion, hold and wait, no preemption, and circular wait.

The full exam-length answer is in the app.

7 marks Long answer

What is paging? Explain TLB with diagram.

Show answer outline

Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory; TLB (Translation Lookaside Buffer) caches page table entries for faster access.

The full exam-length answer is in the app.

7 marks Long answer

Enlist all partition selection strategies and explain it with example.

Show answer outline

Partition selection strategies include First Fit, Best Fit, and Worst Fit, each allocating memory differently based on the size of the request.

The full exam-length answer is in the app.

7 marks Long answer

Enlist all disk scheduling algorithm and explain FCFS with example.

Show answer outline

Disk scheduling algorithms include FCFS, SSTF, SCAN; FCFS processes requests in the order they arrive, ensuring fairness.

The full exam-length answer is in the app.

7 marks Long answer

Explain address translation in paging.

Show answer outline

Address translation in paging involves converting a virtual address into a physical address using a page table.

The full exam-length answer is in the app.

7 marks Long answer

Write a shell script to generate and print Fibonacci series.

Show answer outline

A shell script can generate Fibonacci series using a loop to calculate and print each term.

The full exam-length answer is in the app.

7 marks Long answer

Write a shell script to find the maximum out of three numbers.

Show answer outline

A shell script can use conditional statements to compare three numbers and print the maximum.

The full exam-length answer is in the app.

7 marks Long answer

Write short note on: Multiprogramming O.S and Multithreading O.S.

Show answer outline

Multiprogramming OS allows multiple programs to run simultaneously by sharing CPU time, while Multithreading OS enables multiple threads within a single process to execute concurrently.

The full exam-length answer is in the app.

7 marks Long answer

Calculate Average waiting time and average turnaround time for FCFS algorithm with gantt chart for following data.

Show answer outline

Average waiting time and turnaround time can be calculated using the Gantt chart for the given process data.

The full exam-length answer is in the app.

7 marks Long answer

Calculate Average waiting time and average turnaround time for RR algorithm with gantt chart for following data. Consider that the time quantum is 4ms.

Show answer outline

Average waiting time and turnaround time can be calculated using the Gantt chart for the RR scheduling algorithm.

The full exam-length answer is in the app.

7 marks Long answer

Write a short note on memory relocation and protection.

Show answer outline

Memory relocation allows programs to be loaded at different memory addresses, while protection ensures that processes cannot access memory allocated to other processes.

The full exam-length answer is in the app.

7 marks Long answer

Write a shell script to find factorial of given number.

Show answer outline

A shell script can use recursion or iteration to calculate the factorial of a given number.

The full exam-length answer is in the app.

7 marks Long answer

Write a shell script to find reverse of a given number ex: number=3254 reverse=4523.

Show answer outline

A shell script can reverse a number by using arithmetic or string manipulation techniques.

The full exam-length answer is in the app.

4 marks Medium answer

Explain Physical structures of Hard disk.

Show answer outline

The physical structure of a hard disk includes platters, tracks, sectors, and the read/write head.

The full exam-length answer is in the app.

4 marks Medium answer

Explain various directory related commands in Linux.

Show answer outline

Directory commands in Linux include 'ls' for listing files, 'cd' for changing directories, and 'mkdir' for creating directories.

The full exam-length answer is in the app.

4 marks Medium answer

Explain following Linux Commands: chmod, ls, wc & cat.

Show answer outline

These commands manage file permissions (chmod), list files (ls), count lines/words/characters (wc), and display file content (cat).

The full exam-length answer is in the app.

4 marks Medium answer

Explain Process Control Block in detail.

Show answer outline

A Process Control Block (PCB) is a data structure that contains information about a process, including its state, program counter, and CPU registers.

The full exam-length answer is in the app.

4 marks Medium answer

Calculate Average Waiting time and Average TAT Using FCFS algorithm with for given schedule:

Show answer outline

Average Waiting Time = 5.25, Average TAT = 9.25 for the given FCFS schedule.

The full exam-length answer is in the app.

4 marks Medium answer

Calculate Average Waiting time and Average TAT Using Round Robin algorithm for given schedule: (Time Quantum: 2 sec)

Show answer outline

Average Waiting Time = 5.5, Average TAT = 8.5 for the given Round Robin schedule.

The full exam-length answer is in the app.

4 marks Medium answer

Write short note on segmentation.

Show answer outline

Segmentation is a memory management technique that divides the memory into variable-sized segments based on logical divisions.

The full exam-length answer is in the app.

4 marks Medium answer

Write a short note on Fragmentation.

Show answer outline

Fragmentation is the condition where storage space is used inefficiently, reducing capacity or performance.

The full exam-length answer is in the app.

4 marks Medium answer

Differentiate: External fragmentation Vs Internal Fragmentation.

Show answer outline

External fragmentation occurs when free memory is split into small blocks, while internal fragmentation occurs when allocated memory may be larger than needed.

The full exam-length answer is in the app.

4 marks Medium answer

Explain Multiprogramming with Fixed Partitions.

Show answer outline

Multiprogramming with Fixed Partitions divides memory into fixed-size segments, allowing multiple processes to reside in memory simultaneously.

The full exam-length answer is in the app.

4 marks Medium answer

Explain ls command with example.

Show answer outline

The ls command lists directory contents; for example, 'ls -l' shows detailed file information.

The full exam-length answer is in the app.

4 marks Medium answer

Explain the following Linux commands: cat, echo, wc.

Show answer outline

cat displays file content, echo prints text to the terminal, and wc counts lines, words, and characters.

The full exam-length answer is in the app.

4 marks Medium answer

Explain Operating System Services.

Show answer outline

Operating System services include program execution, I/O operations, file system manipulation, and error detection.

The full exam-length answer is in the app.

4 marks Medium answer

Explain CPU bound process and I/O bound Process with example.

Show answer outline

CPU bound processes require more CPU time, while I/O bound processes spend more time waiting for I/O operations.

The full exam-length answer is in the app.

4 marks Medium answer

Explain long term, medium term and short term schedulers.

Show answer outline

Long term scheduler controls the degree of multiprogramming, medium term scheduler temporarily removes processes from memory, and short term scheduler selects processes from the ready queue for execution.

The full exam-length answer is in the app.

4 marks Medium answer

Explain following linux commands: sort, cmp, mv, vi.

Show answer outline

The 'sort' command arranges lines of text, 'cmp' compares files, 'mv' moves or renames files, and 'vi' is a text editor.

The full exam-length answer is in the app.

4 marks Medium answer

Explain following linux commands: grep, chmod, rm, wc.

Show answer outline

'grep' searches text, 'chmod' changes file permissions, 'rm' removes files, and 'wc' counts lines, words, and characters.

The full exam-length answer is in the app.

3 marks Medium answer

What is Operating System? Explain Services of Operating System.

Show answer outline

An Operating System manages hardware and software resources and provides services like process management and memory management.

The full exam-length answer is in the app.

3 marks Medium answer

Explain Multiprogramming with Dynamic Partitions.

Show answer outline

Multiprogramming with dynamic partitions allows multiple programs to run simultaneously, allocating memory dynamically as needed.

The full exam-length answer is in the app.

3 marks Medium answer

Differentiate Preemptive scheduling with Non-preemptive scheduling. Give at least 3 differences.

Show answer outline

Preemptive scheduling allows interruption of processes, while Non-preemptive scheduling does not.

The full exam-length answer is in the app.

3 marks Medium answer

Explain file operation in details.

Show answer outline

File operations include creating, reading, writing, and deleting files, managed by the file system.

The full exam-length answer is in the app.

3 marks Medium answer

Describe physical structure of Disk.

Show answer outline

The physical structure of a disk includes platters, tracks, sectors, and the read/write head.

The full exam-length answer is in the app.

3 marks Medium answer

Enlist file related commands and explain cat command with example.

Show answer outline

File related commands include ls, cp, mv; the cat command displays file content, e.g., 'cat file.txt'.

The full exam-length answer is in the app.

3 marks Medium answer

Enlist all directory related commands and explain ls command with options.

Show answer outline

Directory commands include mkdir, rmdir; ls command with options like '-a' lists all files including hidden ones.

The full exam-length answer is in the app.

2 marks Short answer

What is Operating System? Explain needs of Operating System.

Show answer outline

An Operating System is software that manages computer hardware and software resources.

The full exam-length answer is in the app.

2 marks Short answer

Explain context switch in brief.

Show answer outline

A context switch is the process of storing the state of a currently running process and restoring the state of a previously saved process.

The full exam-length answer is in the app.

2 marks Short answer

Define Short Term and Long Term Scheduler.

Show answer outline

Short Term Scheduler selects processes from the ready queue, while Long Term Scheduler controls the degree of multiprogramming.

The full exam-length answer is in the app.

2 marks Short answer

Give difference between Process and Thread.

Show answer outline

A process is an independent program in execution, while a thread is a lightweight process that shares resources with other threads.

The full exam-length answer is in the app.

2 marks Short answer

Explain Process Life Cycles.

Show answer outline

Process Life Cycle includes states like New, Ready, Running, Waiting, and Terminated.

The full exam-length answer is in the app.

2 marks Short answer

What is deadlock? Explain four conditions for deadlock to occur.

Show answer outline

Deadlock is a situation where two or more processes cannot proceed because each is waiting for the other to release resources.

The full exam-length answer is in the app.

2 marks Short answer

Explain Race Condition.

Show answer outline

Race Condition occurs when multiple processes access shared data and try to change it simultaneously, leading to unpredictable results.

The full exam-length answer is in the app.

2 marks Short answer

Explain Linux architecture in detail.

Show answer outline

Linux architecture consists of the kernel, system libraries, and user applications, providing a layered structure for system operations.

The full exam-length answer is in the app.

2 marks Short answer

Enlist directory related command. explain any one in detail.

Show answer outline

Directory related commands include 'ls', 'cd', 'mkdir', and 'rmdir'; 'ls' lists directory contents.

The full exam-length answer is in the app.

Study it properly — free, in the app

The full Veda Bites deck, complete notes, spaced-repetition flashcards, leveled MCQs, tests and games for this kit — plus Daily Facts and the Arena, every day.