JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III LINUX PROGRAMMING Previous Question Paper (July/August - 2023 - R13)

B.Tech | III | I | R13 | July/August - 2023

Answer PaperPaper Code: 115EDMaximum Marks: 75Time: 3 hours

Note: i) Question paper consists of Part A, Part B.
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

PART - A

125 marks
a

What is cat command?

2 marks

Answer

The cat (concatenate) command is used to read data from files and output their contents to the standard output. It is commonly used to display file contents, concatenate multiple files, or create new files by redirecting input.

b

What is shell and write its functionality?

3 marks

Answer

A shell is a command-line interpreter that acts as an interface between the user and the operating system kernel. Its primary functionalities include command execution, variable management, input/output redirection, pipe handling, and providing a scripting environment for automation.

c

Define inode.

2 marks

Answer

Sign in to view the complete answer paper.

d

Explain Unix file structure.

3 marks

Answer

Sign in to view the complete answer paper.

e

Define process.

2 marks

Answer

Sign in to view the complete answer paper.

f

What is reliable signal and give its advantages.

3 marks

Answer

Sign in to view the complete answer paper.

g

What is message queue?

2 marks

Answer

Sign in to view the complete answer paper.

h

Write limitations of Pipe.

3 marks

Answer

Sign in to view the complete answer paper.

i

Define thread.

2 marks

Answer

Sign in to view the complete answer paper.

j

Write the purpose of shared memory.

3 marks

Answer

Sign in to view the complete answer paper.

PART - B

210 marks
a

What is ‘l’s command? Explain in detail with all options.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a shell script to delete lines which contain a given word.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain networking related commands in Linux.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe various control structures in shell programming.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain characteristics of UNIX file structure.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is “fcntln” function and explain in detail.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Compare Hard link Vs Soft links.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain file owner ship system calls in detail.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What is fork function? Explain its syntax.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is ‘kill’ function and describe its functionalities with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Describe exec() functions and its variants.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain sleep and abort functions with example.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Describe msgget(), msgsnd() and msgrecv() functions in detail.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain client server application using named pipe.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

What is semaphore? Explain it kernel data structure.

5 marks

Answer

Sign in to view the complete answer paper.

b

Elaborate various APIs of semaphore for inter process communication.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain steps to establish communication between two processes using shared memory.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is stream socket? Explain its features.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Compare connection-oriented Vs connection less services.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain setsockopt system call.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of LINUX PROGRAMMING from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech IT III I, July/August - 2023, R13.

For the question paper without answers, switch to the Question Paper tab.

Other papers in LINUX PROGRAMMING

Loading Question Papers

Fetching data from database...