JNTU

JNTU B.Tech III LINUX PROGRAMMING Previous Question Paper (August/September - 2024 - R13)

B.Tech | III | I | R13 | August/September - 2024

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 does the permission string ‘rwxr-xr--’ represent?

2 marks

Answer

The permission string rwxr-xr-- indicates that the file owner has read, write, and execute permissions; the group members have read and execute permissions; and others have no permissions.

b

What is the difference between built-in commands and external commands in Bash?

3 marks

Answer

Built-in commands are executed directly within the shell process because they are part of the shell's own code (e.g., cd, echo). External commands are separate executable programs located on the disk; the shell must fork a child process and use exec to run them.

c

What does the root directory (‘/’) represent in the Unix file system hierarchy?

2 marks

Answer

Sign in to view the complete answer paper.

d

What is a symbolic (soft) link, and how does it differ from a hard link?

3 marks

Answer

Sign in to view the complete answer paper.

e

What is the purpose of the pause function in signal handling?

2 marks

Answer

Sign in to view the complete answer paper.

f

How do you terminate a process using the exit system call?

3 marks

Answer

Sign in to view the complete answer paper.

g

What is the primary difference between unnamed pipes and FIFOs (named pipes)?

2 marks

Answer

Sign in to view the complete answer paper.

h

How can semaphores be used for file locking?

3 marks

Answer

Sign in to view the complete answer paper.

i

What is shared memory, and why is it used in inter-process communication?

2 marks

Answer

Sign in to view the complete answer paper.

j

Which system call is used to establish a connection between a client and a server?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Evaluate the impact of file permissions on system security. How do different permission settings affect user access and system integrity?

5 marks

Answer

Sign in to view the complete answer paper.

b

Evaluate the importance of text processing utilities in data analysis and reporting.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain how arithmetic operations are performed in Bash.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the importance of debugging in shell scripting. What tools and techniques are available for identifying and fixing errors in Bash scripts?

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain the hierarchical structure of the Unix file system. How does this structure support organization and management of files and directories?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the difference between ‘stat’, ‘fstat’, and ‘lstat’ system calls.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Discuss the mkdir command and its options in Unix-like systems.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss how to view the contents of a directory using Unix commands.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain the layout of a C program image in main memory. What are the key segments involved, and how do they contribute to the execution of a program?

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the concepts of process groups, sessions, and controlling terminals.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain the difference between unreliable and reliable signals.

5 marks

Answer

Sign in to view the complete answer paper.

b

Compare and contrast threads and processes.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain the different methods of IPC available for processes running on a single computer system.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the process and implications of creating FIFOs in Unix-like systems.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Discuss the potential limitations and challenges associated with using message queues for IPC.

5 marks

Answer

Sign in to view the complete answer paper.

b

Describe the APIs provided for semaphore management.

5 marks

Answer

Sign in to view the complete answer paper.

10

Analyze the potential security and synchronization issues associated with shared memory. How can these issues be mitigated in a shared memory system?

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

Explain the concept of Berkeley Sockets and their significance in network communication.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of LINUX PROGRAMMING from JNTU for B.Tech IT III I, August/September - 2024, R13.

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...