How To Exam?

a knowledge trading engine...


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

Monday, 29 April 2013 08:35Web



CD-4843 M. C. A. (Sem. V) Examination November / December - 2008 MCA - 502 : Unix Internals & Shell Programming


V


\


Time : 3 Hours]

Instructions : (1)


[Total Marks : 70


Seat No.:


nb} aiq<H Pisunkiofl    u* <hm41.

Flllup strictly the details of signs on your answer book.

Name of the Examination :


M. C. A. (Sem. 5)


Name of the Subject:


pMCA - 502 : Unix Internals & Shell Programming


Student's Signature


Nil


3 I -Section No. (1,2......):


Subject Code No.


(a)    Explain in brief UNIX file system ?    6

(b)    Which security mechanisms are available in UNIX,    6 discuss them giving example ? What is boot loader ?

(c)    Write a short note on filter command. .    6

2    Answer the following in brief : (any six)    12

(1)    List main function of kernel and shell.

(2)    What is meant by background processing ? Give example.

(3)    What are the parts of a mail message ?

(4)    Describe difference between the p\ T' option andd', D option of sed command.

(5)    Explain sort and paste command with example.

(6)    Will the command 'cp vnsgu mca' work if vnsgu is ordinary file and mca is directory. Justify your answer.

(7)    In vi how would you ser and remove abbreviation. Give example.

3    Explain following : (any four)    10

[Contd..


1


CD-4843]


(1)

Iseek

(2)

stat

(3)

nice

(4)

cmp

(5)

finger

(6)

mknod





4    Answer any four :    20

(1)    Explain in brief different scenarios for retrieval for buffer.

(2)    What informations are stored in i-node block ? Explain how directory entry is stored.

(3)    Explain in brief I/O driver interface.

(4)    Explain the system call to create process.

(5)    Explain with figure different states and transitions.

5    Attempt any two :    10

(1)    Write a program using c to accept file name, first check for its existence, if exists then display the inode information and if not then create the file and then display the inode information.

(2)    Write a shell script that reads data from a text file and appends the line starting with an alphabet from a' through 'k' to a file named 'ak' and the line stating with alphabet I through 's' to a file 'Is' and the line between 't' and 'z' into the file 'tz'. Then display the number of lines in each of the file ak Is and tz individually.

(3)    Write a shell script to find out whether a user whose login name passed as the parameter is currently logged in or not. If the user is logged in send the file "MCA" which is available in the current working directory to his terminal. If not then wait for user to login and then send him file "MCA" and message "Wait time to deliver the is XX minutes" to his terminal.

[ 200 ]


2


CD-4843]











Attachment:

( 0 Votes )

Add comment


Security code
Refresh

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