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.com
Firstranker's choice
Code No: 824AB R15
--- Content provided by FirstRanker.com ---
Time: 3hrs Max.Marks:75Note: This question paper contains two parts A and B.
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
- Explain the system commands in awk. 5
- Explain the support given by the kernel for files in detail. 5
- Discuss in detail about process creation mechanism. 5
- Describe the API provided by Linux for semaphores. 5
- Explain the usage of socket using client-server message handling example. 5
--- Content provided by FirstRanker.com ---
PART -B 5 x 10 Marks =50
--- Content provided by FirstRanker.com ---
- a) List and explain various meta characters available in shell programming. [5+5]
b) Write an awk script to perform simple arithmetic operations.
OR
Write a shell script that deletes all lines containing a specified word in one or more files supplied as arguments to it. - a) With an example script explain the differences between ‘for’ and ‘for-each’ Statement. [5+5]
--- Content provided by FirstRanker.com ---
b) Write the syntax of the following system calls and explain with an example code.
i) telldir ii) mkdir
OR
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. [5+5] - Discuss in detail about file ownership commands. [10]
--- Content provided by FirstRanker.com ---
OR
Write a C program that accepts two small numbers as arguments and then sums the two numbers in a child process. The sum should be returned by child to the parent as its exit status and the parent should print the sum. - a) Differentiate between reliable and unreliable signals. [5+5]
OR
b) Describe the following functions.--- Content provided by FirstRanker.com ---
i) kill ii) raise iii) alarm iv) pause - a) What is orphan process? Write a program to illustrate the orphan process. [5+5]
OR
b) Define unnamed pipe. How do we create unnamed pipe? Explain the limitations of unnamed pipe. - a) Describe the operations of semop() with a sample C program. [5+5]
--- Content provided by FirstRanker.com ---
OR
b) Describe various APIs used to implement client/server communication between two unrelated processes in a system using FIFOs with an illustrative example code. - a) Explain in detail about kernel support for semaphores. [5+5]
OR
b) Explain briefly about the following socket APIs with clear syntax.--- Content provided by FirstRanker.com ---
i) accept() ii) connect() - a) Describe socket system calls used for connectionless protocol with syntax and usage. [5+5]
OR
b) Explain Socket address structures based on Unix domain and Internet domain. - a) Explain briefly about the following Sockets APIs with clear syntax.
--- Content provided by FirstRanker.com ---
i) Socket() ii) bind() [5+5]
--- 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