JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2022 SCRIPTING LANGUAGES Previous Question Paper (May - 2022 - R17)

MCA | 2022 | II | R17 | May - 2022

Answer PaperPaper Code: 842ACMaximum Marks: 75Time: 3 Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

What are the features that characterize scripting languages?

8 marks

Answer

Scripting languages are characterized by several key features that distinguish them from traditional compiled programming languages:

  • Interpreted Execution: Code is executed line-by-line by an interpreter rather than being compiled into machine code, which facilitates rapid prototyping and debugging.
  • Dynamic Typing: Variable types are determined at runtime rather than compile-time, allowing for greater flexibility and less boilerplate code.
  • High-Level Abstraction: They provide built-in support for complex data structures like lists, dictionaries, and associative arrays, hiding low-level memory management details.
  • Ease of Use: They feature concise syntax and minimal declarations, significantly reducing the lines of code required to perform common tasks.
  • Extensibility and Embedding: Scripting languages are often designed to be embedded within larger host applications or extended via libraries written in lower-level languages like C or C++.
  • Platform Independence: Most scripting languages are cross-platform, as the interpreter abstracts the underlying operating system differences.
b

What activities does traditional scripting include? Explain.

7 marks

Answer

Traditional scripting focuses on automating repetitive tasks and managing interactions between software components. The primary activities include:

  • Task Automation: Automating routine system administration tasks such as file management, backup operations, and user account provisioning using shell scripts or batch files.
  • Glue Code Development: Acting as a bridge between disparate software components or applications, allowing them to exchange data and function as a cohesive system.
  • Data Processing and Extraction: Parsing text files, logs, or structured data formats (like CSV or XML) to extract information or transform data for reporting and analysis.
  • System Configuration: Managing environment variables, setting up application configurations, and orchestrating the startup sequence of complex software environments.
  • Rapid Prototyping: Quickly building functional models of software features to test logic or user interfaces before committing to a full-scale implementation in a compiled language.
215 marks
a

Illustrate the simple uses of regular expressions in Perl.

8 marks

Answer

Sign in to view the complete answer paper.

b

Describe semi private variables with illustrations.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Which features of PHP attract both new and expert programmers alike? Explain them.

8 marks

Answer

Sign in to view the complete answer paper.

b

How to aggregate functions together as libraries and include them into the script?

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

With examples, explain complex array manipulation tasks in PHP.

8 marks

Answer

Sign in to view the complete answer paper.

b

Discuss validation of web forms. Quote common predefined validation rules.

7 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Explain the configuration directives pertinent to PHP’s mail function and give examples to highlight this function’s usage variations.

8 marks

Answer

Sign in to view the complete answer paper.

b

How to encrypt data with MCrypt package?

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Illustrate PHP authentication mechanisms.

8 marks

Answer

Sign in to view the complete answer paper.

b

Create a web page for your department using PHP.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Discuss the fundamental concepts of Tk.

8 marks

Answer

Sign in to view the complete answer paper.

b

"Eval is a general purpose building block for creating and executing Tcl scripts". Comment.

7 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

How exceptions are handled in Python?

8 marks

Answer

Sign in to view the complete answer paper.

b

What is a module in Python? Discuss any three modules being widely used by programmers.

7 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 MCA 2022 II, May - 2022, R17.

For the question paper without answers, switch to the Question Paper tab.

Other papers in SCRIPTING LANGUAGES

Loading Question Papers

Fetching data from database...