JNTU
JNTU B.Tech III SCRIPTING LANGUAGES Previous Question Paper (October - 2020 - R16)
Answer any five questions
All questions carry equal marks
Main
What are the advantages and disadvantages of Linux OS?
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.
Discuss various commands used for file management.
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.
Explain the basic functionality of Linux kernel.
Answer
Sign in to view the complete answer paper.
Describe the structure of Linux file system and various entries of it.
Answer
Sign in to view the complete answer paper.
Discuss about the following commands in Linux:
a) netstat b) finger c) traceroute d) rlogin e) telnet
Answer
Sign in to view the complete answer paper.
What is Domain Naming Service? How DNS works? Explain in detail.
Answer
Sign in to view the complete answer paper.
Differentiate between lists and Hashes.
Answer
Sign in to view the complete answer paper.
Write a subroutine that calculates the sum of numbers in a list.
Answer
Sign in to view the complete answer paper.
Explain various loops and decision making statements available in Perl with an illustrative example.
Answer
Sign in to view the complete answer paper.
How a list data structure differs from an array data structure in TCL?
Answer
Sign in to view the complete answer paper.
List and explain various operations performed on a list data structure.
Answer
Sign in to view the complete answer paper.
What do you mean by classes? How they differ from dictionaries?
Answer
Sign in to view the complete answer paper.
How is operator overloading coded in a Python class? Explain with an illustration.
Answer
Sign in to view the complete answer paper.