How To Exam?

a knowledge trading engine...


Veer Narmad South Gujarat University 2007 M.C.A Unix of Veer Narmad south university - Question Paper

Monday, 29 April 2013 08:25Web



iiuiiiiiiiiiiyiiiiiiiiiiiiiiiiiuiiiiiiiiiiiiii

*DK 4832/200*

DK-4832 M. C. A. (Sem. V) Examination December - 2007 Unix Internal & Shell Programming (Paper - 502)

[Total Marks : 70


Time : 3 Hours] Instruction :

nU 6?iR<h Rpifil (3mi<A us

Seat No.:

Fillup strictly the details of signs on your answer book. 'Jame of the Examination :

[2

+-

M. C. A. (Sem. 5) |

r ........... \

Student's Signature

Name of the Subject:

<0-

Unix Internal & Shell Programming (Paper-502) |

K

Subject Code No.: 4 8 3 2 -Section No. (1,2......).| Nil |

1 Answer in short : (any ten)    20

(a)    Explain hard link and soft link. What is limitation of soft link ?

(b)    Explain sticky bit. Give examle.

(c)    Where is password stored ? Explain the structure of the file.

(d)    Explain with example use of /dev/tty and /dev/null.

(e)    Explain different stage of process.

(f)    Explain different run level of unix.

(g)    What information is stored in i-node block ?

(h)    Explain in brief different features of shell.

(i)    What does the super block contain ?

(j) Explain major and minor number in case of device file.

(k) Explain in brief the wait system call.

(I) Explain in brief the mount command.

[Contd..


1


DK-4832]






z Attempt any six :    10

(a)    Explain the concept of array in awk.

(b)    Explain in brief effect of directory permission.

(c)    Discuss in brief architecture of unix.

(d)    Discuss in brief how a directory is stored in i-node block and data block.

(e)    What is boot loader ? Explain init 0 and init 1 process.

Explain in brief the buffer cache header.

(g) Explain device file in details.

3    Explain the following : (any two)    12

(a)    Explain the fields of PCB along with their purpose that will be passed by parent to its child on creation.

(b)    Explain in brief how an i-node block is assigned to a file.

(c)    Explain fork( ) system call. Write a small program to demonstrate it.

4    Explain the following commands : (any five)     10

find, export, write, nice, fd, tar, less.

5    Attempt the following :    10

(a)    Write a shell script to display only username who have login and those users that have logout.

(b)    Write a shell script to count number of fine, word and character of give file name using command line parameter. Do no use wc command.

(c)    Write a shell script to count the file in given directory which does not have execute permission.

(d)    Write a shell script to display default shell and default group id of given user if he has not logged in.








DK-4832]

[ 200 ]


2








Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Veer Narmad South Gujarat University 2007 M.C.A Unix of Veer Narmad south university - Question Paper