11-06-2013, 11:32 AM
SEMESTER EXAMINATIONS FOR SCRIPTING LANGUAGES
SCRIPTING LANGUAGES.pdf (Size: 21.28 KB / Downloads: 17)
Answer any five questions
All questions carry equal marks
1.a) Differentiate between private variables and Persistent variables.
b) Explain the iterative control structures used in Perl with examples of each.
c) Write a Perl program to perform communication between two threads.
2.a) What is Quantifier? Explain various quantifiers along with their usage in Perl.
b) Write about the regular expressions positions to be matched in a string.
3. Discuss the following array manipulation tasks clearly with example:
a) Merging
b) Slicing
c) Dissecting.
4.a) Write a recursive procedure in PHP for payment schedule calculator.
b) Discuss briefly about PHPs gettext( ) function.
c) Write the procedure for generating Binary Files in PHP.
5.a) Describe various string built-in functions and methods used in Python.
b) Write a Python program to sort the list of values in the order largest to smallest.
6.a) What are Exceptions? Explain how they are handled in Python with clear syntax and example.
b) Explain the syntax of procedures and patterns in TCL.
7.a) Explain the following functions of PHP program:
md5( ), mhash( ).
b) List the nuts and Bolts in Internet Programming.
8.a) List and explain various configurations directives available for fine-tuning PHPs file-upload capabilities.
b) Write a short note on setlocale( ) function.