Os - 2 Marks
Os - 2 Marks
3. Define TLB.
Translation Look-Aside Buffer, a table in the processors memory that contains
information about the pages in memory the processor has accessed recently.The TLB
enables faster computing because it allows the address processing to take place
independent of the normal address-translation pipeline
5. What is Copy-on-write.
Copy-on-write finds its main use in virtual memory operating systems; when a process
creates a copy of itself, the pages in memory that might be modified by either the
process or its copy are marked copy-on-write.
[
9. Will optimal page replacement algorithm suffer from Belady’s anomaly? Justify
your answer
In computer storage, Belady‘s anomaly is the phenomenon in which increasing the
number of page frames results in an increase in the number of page faults for certain
memory access patterns. This phenomenon is commonly experienced when using the
first-in first-out (FIFO) page replacement algorithm and not in optimal algorithm since
it follows stack property ie Last in first out (LIFO).
10. What are the consequences of multiprogramming with fixed partitioning and
variable partitioning?
Multi-programming with fixed partitioning is a contiguous memory management
technique in which the main memory is divided into fixed sized partitions which can
be of equal or unequal size. Due to which size of process is limited and main memory
is not utilized effectively.
Multi-programming with variable partitioning is a contiguous memory management
technique in which the main memory is not divided into partitions and the process is
allocated a chunk of free memory that is big enough for it to fit. Due to which there is
no limitation on size of process and main memory is utilized effectively.
3. What are the functions of Virtual File System (VFS) layer in file system
implementation?
A virtual file system (VFS) or virtual file system switch is an abstraction layer on top of
a more concrete file system. The purpose of a VFS is to allow client applications to
access different types of concrete file systems in a uniform way. A VFS can, for
example, be used to access local and network storage devices transparently without the
client application noticing the difference.
4. How free-space is managed using bit vector implementation? List its advantages.
The free-space list is implemented as a bit map or bit vector. Each block is represented
by 1 bit. If the block is free, the bit is 1; if the block is allocated, the bit is 0.
Advantages: It is relatively simple and its efficiency in finding the first free block or n
consecutive free blocks on the disk.
DMA increases system concurrency by allowing the CPU to perform tasks while the
DMA system transfers data via the system and memory buses.
The time taken by the head to move to the appropriate cylinder or track is called seek
time
Rotational latency is the additional time waiting for the disk to rotate the desired sector
to the disk head.
8. What are the various file operations?
The six basic file operations are
Creating a file
Writing a file
Reading a file
• The basic idea behind mounting file systems is to combine multiple file systems into
one large tree structure.
• The mount command is given a file system to mount and a mount point (directory) on
which to attach it.
• Once a file system is mounted onto a mount point, any further references to that
directory actually refer to the root of the mounted file system.
Absolute path name: Begins at the root and follows a path down to the specified file,
giving the directory names on the path.
Relative path name: Defines a path from the current directory
The iOS Software Development Kit (SDK) contains the tools and interfaces needed to
develop, install, run, and test native apps that appear on an iOS device's Home screen.
2. What is Android?
Android is a as smartphones and tablet computers. The hardware that supports Android
software is based on the ARM architecture platform. Android is an open-source Linux-
based operating system. It is designed primarily for touchscreen mobile devices such
operating system means that it is free and anyone can use it.
A guest OS is software installed on either a virtual machine (VM) or partitioned disk that
describes an operating system that is different than the host operating system.
7. What is virtualization? ?
Virtualization is the creation of a virtual -- rather than actual -- version of
something, such as an operating system, a server, a storage device or
network resources
8. Define XEN.
Xen is a virtual machine monitor (VMM) for x86-compatible computers.
Xen can securely execute multiple virtual Machines, each running its OS, on
a single physical system with close-to-native performance. Xen is open
source and is released under terms of the GNU General Public License.