Professional Documents
Culture Documents
Unix Assess 2
Unix Assess 2
202
DEPARTMENT OF INFORRMATION SCIENCE AND TECHNOLOGY
ANNA ITVERSITY, CHENNAI
ESSMENT TEST I, 15th Nov 2023
INTERNAL ASSE
INFORMATION TECHNOLOGY
Senester-V
5002 UNIX INTERNALS
(Reaulation 2019)
Time: 1 1/2 hrs
Max.Marks: 50
Lnderstand UNTX architecture andribe the Component of operating system.
CO5 Critically analyze different data structures and algorithms used in the building
of a kernel.
Q. No Questions Marks Co BL
1 Define real user ID, effective user ID and saved user ID. Write the 2 CO4 L2
command to display the different IDs?
2 (ÖWhat happens when the kernel executes the below code 2 C04 5
fragment?
unlink('myfile");:
fd =open("myfile",O RONLY).:
() What happens if the last component of file name is "."while
unlinking? Why is it done?
3 List the process states and the fields in the process table. 2 COS L
4 What happens when process executes close(0) and then dup 2 CO6
with an already opened file?
9 (a) (0) ofExplain the algorithm to create a neweess and the sequence
operations done durina the system all. CO3
(ii)How does the kernel handles "death o Gnlld signal during wait() 4 CO4 3
system call?
(OR)
9(b)0 How does the Kernel load a portion of alile into a regibn? Exolain 8 CO3 L2
the algorithms that the Kernel follows While loading a region.
)Depict the scenario diagrammatically When the kernel wants. to CO4 L3
load text of size 8K into a region that iS attached at virtual
address 0of a process but wants to leave a gap of 2K bytes at
the beginning of the region.