LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
M.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE
THIRD SEMESTER – NOVEMBER 2010
CS 3814 – LINUX PROGRAMMING AND DRIVER DEVELOPMENT
Date : 03-11-10 Dept. No. Max. : 100 Marks
Time : 9:00 – 12:00
PART – A
ANSWER ALL THE QUESTIONS: 10 X 2 = 20
- Define: $HOME.
- What is the use of shift command?
- Define the term fread.
- What is inode number?
- Define IPC_RMID.
- What is critical section of code?
- Define SOCK_STREAM.
- What is curses?
- Define Minor number.
- What is character device?
PART – B
ANSWER ALLTHE QUESTIONS : 5 X 8 = 40
11. a) Write a brief note on arithmetic and parameter expansion.
(OR)
- b) Write a shell program to trap interrupt signal.
- a) Explain the Read and Write system call.
(OR)
- b) Write a note on mmap.
- a) Describe about Message queues.
(OR)
- b) Explain about Semaphore.
- a) What is color pair? Explain.
(OR)
- b) Briefly discuss about Socket types.
- a) What is Device driver? Explain its roles.
(OR)
- b) Write a note on modules.
PART – C
ANSWER ANY TWO: 2 X 20 = 40
- a) Discuss the Lists in detail.
- b) Explain about device files in detail.
- a) Discuss the named FIFO with a suitable example.
- b) Write a note on the following, (i) bind.(ii) listen. (iii) accept.
- a) Discuss about splitting the kernel.
- b) Explain about shell variables and functions.