JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV SCRIPTING LANGUAGES Previous Question Paper (July/August - 2022 - R18)

B.Tech | IV | I | R18 | July/August - 2022

Answer PaperPaper Code: 157DUMaximum Marks: 75Time: 3 Hours

Answer Any Five Questions. All Questions carry equal marks.

Main

115 marks
a

Explain the features of journaling ext3 file system.

8 marks

Answer

The ext3 (third extended) file system was developed to address the limitations of ext2 by introducing journaling, which significantly improves reliability and recovery time. Key features include:
  • Journaling Support: The primary feature is the journal, a dedicated area on the disk that logs changes before they are committed to the main file system. This prevents data corruption during unexpected system crashes or power failures.
  • Journaling Modes: ext3 offers three distinct modes:
    • Journal mode: Both metadata and file data are written to the journal, providing the highest level of integrity but lower performance.
    • Ordered mode (default): Only metadata is journaled, but the system ensures data is written to the main disk before the metadata is committed, balancing performance and safety.
    • Writeback mode: Only metadata is journaled, offering the best performance but with a higher risk of stale data in files after a crash.
  • Backward Compatibility: ext3 is fully compatible with ext2. An ext2 file system can be converted to ext3 without reformatting, and an ext3 file system can be mounted as ext2 if necessary.
  • Online File System Growth: It allows for resizing the file system while it is mounted and active, providing flexibility for growing storage requirements.
  • HTree Indexing: Uses hashed B-trees for directory indexing, which significantly improves performance for directories containing a large number of files.
b

Illustrate general usage of Linux kernel.

7 marks

Answer

The Linux kernel serves as the core interface between the computer's hardware and its processes. Its general usage and responsibilities include:
  • Process Management: The kernel manages the creation, scheduling, and termination of processes. It uses a scheduler to allocate CPU time among multiple running tasks, ensuring multitasking efficiency.
  • Memory Management: It tracks the status of physical memory (RAM). The kernel implements virtual memory, allowing processes to access more memory than is physically available by swapping data to disk and managing page tables.
  • Device Drivers: The kernel acts as a mediator between hardware devices (like disks, keyboards, and network cards) and user-space applications. It provides a uniform interface so applications do not need to know the specific details of the hardware.
  • File System Management: It handles the organization, storage, and retrieval of data on various storage media. It provides a hierarchical structure for files and directories through a Virtual File System (VFS) layer.
  • System Calls: The kernel provides an API via system calls, which are the primary mechanism for user-space applications to request services from the kernel, such as opening a file, creating a process, or sending network packets.
  • Security and Permissions: It enforces access control lists and user permissions, ensuring that processes can only access resources for which they have authorization.
215 marks
a

Discuss the command line tools used to manage users and groups.

7 marks

Answer

Sign in to view the complete answer paper.

b

What is the role of access control lists in file security? Explain with examples.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is a network? What is the support provided by Linux for networking?

8 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate file transport protocol in Linux.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Describe the significance of domain naming services.

7 marks

Answer

Sign in to view the complete answer paper.

b

List the Linux commands used for providing network information service.

8 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

What is a regular expression? Illustrate the operators and commands of PERL for regular expressions.

8 marks

Answer

Sign in to view the complete answer paper.

b

Compare PERL scripting with Linux.

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Discuss the important points to be considered while using inheritance in PERL program.

8 marks

Answer

Sign in to view the complete answer paper.

b

Write PERL script to demonstrate data storage and extracting slices from Hashes.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Demonstrate control flow commands of Tcl.

7 marks

Answer

Sign in to view the complete answer paper.

b

Create a simple user interface using Tk widgets – buttons, list box.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Write Python script to display Pascal’s triangle in its specific format.

8 marks

Answer

Sign in to view the complete answer paper.

b

Discuss exception handling in Python with suitable script.

7 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 ECE IV I, July/August - 2022, R18.

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