How To Exam?

a knowledge trading engine...


Veer Kunwar Singh University 2010-5th Sem M.C.A Unix Internals and Shell Programming (ATKT) . - Question Paper

Friday, 01 February 2013 06:30Web



RF-4832

M. C. A. (Sem. V) (ATKT) Examination

April/May - 2010

502 : Unix Internals & Shell Programming

Time : 3 Hours]

Instructions :

[Total Marks : 70


(1)

N Seat No.:


6silq<3i Puunkiufl [qaim SuwiA u* qsq <KH=fl. Fillup strictly the details of signs on your answer book.

Name of the Examination :

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

Name of the Subject:

502 : Unix Internals & Shell Programming

-Subject Code No.:

1 1

8

3

2

-Section No. (1,2......): Nil

Student's Signature


(a)    Explain in brief unix system structure.    6

(b)    Explain in brief different types of looping in shell 6 programming. Also give example.

(c)    Explain in brief the different init run levels.    6 Also explain the importance of inittab file?

Answer the following in brief:- (any six)

12


(1)    State difference between who and finger command.

(2)    What is difference between Process and a Job?

(3)    What is the use of stat ( )?

(4)    What is difference between hard and soft link?

(5)    What is the use of du and df utility?

(6)    What are the commands to make a file hidden and to delete all hidden files in the folder?

(7) What is the difference between grep and find commands?

3    Explain following with example : (any five)

(1)    be

(2)    diff

(3)    touch

(4)    sort

(5)    file

(6)    wc

4    Answer any four :    20

(a)    Explain in brief file system in Unix.

(b)    How is new process created in Unix? Explain in brief different system call related to it.

(c)    Explain in brief mount and umount system call.

(d)    Explain in brief layout of system memory.

(e)    Write a short note on Interprocess communication.

5    Attempt any two:-    10

(a)    Write a C program to copy the character from mcal.txt to mca2.txt using getc and putc function only.

(b)    Write a script to kill a given process (name) of the user. Check for all validation.

(c)    Write a menu driven program to do as follow: write a menu driven program to do as follow:-

(i)    count number of line if file (without using wc)

(ii)    Convert first character of each line to uppercase

(iii)    Code the file (so that file has no meaning if opened to read)

(iv)    Decode the file

(v)    Read the file

(vi)    exit

RF-4832]    2    [ 500 ]







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Veer Kunwar Singh University 2010-5th Sem M.C.A Unix Internals and Shell Programming (ATKT) . - Question Paper