JNTU

JNTU B.Tech III SCRIPTING LANGUAGES Previous Question Paper (October - 2020 - R16)

B.Tech | III | I | R16 | October - 2020

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

Answer any five questions

All questions carry equal marks

Main

115 marks
a

What are the advantages and disadvantages of Linux OS?

7 marks

Answer

Linux is an open-source, Unix-like operating system known for its stability and security. Its primary advantages include being free and open-source, allowing users to modify and distribute the kernel; high security due to its permission-based architecture and lower susceptibility to malware; stability, as it rarely requires reboots and handles heavy workloads efficiently; and flexibility, making it ideal for servers, embedded systems, and supercomputers. Conversely, its disadvantages include a steep learning curve for beginners accustomed to graphical interfaces; limited software support for proprietary applications like Adobe Creative Suite or Microsoft Office; and hardware compatibility issues where specific drivers for niche hardware may be difficult to install or configure.

b

Discuss various commands used for file management.

8 marks

Answer

File management in Linux is performed primarily through the command-line interface. Key commands include:

  • ls: Lists files and directories within a specified path.
  • cd: Changes the current working directory.
  • pwd: Prints the absolute path of the current working directory.
  • mkdir: Creates a new directory.
  • rm: Removes or deletes files or directories (using -r for recursive deletion).
  • cp: Copies files or directories from a source to a destination.
  • mv: Moves or renames files and directories.
  • touch: Creates an empty file or updates the timestamp of an existing file.
  • cat: Displays the contents of a file to the standard output.
  • chmod: Modifies file access permissions (read, write, execute).
  • chown: Changes the ownership of a file or directory.
215 marks
a

Explain the basic functionality of Linux kernel.

7 marks

Answer

Sign in to view the complete answer paper.

b

Describe the structure of Linux file system and various entries of it.

8 marks

Answer

Sign in to view the complete answer paper.

3

Discuss about the following commands in Linux:

a) netstat b) finger c) traceroute d) rlogin e) telnet

15 marks

Answer

Sign in to view the complete answer paper.

4

What is Domain Naming Service? How DNS works? Explain in detail.

15 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Differentiate between lists and Hashes.

7 marks

Answer

Sign in to view the complete answer paper.

b

Write a subroutine that calculates the sum of numbers in a list.

8 marks

Answer

Sign in to view the complete answer paper.

6

Explain various loops and decision making statements available in Perl with an illustrative example.

15 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

How a list data structure differs from an array data structure in TCL?

7 marks

Answer

Sign in to view the complete answer paper.

b

List and explain various operations performed on a list data structure.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

What do you mean by classes? How they differ from dictionaries?

7 marks

Answer

Sign in to view the complete answer paper.

b

How is operator overloading coded in a Python class? Explain with an illustration.

8 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 CSE III I, October - 2020, 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...