JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III LINUX PROGRAMMING Previous Question Paper (July/August - 2023 - R13)
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
What is cat command?
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.
What is shell and write its functionality?
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.
Define inode.
Answer
Sign in to view the complete answer paper.
Explain Unix file structure.
Answer
Sign in to view the complete answer paper.
Define process.
Answer
Sign in to view the complete answer paper.
What is reliable signal and give its advantages.
Answer
Sign in to view the complete answer paper.
What is message queue?
Answer
Sign in to view the complete answer paper.
Write limitations of Pipe.
Answer
Sign in to view the complete answer paper.
Define thread.
Answer
Sign in to view the complete answer paper.
Write the purpose of shared memory.
Answer
Sign in to view the complete answer paper.
PART - B
What is ‘l’s command? Explain in detail with all options.
Answer
Sign in to view the complete answer paper.
Write a shell script to delete lines which contain a given word.
Answer
Sign in to view the complete answer paper.
Explain networking related commands in Linux.
Answer
Sign in to view the complete answer paper.
Describe various control structures in shell programming.
Answer
Sign in to view the complete answer paper.
Explain characteristics of UNIX file structure.
Answer
Sign in to view the complete answer paper.
What is “fcntln” function and explain in detail.
Answer
Sign in to view the complete answer paper.
Compare Hard link Vs Soft links.
Answer
Sign in to view the complete answer paper.
Explain file owner ship system calls in detail.
Answer
Sign in to view the complete answer paper.
What is fork function? Explain its syntax.
Answer
Sign in to view the complete answer paper.
What is ‘kill’ function and describe its functionalities with an example.
Answer
Sign in to view the complete answer paper.
Describe exec() functions and its variants.
Answer
Sign in to view the complete answer paper.
Explain sleep and abort functions with example.
Answer
Sign in to view the complete answer paper.
Describe msgget(), msgsnd() and msgrecv() functions in detail.
Answer
Sign in to view the complete answer paper.
Explain client server application using named pipe.
Answer
Sign in to view the complete answer paper.
What is semaphore? Explain it kernel data structure.
Answer
Sign in to view the complete answer paper.
Elaborate various APIs of semaphore for inter process communication.
Answer
Sign in to view the complete answer paper.
Explain steps to establish communication between two processes using shared memory.
Answer
Sign in to view the complete answer paper.
What is stream socket? Explain its features.
Answer
Sign in to view the complete answer paper.
Compare connection-oriented Vs connection less services.
Answer
Sign in to view the complete answer paper.
Explain setsockopt system call.
Answer
Sign in to view the complete answer paper.