JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III SCRIPTING LANGUAGES Previous Question Paper (August/September - 2024 - R16)

B.Tech | III | III-I | R16 | August/September - 2024

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

1.a

Which is the default file system of Linux? List its advantages.

2 marks

Answer

The default file system for most modern Linux distributions is ext4 (Fourth Extended Filesystem). Its primary advantages include:

  • Improved Performance and Scalability: It supports volumes up to 1 exbibyte and files up to 16 tebibytes, offering better disk space allocation and faster read/write speeds compared to its predecessors.
  • Journaling Support: It uses journaling to track changes, which significantly improves system reliability and reduces the time required for file system recovery after an unexpected crash or power failure.
1.b

What are the permissions for File Access in UNIX?

3 marks

Answer

In UNIX, file access permissions are defined by three categories of users: the owner (user), the group, and others. For each category, there are three fundamental 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 the contents of a file or create/remove files within a directory.
  • Execute (x): Allows the user to run a file as a program or script, or enter/access a directory.

These permissions are represented numerically using an octal system where read=4, write=2, and execute=1, allowing a total of 7 for full access per category.

1.c

What is the function of DNS?

2 marks

Answer

Sign in to view the complete answer paper.

1.d

List the Red Hat network features.

3 marks

Answer

Sign in to view the complete answer paper.

1.e

How to use eval function?

2 marks

Answer

Sign in to view the complete answer paper.

1.f

What object oriented features are supported by Perl?

3 marks

Answer

Sign in to view the complete answer paper.

1.g

What is the purpose of canvas in Tk?

2 marks

Answer

Sign in to view the complete answer paper.

1.h

Give Tcl structure.

3 marks

Answer

Sign in to view the complete answer paper.

1.i

List Python datatypes.

2 marks

Answer

Sign in to view the complete answer paper.

1.j

Compare echo and print statements in Python.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

With examples, explain Linux commands to perform file search and directory search.

6 marks

Answer

Sign in to view the complete answer paper.

b

Give the syntax of ‘chmod’ command in Linux and illustrate with example.

4 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Describe various commands used for text processing in Linux.

6 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate the commands used for zipping and unzipping in Linux.

4 marks

Answer

Sign in to view the complete answer paper.

4

Explain various network administration tools to configure a network connection.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Describe file transfer protocol in Linux.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a note on network information services.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Demonstrate navigating the file system using Perl code.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give a brief summary of regular expressions in PERL.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Differentiate Lists from hashes in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write Perl subroutine to find factorial of a given number (parameter).

5 marks

Answer

Sign in to view the complete answer paper.

8

Describe control flow commands of Tcl with illustrative examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

How are events handled in Tk? Illustrate briefly.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write Tk script to create a login page for user.

5 marks

Answer

Sign in to view the complete answer paper.

10

Discuss the main features of Python that made it the most preferred language.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Write Python script to validate user phone number.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the significance of numpy package of Pyhton.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of SCRIPTING LANGUAGES from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech CSE III III-I, August/September - 2024, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in SCRIPTING LANGUAGES

Loading Question Papers

Fetching data from database...