Code: 17F00403
MCA IV Semester Regular Examinations May 2019
--- Content provided by FirstRanker.com ---
LINUX PROGRAMMING
(For students admitted in 2017 only)
Time: 3 hours Max. Marks: 60
Answer all the questions
-
Explain various process utilities available in Linux.
--- Content provided by FirstRanker.com ---
Write a shell script that deletes all lines containing a specified word in one or more files supplied as arguments to it.
OR
Write a short note on security using file permissions.
-
Explain about text processing utilities in Linux.
--- Content provided by FirstRanker.com ---
-
Explain the following system calls:
- Open ()
- Seek ()
- read ()
--- Content provided by FirstRanker.com ---
Explain directory handling system calls.
OR
Explain the support given by Kernel for files in detail.
-
What do you mean by a hole in a file? How does the use of Iseek ( ) result in hole in a file? Explain with an example program.
--- Content provided by FirstRanker.com ---
-
Explain the difference between fork () and exec () system calls.
Explain in brief about reliable and unreliable signals.
OR
Explain the layout of a C program image in main memory.
--- Content provided by FirstRanker.com ---
-
Define orphan process. Write a program to illustrate the orphan process concept.
-
Explain in detail about IPC between related processes using unnamed pipes.
OR
--- Content provided by FirstRanker.com ---
Explain in detail about Kernel support for semaphores.
-
Compare the IPC functionality provided by message queues with shared memory.
-
Explain socket system calls for connectionless protocol.
--- Content provided by FirstRanker.com ---
OR
Explain the usage of stream sockets using client-server message handling example.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUA MCA 4th Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)