Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
175 views

Advanced Unix Programming

This document contains an exam for an Advanced Unix Programming course. It lists 8 questions about Unix concepts and commands. The questions cover topics such as meta characters, utilities like cat, ls, grep, tar, telnet and mount, control statements, invisible files, the vi editor, shell, Unix file structure, system calls like lseek(), read(), write(), processes, fork(), exec(), memory management, file locking, message queues, semaphores, interprocess communication, and the Unix file system. Students are instructed to answer any 5 of the 8 questions.

Uploaded by

Srinivasa Rao G
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views

Advanced Unix Programming

This document contains an exam for an Advanced Unix Programming course. It lists 8 questions about Unix concepts and commands. The questions cover topics such as meta characters, utilities like cat, ls, grep, tar, telnet and mount, control statements, invisible files, the vi editor, shell, Unix file structure, system calls like lseek(), read(), write(), processes, fork(), exec(), memory management, file locking, message queues, semaphores, interprocess communication, and the Unix file system. Students are instructed to answer any 5 of the 8 questions.

Uploaded by

Srinivasa Rao G
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Code No: 33/MCA

OR
M.C.A III Semester Supplementary Examinations, April -2008.

ADVANCED UNIX PROGRAMMING

Time: 3 hours Max. Marks: 60

Answer any five questions


All questions carry equal marks
---

1. a) What are meta characters? Explain their use.


b) Explain the following commands:
i fgrep
ii tar
iii telnet
iv mount.

2.a) Write the differences between the following utilities:


i cat and ls
ii less or more and cat
iii head and tail.
b) Explain for loop and also any one control statement of Unix with
your own example.

3.a) What is the command to display invisible files? What does it


display?
b) Write a short notes on:
i Vi editor
ii shell.

4. a) Describe the UNIX file structure.


b) Explain the following system calls:
i) lseek()
ii) read ()
iii) write ()

5. a) What is a process? Distinguish between user context and kernel


context of a process.
b) Explain the working of fork () and exec () system calls with an
example.

6. a) Describe memory management features of UNIX.


b) Explain clearly the concept of file locking.

Contd…2
Code No: 33/MCA ::2::

7. a) Explain the kernel data structures maintained by kernel for


message queues.
b) Implement simple routing for semaphores:
i Sem-Wait (id)
ii Sem-Signal (id)
Where is the id of semaphore.

8. a) Explain interprocess communication in UNIX.


b) Explain about UNIX file system.

*****

You might also like