FirstRanker.com
 Firstranker's choice
 Code No: 824AB Rl 5 
--- Content provided by FirstRanker.com ---
 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
 MCA 1V Semester Examinations, June/July - 2018
 LINUX PROGRAMMING
 Time: 3hrs Max.Marks:75 
Note:
--- Content provided by FirstRanker.com ---
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, ¢ as sub questions.
 PART - A
 5 x 5 Marks =25 
- a) How can you debug the shell scripts? Explain. [5]
- b) What are soft links? And What are hard links? [5]
- a) Differentiate threads and processes. [5]
- b) Explain popen () system call. [5]
- What are the advantages of Berkeley sockets? [5]
--- Content provided by FirstRanker.com ---
 PART -B
--- Content provided by FirstRanker.com ---
5 x 10 Marks =50- Explain Backup utilities.
- Write a shell script that allows a user to view, add, delete or modify a setting in a configuration file? [5+5]
 OR
 Develop an AWK program to summarize from the list of all processes, a count of processes run by every user (including root).
- Write about text processing utilities. [5+5]
- Differentiate between the following terms:
 a) getc( ) Vs fgete() b) stat( ) Vs fsat( )
 ¢) printf( ) Vs fprint( ) d) scanf( ) Vs fscanf{( ). [5+5]
 OR--- Content provided by FirstRanker.com --- Write a program to print the type of a file for each command line argument. [10]
- What are the signals that are not ignored or blocked? Explain the reason behind it with an example? Illustrate SIGKILL and SIGINT with an example program. [5+5]
 OR
 Differentiate between fork( ) and vfork( ).
 Write the syntax of six versions of exec functions and also explain how these functions differ from each other. [5+5]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
 FirstRanker.com
 Firstranker's choice 
- Explain the following concepts about pipes:
 a) Pipes between two process b) Pipes among three processes. [5+5]--- Content provided by FirstRanker.com --- OR
 What is message queue explain with example?
- Write a program to implement two-way communication using pipes. [5+5]
- Explain a stream socket with a illustrative example for client/server program. [10]
 OR--- Content provided by FirstRanker.com --- Explain briefly about the following socket APIs with clear syntax:
 a) socket() b) bind() c) listen( ) d) accept() e)connect( ). [10]
---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
