JNTU

JNTU B.Tech III SCRIPTING LANGUAGES Previous Question Paper (July/August - 2023 - R16)

B.Tech | III | I | R16 | July/August - 2023

Answer PaperPaper Code: 135DAMaximum 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

1a

List and explain the Directory Commands in Linux.

2 marks

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

What are the permissions for File Access in UNIX?

3 marks

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.

1c

Write the functions of DHCP Protocol.

2 marks

Answer

Sign in to view the complete answer paper.

1d

What is DNS? Explain.

3 marks

Answer

Sign in to view the complete answer paper.

1e

How Debugging is done in PERL?

2 marks

Answer

Sign in to view the complete answer paper.

1f

Describe the implementation of Subroutines in PERL.

3 marks

Answer

Sign in to view the complete answer paper.

1g

Write a short note on Tk-visual toolkits.

2 marks

Answer

Sign in to view the complete answer paper.

1h

Discuss about namespaces in TCL.

3 marks

Answer

Sign in to view the complete answer paper.

1i

Mention the use of few Standard Libraries in Python.

2 marks

Answer

Sign in to view the complete answer paper.

1j

Give examples for while loop structures in Python.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Illustrate the types of System Calls in Unix.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the following System calls: (i) open() (ii) seek() (iii) read() (iv) fork()

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Differentiate between a Process and a Program.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain various process control commands and their options with examples.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Discuss about the three states of TCP connection establishment and termination.

5 marks

Answer

Sign in to view the complete answer paper.

b

Construct a program to illustrate bind(), listen() and accept() system calls.

5 marks

Answer

Sign in to view the complete answer paper.

OR
5

Briefly explain the following Networking tools: a) ping b) finger c) netstat d) tracepath e) host

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain the concept of modules and objects in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

b

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.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain various built-in operators and pattern matching statements in PERL.

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish the following control statements of Perl: i) While and until ii) Next and last.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Analyse the use of procedures and scope in TCL with suitable examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about the nuts and bolts of TCL Internet Programming.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Discuss in detail about the variables and data structures in TCL

5 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate the use of eval, source, exec and uplevel commands in TCL with suitable examples.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Compare Python Lists, Tuples and Dictionary.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a Python program to output the greatest of three given numbers.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain how to handle an exception using try except block with the help of a program?

5 marks

Answer

Sign in to view the complete answer paper.

b

Construct a Python script to create a user defined exception.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of SCRIPTING LANGUAGES from JNTU for B.Tech ITE III I, July/August - 2023, R16.

For the question paper without answers, switch to the Question Paper tab.

Other papers in SCRIPTING LANGUAGES

Loading Question Papers

Fetching data from database...