Int II QP
Int II QP
Roll Number
7.
Knowledge of Linux operating systems and distributions. CO5 K1 2
Proficiency in shell scripting and command-line tools.
Understanding of networking concepts and protocols.
Experience with system monitoring and performance
tuning.
Skills in managing users and permissions.
etc.
3. Elevator (SCAN)
(OR)
(b) Q: Consider the following page reference strings: CO4 K4 16
1,2,3,4,5,3,4,1,6,7,8,7,9,7,8,9,5,4,4,5,3 How many page faults
would occur for the following replacement algorithms,
assuming four frames? Remembering all frames are initially
empty.
(a) LRU replacement
(b) FIFO replacement
(c) Optimal replacement?
KGISL INSTITUTE OF TECHNOLOGY,
COIMBATORE -35, TN, INDIA
Doc. Ref. KITE/EMS/INT.EX/02/IAQP
EXAMINATIONS - FORMS
INTERNAL EXAMINATION QP FORMAT
ACADEMIC YEAR: 2023 - 2024 Department EXAM CELL
Page Faults: 14
Page Faults: 14
Page Faults: 13
In summary:
KGISL INSTITUTE OF TECHNOLOGY,
COIMBATORE -35, TN, INDIA
Doc. Ref. KITE/EMS/INT.EX/02/IAQP
EXAMINATIONS - FORMS
INTERNAL EXAMINATION QP FORMAT
ACADEMIC YEAR: 2023 - 2024 Department EXAM CELL
12. (a) Q: Explain the concepts of domain name system and CO5 K2 16
multifunction server?
A: Domain Name System (DNS)
Overview
Key Components
address.
o AAAA Record: Maps a domain name to an
IPv6 address.
o CNAME Record: Maps a domain name to
another domain name (alias).
o MX Record: Specifies mail servers for a
domain.
o TXT Record: Stores text information, often for
verification purposes.
Multifunction Server
Overview
Common Functions
PostgreSQL.
5. DNS Server: Resolves domain names to IP addresses,
as explained above. Examples: BIND, Microsoft DNS.
6. Application Server: Hosts applications and provides
services to end-users or other servers. Examples:
Tomcat, WebLogic.
7. Print Server: Manages print jobs and provides printer
services to clients over a network.
Benefits
Challenges
Example Setup
(OR)
(b) CO5 K2 16
Q: Write short notes on Linux kernel and virtualization with
neat sketch?
Linux Kernel
Overview
Key Functions
Architecture
Diagram
sql
Copy code
+----------------------+
KGISL INSTITUTE OF TECHNOLOGY,
COIMBATORE -35, TN, INDIA
Doc. Ref. KITE/EMS/INT.EX/02/IAQP
EXAMINATIONS - FORMS
INTERNAL EXAMINATION QP FORMAT
ACADEMIC YEAR: 2023 - 2024 Department EXAM CELL
| User Space |
+----------------------+
| System Call Interface|
+----------------------+
| Process Manager |
| Memory Manager |
| File Systems |
| Device Drivers |
+----------------------+
| Hardware Abstraction|
+----------------------+
| Hardware |
+----------------------+
Virtualization
Overview
Types of Virtualization
Benefits
Diagram
lua
Copy code
+------------------------------+
| Virtual Machines |
| (Multiple Instances) |
| +------+ +------+ +------+ |
| | VM | | VM | | VM | |
| +------+ +------+ +------+ |
+------------------------------+
| Hypervisor |
+------------------------------+
| Physical Hardware |
+------------------------------+
(a) SSTF
(b) CLOOK
(c) CSCAN.
A: Given Conditions
Steps:
Seek Length:
Steps:
Seek Length:
Steps:
Seek Length:
18∣123−105∣=18
Problems
1. Dangling Links
o Description: If the file is deleted but there are
still links (e.g., symbolic links or hard links)
pointing to it, these links become dangling.
This means they point to a location on the
disk that no longer holds the original file's
data.
o Impact: Accessing these links will result in
errors, as the data they point to no longer
exists or has been overwritten by a new file.
This can lead to confusion and data
inconsistency.
2. Data Corruption
o Description: If a new file is created in the
same storage area as the deleted file, the
data blocks previously occupied by the old
KGISL INSTITUTE OF TECHNOLOGY,
COIMBATORE -35, TN, INDIA
Doc. Ref. KITE/EMS/INT.EX/02/IAQP
EXAMINATIONS - FORMS
INTERNAL EXAMINATION QP FORMAT
ACADEMIC YEAR: 2023 - 2024 Department EXAM CELL
Solutions
1. Reference Counting
o Description: Implement a reference counting
mechanism to keep track of the number of
links to a file. The file's disk space is only
reclaimed when the reference count drops to
zero.
o Implementation: Each file has a counter that
increments when a new link is created and
decrements when a link is deleted. The file is
only physically deleted when the counter
reaches zero.
o Benefit: Ensures that disk space is not
reclaimed as long as there are existing links to
the file, preventing dangling links and data
corruption.
2. Deferred Deletion
o Description: Implement deferred deletion,
where the file's data blocks are not
immediately reclaimed upon deletion but are
instead marked for future reuse.
o Implementation: When a file is deleted, its
data blocks are marked as "pending deletion"
and are only reclaimed after a certain period
or after ensuring no links exist.
o Benefit: Allows time for any remaining links
to be updated or deleted, reducing the risk of
KGISL INSTITUTE OF TECHNOLOGY,
COIMBATORE -35, TN, INDIA
Doc. Ref. KITE/EMS/INT.EX/02/IAQP
EXAMINATIONS - FORMS
INTERNAL EXAMINATION QP FORMAT
ACADEMIC YEAR: 2023 - 2024 Department EXAM CELL
Conclusion
Prepared By Approved by
Faculty HOD