Download JNTUH MCA 4th Sem R15 2020 November 824AB Linux Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 4th Sem (Fourth Semester) Regulation-R15 2020 November 824AB Linux Programming Previous Question Paper


S OCT 2020

R15

Code No: 824AB















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA IV Semester Examinations, October/ November - 2020

LINUX PROGRAMMING

Time: 2 Hours











Max.Marks:75



Answer any five questions

All questions carry equal marks

----


1.a) Write a shell script to find the largest of 10 integers.
b)

Explain various process utilities in Linux with clear syntax.



[15]



2.a)

Write about the following UNIX commands with example.

Cal, date, echo, printf, bc, script, mailx, who, tty, sty.







b)

How to declare and implement associative arrays? Give an example.

[15]


3.a) Describe usage of dup ( ), dup2 ( ) system calls with example.

used

b) Explain about symlink ( ) function with example program.





[15]


4.

Write the syntax of the following system calls and explain with an example code.
a) telldir ( )

b) mkdir ( )













[15]


5.a)

Differentiate between fork( ) and vfork( ).

b)

What is the need of exec( ) system call? Write a C program to illustrate exec ( ). [15]


6.a) Define Signals. What do you mean by Unreliable Signals? Explain.
b) Describe SIGKILL and SIGINT with examples.









[15]


7.

Write a program and explain how to transfer a large amount of data between two
processes using Message queues.













[15]


8.

Explain briefly about the following socket APIs with clear syntax:
a) accept( )



b) connect( ) c) bind ( )









[15]





---oo0oo---


This post was last modified on 17 March 2023