JNTU
JNTU B.Tech IV LINUX PROGRAMMING Previous Question Paper (July/August - 2022 - R16)
Answer any five questions. All questions carry equal marks.
Main
Enumerate File handling utilities.
Answer
File handling utilities are essential commands used to manage, manipulate, and organize files and directories in the Linux environment. Key utilities include:
- cat: Used to display, create, or concatenate file contents.
- cp: Used to copy files or directories from a source to a destination.
- mv: Used to move or rename files and directories.
- rm: Used to remove or delete files and directories.
- ls: Used to list the contents of a directory.
- touch: Used to update file timestamps or create empty files.
- head/tail: Used to view the beginning or end portions of a file.
Write a short note on Process Utilities.
Answer
Process utilities are tools used to monitor, manage, and control the execution of processes within the operating system. These utilities allow users to view system resource usage and terminate unresponsive tasks. Common process utilities include:
- ps: Displays a snapshot of current processes with their PIDs and status.
- top: Provides a dynamic, real-time view of running system processes and resource consumption.
- kill: Sends a signal (typically SIGTERM or SIGKILL) to a process to terminate it based on its PID.
- nice/renice: Used to adjust the scheduling priority of a process.
- jobs: Lists active jobs running in the current shell session.
Explain System commands in awk.
Answer
Sign in to view the complete answer paper.
Enumerate Text processing utilities and Backup utilities.
Answer
Sign in to view the complete answer paper.
List out shell responsibilities.
Answer
Sign in to view the complete answer paper.
Write a short note on debugging shell scripts.
Answer
Sign in to view the complete answer paper.
Explain about File System Structure.
Answer
Sign in to view the complete answer paper.
Write a short note on kernel support for files.
Answer
Sign in to view the complete answer paper.
What is a Directory? Explain commands for Creating, removing and changing Directories.
Answer
Sign in to view the complete answer paper.
Explain system calls for file I/O operations.
Answer
Sign in to view the complete answer paper.
Explain the commands for File Ownership.
Answer
Sign in to view the complete answer paper.
What is a Process? Explain the differences between threads and processes.
Answer
Sign in to view the complete answer paper.
What is a Signal? Explain about Kernel support for signals.
Answer
Sign in to view the complete answer paper.
Explain about reliable and unreliable Signals.
Answer
Sign in to view the complete answer paper.
Write a short note on Sessions and Controlling Terminal.
Answer
Sign in to view the complete answer paper.
Explain about Process Identification.
Answer
Sign in to view the complete answer paper.
What is Interprocess Communication? Explain IPC between related processes using unnamed pipes.
Answer
Sign in to view the complete answer paper.
Explain Kernel support for shared memory.
Answer
Sign in to view the complete answer paper.
Write a short note on Berkeley Sockets.
Answer
Sign in to view the complete answer paper.