JNTU
JNTU B.Tech III SCRIPTING LANGUAGES Previous Question Paper (July/August - 2023 - R16)
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
List and explain the Directory Commands in Linux.
Answer
Directory commands in Linux are used to navigate, create, and manage file system directories. Key commands include:
- pwd (Print Working Directory): Displays the absolute path of the current directory.
- ls (List): Lists the contents of a directory, showing files and subdirectories.
- cd (Change Directory): Used to navigate between different directories in the file system.
- mkdir (Make Directory): Creates a new directory.
- rmdir (Remove Directory): Deletes an empty directory.
What are the permissions for File Access in UNIX?
Answer
In UNIX, file access permissions are defined for three categories of users: the owner (u), the group (g), and others (o). For each category, there are three primary types of permissions:
- Read (r): Allows the user to view the contents of a file or list the contents of a directory.
- Write (w): Allows the user to modify or delete a file, or create/remove files within a directory.
- Execute (x): Allows the user to run a file as a program or access/enter a directory.
These permissions are represented by a 9-character string (e.g., rwxr-xr--) or numerically using octal values where read=4, write=2, and execute=1.
Write the functions of DHCP Protocol.
Answer
Sign in to view the complete answer paper.
What is DNS? Explain.
Answer
Sign in to view the complete answer paper.
How Debugging is done in PERL?
Answer
Sign in to view the complete answer paper.
Describe the implementation of Subroutines in PERL.
Answer
Sign in to view the complete answer paper.
Write a short note on Tk-visual toolkits.
Answer
Sign in to view the complete answer paper.
Discuss about namespaces in TCL.
Answer
Sign in to view the complete answer paper.
Mention the use of few Standard Libraries in Python.
Answer
Sign in to view the complete answer paper.
Give examples for while loop structures in Python.
Answer
Sign in to view the complete answer paper.
Part B
Illustrate the types of System Calls in Unix.
Answer
Sign in to view the complete answer paper.
Explain the following System calls: (i) open() (ii) seek() (iii) read() (iv) fork()
Answer
Sign in to view the complete answer paper.
Differentiate between a Process and a Program.
Answer
Sign in to view the complete answer paper.
Explain various process control commands and their options with examples.
Answer
Sign in to view the complete answer paper.
Discuss about the three states of TCP connection establishment and termination.
Answer
Sign in to view the complete answer paper.
Construct a program to illustrate bind(), listen() and accept() system calls.
Answer
Sign in to view the complete answer paper.
Briefly explain the following Networking tools: a) ping b) finger c) netstat d) tracepath e) host
Answer
Sign in to view the complete answer paper.
Explain the concept of modules and objects in Perl.
Answer
Sign in to view the complete answer paper.
Write a Perl program that reads a file containing city and country as records and creates a hash of arrays containing countries as key and cities as values.
Answer
Sign in to view the complete answer paper.
Explain various built-in operators and pattern matching statements in PERL.
Answer
Sign in to view the complete answer paper.
Distinguish the following control statements of Perl: i) While and until ii) Next and last.
Answer
Sign in to view the complete answer paper.
Analyse the use of procedures and scope in TCL with suitable examples.
Answer
Sign in to view the complete answer paper.
Discuss about the nuts and bolts of TCL Internet Programming.
Answer
Sign in to view the complete answer paper.
Discuss in detail about the variables and data structures in TCL
Answer
Sign in to view the complete answer paper.
Illustrate the use of eval, source, exec and uplevel commands in TCL with suitable examples.
Answer
Sign in to view the complete answer paper.
Compare Python Lists, Tuples and Dictionary.
Answer
Sign in to view the complete answer paper.
Write a Python program to output the greatest of three given numbers.
Answer
Sign in to view the complete answer paper.
Explain how to handle an exception using try except block with the help of a program?
Answer
Sign in to view the complete answer paper.
Construct a Python script to create a user defined exception.
Answer
Sign in to view the complete answer paper.