This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
Code No: 813AM
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
MCA I Semester Examinations, June/July - 2018
LINUX PROGRAMMING
Time: 3 Hours Max. Marks: 60
Note:
- This question paper contains two parts A and B.
- Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.
--- Content provided by FirstRanker.com ---
PART - A
5 x 4 Marks =20
- Explain command substitution. [4]
- Explain the functionality of lseek() function. [4]
- What is the difference between wait() and waitpid(). [4]
- With the help of syntax explain popen() function. [4]
- Explain how to perform IPC between processes over a network. [4]
--- Content provided by FirstRanker.com ---
PART -B
5 x 8 Marks =40
--- Content provided by FirstRanker.com ---
- Explain various process utilities available in linux.
OR
Write a shell script that deletes all lines containing a specified word in one or more files supplied as arguments to it. [4+4] - Develop an AWK program to summarize from the list of all processes, a count of processes run by every user (including root).
OR
Write about text processing utilities. [4+4] - Differentiate between the following terms:
- getc( ) Vs fgetc()
- stat( ) Vs fstat( )
- printf( ) Vs fprintf( )
- scanf( ) Vs fscanf( ). [8]
--- Content provided by FirstRanker.com ---
OR
Explain the file and record locking techniques with relevant example code snippet? [8] - Explain the layout of a C program image in main memory.
OR
Define orphan process. Write a program to illustrate the orphan process concept. [4+4] - 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? [8]
OR
Describe the API provided by linux for semaphores. [8] - Write a program and explain how to transfer a large amount of data between two processes using Message queues? [8]
OR
--- Content provided by FirstRanker.com ---
Describe Socket system calls used for connectionless protocol with syntax and usage.[8] - Explain with a program how to copy file data from server to client using shared memory? [8]
--- Content provided by FirstRanker.com ---
--00000--
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university