JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III SCRIPTING LANGUAGES Previous Question Paper (March - 2021 - R16)

B.Tech | III | I | R16 | March - 2021

Answer PaperPaper Code: 135DAMaximum Marks: 75Time: 3 hours

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Write the procedure for searching a file and directory.

7 marks

Answer

To search for files and directories in a Linux environment, the find command is the primary utility. The basic syntax is:

find [path] [expression]

The procedure involves the following steps:

  • Specify the starting directory (e.g., '.' for current, '/' for root).
  • Define the search criteria using options such as -name (by filename), -type (f for file, d for directory), -size (by file size), or -user (by owner).
  • Optionally, use logical operators like -o (OR) or -not to refine the search.
  • Execute the command to traverse the directory tree recursively and return matches.

Example: To find all files named 'config.txt' in the /etc directory, use:

find /etc -name "config.txt" -type f

b

Discuss the File System of the Linux.

8 marks

Answer

The Linux file system follows a hierarchical tree structure, starting from a single root directory denoted by a forward slash (/). Everything in Linux, including hardware devices, is treated as a file.

Key characteristics and standard directories include:

  • /bin and /usr/bin: Contain essential user command binaries.
  • /etc: Stores system-wide configuration files.
  • /home: Contains personal directories for individual users.
  • /root: The home directory for the superuser.
  • /var: Holds variable data files, such as logs and spool files.
  • /dev: Contains device files representing hardware components.
  • /proc: A virtual file system providing information about processes and kernel parameters.

Linux supports various file system types (e.g., ext4, XFS, Btrfs) that manage data storage, access permissions, and metadata. The Virtual File System (VFS) layer allows the kernel to interact with these different physical file systems uniformly, providing a consistent interface for applications.

2

Give a brief note on zipping and unzipping concepts.

15 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Explain the Network file system.

8 marks

Answer

Sign in to view the complete answer paper.

b

Describe the Network information Services.

7 marks

Answer

Sign in to view the complete answer paper.

4

List and explain the tools used in Linux networking.

15 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Write a short note on References and Subroutines in Perl.

7 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the Files and Data in Perl Scripting.

8 marks

Answer

Sign in to view the complete answer paper.

6

With the help of examples, explain pattern and regular expressions in Perl.

15 marks

Answer

Sign in to view the complete answer paper.

7

Compare scripting languages. Among TCL, TK and Perl which one is better suitable for web application? Why?

15 marks

Answer

Sign in to view the complete answer paper.

8

Write about exception handling in python in detail with a snippet of code.

15 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 IT III I, March - 2021, 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...