JNTU

JNTU B.Tech III SCRIPTING LANGUAGES Previous Question Paper (September - 2021 - R16)

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

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

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Elaborate the basic file system functions in Linux with examples.

8 marks

Answer

Linux provides a set of system calls to manage files, which are the fundamental building blocks of the file system. Key functions include:

  • open(): Used to create or open a file. It returns a file descriptor. Example: int fd = open("file.txt", O_RDWR | O_CREAT);
  • read(): Reads data from a file descriptor into a buffer. Example: read(fd, buffer, size);
  • write(): Writes data from a buffer to a file descriptor. Example: write(fd, "Hello", 5);
  • close(): Terminates the association between the file descriptor and the file. Example: close(fd);
  • lseek(): Repositions the read/write file offset. Example: lseek(fd, 0, SEEK_SET);
  • stat(): Retrieves file metadata such as size, permissions, and ownership. Example: stat("file.txt", &file_info);
b

Illustrate the features and components of Linux kernels.

7 marks

Answer

The Linux kernel is the core interface between hardware and processes. Its primary features include modularity, multitasking, and support for symmetric multiprocessing (SMP). The key components are:

  • System Call Interface (SCI): Acts as the bridge between user-space applications and kernel services.
  • Process Management: Handles the creation, scheduling, and termination of processes using the scheduler.
  • Memory Management: Manages virtual memory, paging, and physical RAM allocation to ensure process isolation.
  • Virtual File System (VFS): Provides an abstraction layer that allows the kernel to support multiple file system formats transparently.
  • Network Stack: Implements protocols like TCP/IP to manage network communication.
  • Device Drivers: Modules that allow the kernel to communicate with specific hardware components like disks, keyboards, and network cards.
215 marks
a

What is Linux and how does it work? Explain in detail.

7 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the General usage of Linux kernel and basic commands.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Explain in detail about DHCP.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain the File Transfer Protocol in Linux.

8 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Explain about various options used in /etc/exports file.

7 marks

Answer

Sign in to view the complete answer paper.

b

What are the configuration files in NFS of Linux OS?

8 marks

Answer

Sign in to view the complete answer paper.

5

Discuss about Lists and Hashes.

15 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

What are the logical operators used for small scale operations? Explain them briefly.

8 marks

Answer

Sign in to view the complete answer paper.

b

Briefly explain the regular expressions in Perl.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Explain the TCL data structures.

8 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about the Pack Geometry Manager.

7 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Explain in detail about control flow tools in python.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain about methods in Lists of Python with appropriate examples.

7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of SCRIPTING LANGUAGES from JNTU for B.Tech CSE III I, September - 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...