JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

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

MCA | 2019 | II | R17 | April/May - 2019

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

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

Part A

Answer all questions. 5 × 5 Marks = 25

125 marks
a

What is the phenomenon of Perl? Explain about hashes.

5 marks

Answer

Perl is often described by the phenomenon of TMTOWTDI (There's More Than One Way To Do It), which emphasizes flexibility and expressive power, allowing developers to solve problems using various programming paradigms. Hashes in Perl are associative arrays that store data as unordered collections of key-value pairs. They are denoted by the prefix %. Keys are unique strings used to index the hash, and values can be any scalar data. Accessing a specific value is performed using the syntax $hash_name{$key}.

b

Discuss about objects in detail.

5 marks

Answer

Objects in Perl are implemented using references and packages. An object is simply a reference that knows which class it belongs to, achieved through the bless function. A class is a package that provides methods to operate on these objects. When a method is called, the object reference is passed as the first argument, typically referred to as $self. Perl supports inheritance through the @ISA array, allowing classes to inherit methods from parent classes.

c

What are features of PHP? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

d

Explain about variables and data in the Tcl.

5 marks

Answer

Sign in to view the complete answer paper.

e

What are Python statements? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

Answer one question from each unit. 5 × 10 Marks = 50

2

What are uses for scripting languages? Explain in detail.

10 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What are characteristics of scripting languages? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about working with arrays and lists in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain about data structure and packages in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss about dirty hands interment programming.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Describe modules in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about interfacing to the operating system in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Discuss about string interpolation in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain functions of merging, slicing, splicing and dissecting arrays.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Describe creating function and passing arguments in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

b

What are file inclusion statements in PHP? Explain with examples.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

How to work with files and pipes in Tcl? Explain with examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is a procedure? Explain procedures in Tcl with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

What are fundamental concepts of Tk? Explain in detail.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Loops in Python

5 marks

Answer

Sign in to view the complete answer paper.

b

Web application framework.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Explain Exception handing in python.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of SCRIPTING LANGUAGES from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA 2019 II, April/May - 2019, R17.

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...