JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2018 SCRIPTING LANGUAGES Previous Question Paper (January - 2018 - R15)

MCA | 2018 | II | R15 | January - 2018

Answer PaperPaper Code: 821AHMaximum Marks: 75Time: 3hrs

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.

Part A

Answer all questions. Each question carries 5 marks.

125 marks
a

Compare and contrast arrays and list in Perl.

5 marks

Answer

In Perl, arrays and lists are closely related but conceptually distinct. A list is a sequence of scalar values, which is a temporary structure often used for passing arguments or initializing arrays. An array is a named variable that stores a list as its value, providing a persistent storage mechanism.

Key differences include: 1) Arrays are variables (prefixed with @), whereas lists are values. 2) Arrays can be modified (elements added/removed), while lists are immutable sequences. 3) You can assign a list to an array, but you cannot assign an array to a list in the same way.

b

Write a short note on string interpolation in Perl.

5 marks

Answer

String interpolation in Perl is the process of embedding variable values directly within double-quoted strings. When a string is enclosed in double quotes, Perl scans the string for scalar variables (prefixed with $) or array slices and replaces them with their current values.

For example, if

$name = "Alice";
, then the string
"Hello $name"
evaluates to
"Hello Alice"
. This feature simplifies string concatenation and improves code readability compared to using the dot operator for joining strings.

c

Write a program in PHP to perform arithmetic operations using functions.

5 marks

Answer

Sign in to view the complete answer paper.

d

Explain installation, compiling, and executing TCL/TK programs in Linux.

5 marks

Answer

Sign in to view the complete answer paper.

e

Illustrate the importance of Web Application Framework.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

Answer any one full question from each unit. Each question carries 10 marks.

210 marks
a

How would you organize Names and Values, Variables in PERL.

5 marks

Answer

Sign in to view the complete answer paper.

b

Classify the Characteristics of Scripting Languages.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain Names and Values in PERL.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a web Scripting program that display user name and password field in PERL.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Write a PERL script program to change the case of the text entered in a text box.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the various servers in PHP and its importance.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Illustrate how packages are created in PERL with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is meant by a function call in PHP? List the advantages of functions.

5 marks

Answer

Sign in to view the complete answer paper.

6

What is a File. Write a program in PHP that uploads and downloads a document.

10 marks

Answer

Sign in to view the complete answer paper.

OR
7

Explain steps how to connect database in PHP with an example program.

10 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Differentiate actual and formal parameter in TCL.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the Tk-Visual Tool Kits with examples.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

How to create an Internet application in TCL. Explain the associated namespace.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give an overview of Nuts and Bolts of Internet Programming.

5 marks

Answer

Sign in to view the complete answer paper.

10

How Python can be used for web development. List out Web Frameworks for Python.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

What is Python? Compare it with other technologies.

5 marks

Answer

Sign in to view the complete answer paper.

b

Classify the different modules in Python.

5 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 2018 II, January - 2018, R15.

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

Other papers in SCRIPTING LANGUAGES

Loading Question Papers

Fetching data from database...