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
Firstranker's choice
Code No: 824AB
--- Content provided by FirstRanker.com ---
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA IV Semester Examinations, January - 2018
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 Bconsists 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) Describe the special parameters used by shell. [5]
--- Content provided by FirstRanker.com ---
b) What are hard links? Give their advantages and disadvantages. [5]
c) Discuss the role of kill and raise functions in signal generation. [5]
d) Write a program to implement the creation of a pipe. [5]
e) What system calls are used to send and receive the data through sockets? [5]
PART -B 5 x 10 Marks =50
--- Content provided by FirstRanker.com ---
- What is sed? Explain addressing in sed with suitable examples. [10]
OR - a) What is the exit status of a command and where is it stored?
b) Write a shell script to display the current users of the system who have logged in for more
than half an hour. [5+5] - a) What is an i-node? Explain the process of conversion of file path name to an i-node.
b) Explain fseek, fopen, fclose system call in-detail. [5+5]
OR - What is a directory? List and explain various directory maintenance systems calls that are
present in unix. [10] - a) What is a zombie process? Give its significance.
b) Write a program to implement the sleep function. [5+5]
OR - Explain the role of the following system calls with respect to process:
a) fork() b) Wait() c) Exec() d) waitpid e) vfork [10] - How to achieve the inter process communication by using FIFOs? Explain with some code
snippets. [10]
OR - What is Semaphore? Explain how you would use semaphore system calls to solve critical
section problems. [10] - a) Describe the role of port numbers with respect to sockets.
b) Explain Byte-Ordering, address format and address lookup in Sockets. [5+5]
OR - a) What is a socket? Explain the socket system call along with the parameters present in it.
b) Which system call is used to create shared memory segment and explain it. [5+5]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- 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 ---