JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III SCRIPTING LANGUAGES Previous Question Paper (November/December - 2020 - R16)

B.Tech | III | II | R16 | November/December - 2020

Answer PaperPaper Code: 136SDMaximum Marks: 75Time: 2 Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

Describe the uses of scripting languages.

7 marks

Answer

Scripting languages are primarily used to automate tasks, integrate disparate software components, and enhance the functionality of existing applications. Their key uses include:

  • Automation: Automating repetitive system administration tasks, such as file management, backups, and log analysis, using shell scripts or Python.
  • Web Development: Enabling dynamic content generation on the server-side (e.g., PHP, Node.js) and interactive behavior on the client-side (JavaScript).
  • Glue Code: Serving as an interface to connect different software components or libraries written in compiled languages like C or C++, allowing developers to leverage existing high-performance code.
  • Rapid Prototyping: Facilitating quick development cycles for testing concepts before committing to a full-scale implementation in a more complex language.
  • Data Processing: Simplifying text manipulation, data extraction, and report generation through powerful string handling and regular expression support.
b

Outline the features of visual scripting.

8 marks

Answer

Visual scripting is a programming paradigm that allows users to create programs by manipulating graphical elements instead of writing text-based code. Its primary features include:

  • Node-Based Interface: Logic is represented as nodes (representing functions or data) connected by wires (representing data flow or execution order), making the program structure visually explicit.
  • Abstraction of Syntax: It removes the need for memorizing complex language syntax, semicolons, or braces, which lowers the barrier to entry for non-programmers.
  • Real-time Feedback: Many visual scripting environments provide immediate visual cues when connections are made or broken, allowing for rapid debugging and experimentation.
  • Modularity: Complex functionalities are encapsulated into reusable nodes or sub-graphs, promoting a modular design approach.
  • Event-Driven Architecture: These systems are often designed to respond to user inputs or system events, making them highly effective for game development and interactive media.
  • Lower Cognitive Load: By mapping logic to a spatial layout, it helps users visualize the flow of data, which is particularly useful for complex state machines and animation logic.
2

Describe the operating system interface facilities that are common to both Windows and UNIX implementations of PERL.

15 marks

Answer

Sign in to view the complete answer paper.

3

With an example PHP script, explain how to create and validate a simple form.

15 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Explain briefly about the following commands: i) eval ii) exec

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about Perl toolkits. Mention how it is different from TCL/TK.

10 marks

Answer

Sign in to view the complete answer paper.

5

Describe in detail on building small and efficient python web systems.

15 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

List and explain various operators available in PERL.

7 marks

Answer

Sign in to view the complete answer paper.

b

Define Hash. How to create and implement hashes in PERL? Explain.

8 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

How to embed PHP code into your web pages directly?

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain the following control structures in PHP: i) for ii) foreach iii) while iv) do-while

8 marks

Answer

Sign in to view the complete answer paper.

8

Explain in detail about how to implement authentication via a PHP script using hard-coded and data-based methods.

15 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 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech CSE III II, November/December - 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...