JNTU

JNTU B.Tech III LINUX PROGRAMMING Previous Question Paper (January/February - 2023 - R13)

B.Tech | III | I | R13 | January/February - 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 do you understand by command substitution?

2 marks

Answer

Command substitution allows the output of a command to be replaced in the place of the command itself. It is performed by enclosing the command in backticks (`) or using the syntax $(command).

b

Name the different variables of AWK.

3 marks

Answer

The common AWK variables include: FS (Field Separator), RS (Record Separator), NF (Number of Fields), NR (Number of Records), FILENAME (current file name), OFS (Output Field Separator), and ORS (Output Record Separator).

c

What is a Sticky bit? Why is it required?

2 marks

Answer

Sign in to view the complete answer paper.

d

Give the internal representation of a file in UNIX.

3 marks

Answer

Sign in to view the complete answer paper.

e

Differentiate Threads and Processes.

2 marks

Answer

Sign in to view the complete answer paper.

f

Define Signal function.

3 marks

Answer

Sign in to view the complete answer paper.

g

What is an IPC?

2 marks

Answer

Sign in to view the complete answer paper.

h

What are the Named Pipes?

3 marks

Answer

Sign in to view the complete answer paper.

i

List the APIs for Shared Memory.

2 marks

Answer

Sign in to view the complete answer paper.

j

Give the functions for Forward/Reverse Lookup for Hostname/Service.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explain about various Text Processing Utilities.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about Interrupt Processing in Bourne shell.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What is a Filter in UNIX? Discuss about filters applicable for concatenating and comparing Files.

5 marks

Answer

Sign in to view the complete answer paper.

b

List and explain about any five metacharacters of UNIX.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Illustrate three functions in UNIX Stat().

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between Soft link and Hard link with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Discuss about Advisory locking and Mandatory locking with suitable examples.

4 marks

Answer

Sign in to view the complete answer paper.

b

Write the syntax and working of the following functions: i) mkdir() ii) rmdir() iii) chdir() iv) getcwd()

6 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

What is an Orphan Process? Illustrate with an examples program.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss in brief about Kernel support for Signals.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain the semantics of fork() and vfork() functions.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate the usage of alarm() and pause() system calls.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Discuss popen() and pclose() functions with relevant example codes.

5 marks

Answer

Sign in to view the complete answer paper.

b

With an example, explain the process of writing Messages onto a Queue.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Compare and contrast between Message Queues and Pipes.

4 marks

Answer

Sign in to view the complete answer paper.

b

Draw and explain the Kernel Data Structure for a Semaphore set.

6 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

How to control a Shared Memory segment? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about send() and recv() system calls.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain with a program how to copy file data from server to client using Shared Memory.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give the syntax and semantics of socket() function for creating a Socket.

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 JNTU for B.Tech IT III I, January/February - 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...