JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2018 SCRIPTING LANGUAGES Previous Question Paper (January - 2018 - R15)
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.
Compare and contrast arrays and list in Perl.
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.
Write a short note on string interpolation in Perl.
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
Write a program in PHP to perform arithmetic operations using functions.
Answer
Sign in to view the complete answer paper.
Explain installation, compiling, and executing TCL/TK programs in Linux.
Answer
Sign in to view the complete answer paper.
Illustrate the importance of Web Application Framework.
Answer
Sign in to view the complete answer paper.
Part B
Answer any one full question from each unit. Each question carries 10 marks.
How would you organize Names and Values, Variables in PERL.
Answer
Sign in to view the complete answer paper.
Classify the Characteristics of Scripting Languages.
Answer
Sign in to view the complete answer paper.
Explain Names and Values in PERL.
Answer
Sign in to view the complete answer paper.
Write a web Scripting program that display user name and password field in PERL.
Answer
Sign in to view the complete answer paper.
Write a PERL script program to change the case of the text entered in a text box.
Answer
Sign in to view the complete answer paper.
Explain about the various servers in PHP and its importance.
Answer
Sign in to view the complete answer paper.
Illustrate how packages are created in PERL with an example.
Answer
Sign in to view the complete answer paper.
What is meant by a function call in PHP? List the advantages of functions.
Answer
Sign in to view the complete answer paper.
What is a File. Write a program in PHP that uploads and downloads a document.
Answer
Sign in to view the complete answer paper.
Explain steps how to connect database in PHP with an example program.
Answer
Sign in to view the complete answer paper.
Differentiate actual and formal parameter in TCL.
Answer
Sign in to view the complete answer paper.
Explain about the Tk-Visual Tool Kits with examples.
Answer
Sign in to view the complete answer paper.
How to create an Internet application in TCL. Explain the associated namespace.
Answer
Sign in to view the complete answer paper.
Give an overview of Nuts and Bolts of Internet Programming.
Answer
Sign in to view the complete answer paper.
How Python can be used for web development. List out Web Frameworks for Python.
Answer
Sign in to view the complete answer paper.
What is Python? Compare it with other technologies.
Answer
Sign in to view the complete answer paper.
Classify the different modules in Python.
Answer
Sign in to view the complete answer paper.