Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech III LINUX PROGRAMMING Previous Question Paper (May/June - 2019 - R15)

B.Tech | III | I | R15 | May/June - 2019

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

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.

Part A

125 marks
a

What is a shell variable?

2 marks

Answer

A shell variable is a name associated with a value, used by the shell to store data such as configuration settings, path information, or temporary script data. It is defined using the syntax VARIABLE=value and accessed by prefixing the name with a $ sign.

b

Briefly explain grep command with all options.

3 marks

Answer

The grep command is used to search for patterns within files. Common options include -i (ignore case), -v (invert match to show non-matching lines), -r (recursive search in directories), -l (list filenames only), -n (display line numbers), and -c (count matching lines).

c

Explain briefly about Inode pointer structure.

2 marks

Answer

Sign in to view the complete answer paper.

d

What is system call?

3 marks

Answer

Sign in to view the complete answer paper.

e

What are reliable signals?

2 marks

Answer

Sign in to view the complete answer paper.

f

What is fork and vfork?

3 marks

Answer

Sign in to view the complete answer paper.

g

What is inter process communication? Explain.

2 marks

Answer

Sign in to view the complete answer paper.

h

What is message queue?

3 marks

Answer

Sign in to view the complete answer paper.

i

What is shared memory?

2 marks

Answer

Sign in to view the complete answer paper.

j

Difference between stream sockets and datagram sockets.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Describe the relationship between the kernel, shell and the user, with the help of a diagram.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is command substitution? What is the token used with command substitution?

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain the following filters with examples: i) Head ii) tail iii) cut iv) more

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the salient feature of the LINUX operating system?

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain the Linux file system and its structure in detail.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write short notes on hard link and symbolic links.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Write a program to illustrate file locking using fcntl function.

5 marks

Answer

Sign in to view the complete answer paper.

b

List the Linux file attributes with their meanings.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain the following with example: i) Kill and raise functions ii) abort and sleep functions

5 marks

Answer

Sign in to view the complete answer paper.

b

What is a process? Explain about Zombie process.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain about kernel support for signals. Explain about signal functions.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is an Orphan process? Explain reasons for Orphan process.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain with an example client server communication using a FIFO.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the popen and pclose function to create pipe.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

What is semaphore? Explain the procedure to use semaphores.

5 marks

Answer

Sign in to view the complete answer paper.

b

Draw the structure and explain about the “semaphores structure in the kernel”.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write a program on single server-client connection.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the reserved ports in Berkely sockets? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain a stream socket with a illustrative example for client/server program.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about shared area with kernel support in Linux.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of LINUX PROGRAMMING from Jawaharlal Nehru Technological University Hyderabad for B.Tech IT III I, May/June - 2019, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in LINUX PROGRAMMING

Loading Question Papers

Fetching data from database...