Guru Gobind Singh Indraprastha Vishwavidyalaya 2009-5th Sem B.C.A Computer Application Linux Environment, ester, End Term -, , - Question Paper
(Meuse wrlleyour l:x<i>n Roll So.)
m
I II t il St.Ml S I 1 R ||U AI 1)1 ( I MBI k-2<HIV
Subject: Linux Environment
I.xam Roll
'Paper Code: BCA305 j Paper Id-20305 Time : 3 Hours
Maximum Mirks 75
Wofe; 0 "f is compulsory Attempt one question trom each unit
Attempt any five <>l the following
Qi
s(y<f Linux operating system supports rmilliprocessmg, multiprogramming and multiuser'. Elucidate, vf-rtf Explain the Linux Architecture, e) Write a shell program to print all files that have read permission onLy-Explain the virtual addres space lor a process Describe the interrupt handling.
Write shell command for the following:
(i) To add the contents of one file to another.
(ii) To print the last 5 lines from a file.
g) Write a shell program to accept any 3 numbers from the command line and print the largest number.
(5x5=25)
)
10
J
UNIT-I
12.S\
W
W
(a) Write a shell program to print the number of users that are logged in
(b) Explain in brief the data structure in Linux KernelV'
(c) Define the following:- (i) getpid (ii) pause (injfnrk (iv) execve
Q2
Q3
OR
(a) Explain any two with suitable example (i) chmod (ii) wc (iii) grep
(b) Explain the advantages and disadvantages of dynamic memory allocation m the Kernel segment.
(c) Write short notes on the following.- ~ M (i) Paging under LINUX - (ii) Block devices
(6.5+3+3)
Expbdn the following: -(a)/Client - server model
Q4
pes (c) Shared memory OR
(a) How does synchronization in the kernel lake placc?
(b) What is message queue?
(c) Explain ipcs and ipcrm commands.
(6.5)
(3)
(3)
Q5
UNIT-111
(6.5)
(3)
(3)
(12.5)
(4+8.5)
(a) What is the function of Kernel deamon?
(b) What is module stacking?
c) Explain the Gdb and printk( ) commands.
OR
Explain the file system in LINUX.
UNIT IV
Explain the following: -
(a) Spooling (b) Symmetric multiprocess
OR
(6.5)
(6)
(a) Explain how message is exchanged between processes?
(b) What are the problems with multiprocessor systems?
Attachment: |
Earning: Approval pending. |