Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech III Year LINUX PROGRAMMING Previous Question Paper (May - 2018 - R15)

B.Tech | III Year | I | R15 | May - 2018

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

Note: This question paper contains two parts A and B. 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.

PART - A

125 marks
a

What is the importance of /tmp and /etc directories?

2 marks

Answer

The /etc directory contains all system-wide configuration files for the operating system and installed applications. The /tmp directory is used for storing temporary files created by the system and users, which are typically cleared upon reboot or periodically by system cleanup utilities.

b

List out the features of BASH shell.

3 marks

Answer

  • Supports command-line editing and history (using arrow keys).
  • Provides powerful scripting capabilities with control structures like if, for, and while.
  • Includes job control features to manage background and foreground processes.
  • Supports command aliasing and shell functions.
  • Offers extensive filename completion using the Tab key.
c

What is a sticky bit? Why is it required?

2 marks

Answer

Sign in to view the complete answer paper.

d

Write down the differences between hard linking and soft linking.

3 marks

Answer

Sign in to view the complete answer paper.

e

Give the similarities and dissimilarities between parent and its child processes.

2 marks

Answer

Sign in to view the complete answer paper.

f

What is a zombie process and explain how it may manifest itself?

3 marks

Answer

Sign in to view the complete answer paper.

g

What are the advantages and disadvantages of pipes?

2 marks

Answer

Sign in to view the complete answer paper.

h

Illustrate popen( ) system call with an example.

3 marks

Answer

Sign in to view the complete answer paper.

i

Differentiate between a connection oriented protocol and connection less protocol.

2 marks

Answer

Sign in to view the complete answer paper.

j

Discuss the process of “destroying a shared memory segment”.

3 marks

Answer

Sign in to view the complete answer paper.

PART - B

210 marks
a

Give the differences between grep, fgrep and egrep utilities.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain briefly about different blocks in LINUX file system.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What is the significance of single quotes and double quotes? Explain various conditional expressions available in the Shell programming

5 marks

Answer

Sign in to view the complete answer paper.

b

Give the syntax of ‘for’ and ‘case’ structures in Bash Shell and illustrate them with an example.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Discuss the relative merits and demerits of lseek( ) system call.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are the standard I/O Streams for opening and closing a file? Explain briefly.

5 marks

Answer

Sign in to view the complete answer paper.

OR
5

Explain the following system calls with illustrations:

a) link( ) b) chmod( ) c) getcwd( )

10 marks

Answer

Sign in to view the complete answer paper.

6

What are process identifiers? Explain the commands for getting different IDs of a calling process.

10 marks

Answer

Sign in to view the complete answer paper.

OR
7

Describe the need and usage of the following system calls:

a) kill( ) b) raise( ) c) alarm( )

10 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Compare the IPC functionality provided by message queues and fifos.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the relative merits and demerits of system V IPC Mechanisms.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

List and explain the various data structures and system calls that are associated with semaphores.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain how TCP maintains queue for listening socket.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe how to build a linked list of data objects in a shared memory segment with a sample program.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Describe the functionality of sockets in implementing remote system communication and explain various APIs associated with it.

10 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 Year I, May - 2018, 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...