This download link is referred from the post: JNTUH MCA 4th Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
Code No: 824AB
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
MCA IV Semester Examinations, April/May - 2019
LINUX PROGRAMMING
Time: 3hrs Max.Marks:75
Note:
This question paper contains two parts A and B.
--- Content provided by FirstRanker.com ---
Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
PART - A
5 x 5 Marks =25
- a) Explain in detail about Process Utilities. [5]
- b) Differentiate soft link and hard link with examples. [5]
- c) Compare and Contrast Reliable and Unreliable Signals. [5]
- d) Write a short note on “rclose()” library function. [5]
- e) What are Berkeley sockets and write a note on ‘socket options’? [5]
--- Content provided by FirstRanker.com ---
PART -B
5 x 10 Marks =50
--- Content provided by FirstRanker.com ---
-
2.a) Write a shell script to print the details of the user login information.
b) Explain various patterns and actions in awk. [5+5]
OR
-
3.a) Write an awk script to perform simple arithmetic operations.
--- Content provided by FirstRanker.com ---
b) Give any 3 examples for control structures in shell programming. [5+5]
-
4.a) Explain the support given by kernel for files in detail.
b) What do you mean by a hole in a file? How does the use of lseek() result in hole in a file? Explain with an example program. [5+5]
OR
--- Content provided by FirstRanker.com ---
-
5. Describe Unix file system ‘advantages and also state different commands used in System calls for I/O operations. [10]
-
6. Write a detailed note on following processes:
a) Zombie processes b) Orphan processes. [5+5]
--- Content provided by FirstRanker.com ---
OR
-
7. Explain the below system calls with the help of syntax and examples:
a) kill b) raise c) alarm d) pause e) abort [10]
-
8.a) Describe the API provided by linux for semaphores.
b) Write a program for locking a file using semaphore. [5+5]
OR
-
9. Explain the following concepts about pipes:
--- Content provided by FirstRanker.com ---
a) Pipes between two process b) Pipes among three process in a shell. [5+5]
-
10. Explain the usage of Stream Sockets using Client-Server Message handling example. [10]
OR
-
11.a) Explain how to attach and detach a shared-memory segment.
b) Explain how to handle multiple simultaneous clients. [5+3]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
---00000---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 4th Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
--- Content provided by FirstRanker.com ---