JNTU
JNTU B.Tech III LINUX PROGRAMMING Previous Question Paper (August - 2022 - R13)
Answer any five questions. All questions carry equal marks.
Main
Explain in detail about Process Utilities.
Answer
Process utilities are command-line tools used to monitor, manage, and control processes running on a Linux system. Key utilities include:
- ps: Displays a snapshot of current processes. Common options include -ef for a full listing or aux for user-oriented output.
- top: Provides a dynamic, real-time view of the system, showing CPU usage, memory consumption, and active processes sorted by resource usage.
- kill: Sends a signal (default is SIGTERM) to a process identified by its Process ID (PID) to terminate it.
- nice and renice: Used to adjust the scheduling priority of a process, influencing how much CPU time it receives.
- jobs, fg, and bg: Used for job control in the shell, allowing users to list background tasks, bring them to the foreground, or resume them in the background.
- pstree: Displays running processes as a tree structure, illustrating parent-child relationships.
Discuss the pipes and Redirection.
Answer
Pipes and redirection are fundamental mechanisms for inter-process communication and input/output control in Linux.
Redirection allows a user to change the standard input (stdin), standard output (stdout), or standard error (stderr) of a command. Using operators like
Pipes use the
Explain the following commands: i) PING Command. ii) TRACEROUTE Command.
Answer
Sign in to view the complete answer paper.
Describe how an interrupt is processed.
Answer
Sign in to view the complete answer paper.
Illustrate the kernel support for files.
Answer
Sign in to view the complete answer paper.
Explain the opendir, readdir, closedir, and rewinddir functions.
Answer
Sign in to view the complete answer paper.
Discuss the system calls for file I/O operations.
Answer
Sign in to view the complete answer paper.
Describe the chmod and fchmod.
Answer
Sign in to view the complete answer paper.
Explain about the fork and vfork system call.
Answer
Sign in to view the complete answer paper.
Explain about Zombie process.
Answer
Sign in to view the complete answer paper.
Discuss the getenv, setenv, Kernel support for the process.
Answer
Sign in to view the complete answer paper.
Describe the Signal generation and handling.
Answer
Sign in to view the complete answer paper.
Explain the IPC between processes on a single computer system.
Answer
Sign in to view the complete answer paper.
Elaborate on the APIs for shared memory.
Answer
Sign in to view the complete answer paper.
Illustrate the client server program by using Multiple simultaneous clients.
Answer
Sign in to view the complete answer paper.