(Overview) Most Asked OS Questions by Neha and Nehal
(Overview) Most Asked OS Questions by Neha and Nehal
4. What is a kernel?
● It's a technique where the computer uses a portion of the hard drive as
extra memory when the physical RAM is full.
● It helps run more programs simultaneously and prevents running out of
memory.
17. How does dynamic loading aid in better memory space utilization?
● Programs load modules into memory only when needed, saving space.
● Helps in efficient memory utilization by loading essential parts on
demand.
● When the system spends more time swapping pages than executing
processes.
● Caused by high demand for memory, leading to inefficiency and slow
performance.
26. What is the best page size when designing an operating system?
● The best page size depends on factors like the hardware architecture
and memory requirements.
● A larger page size reduces overhead but may lead to more internal
fragmentation, while smaller page size reduces internal fragmentation
but increases overhead.
27. When designing the file structure for an operating system, what attributes
are considered?
● The root partition is the main storage area in an OS where system files
and directories are stored.
● It is the starting point of the file hierarchy and holds critical components
for system operation.
30. What are the primary functions of VFS (Virtual File System)?
31. What are the different types of CPU registers in a typical operating system
design?
Pros:
● Faster and more efficient for experienced users.
● Allows scripting and automation.
Cons:
● Steeper learning curve for new users.
● Requires memorizing commands and syntax.
Note : This questions are just for quick brushup, You can always do your own
research over this
All the best for your interviews !! Never fail to answer any operating system
question