JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2023 SCRIPTING LANGUAGES Previous Question Paper (March - 2023 - R17)

MCA | 2023 | II | R17 | March - 2023

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

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

Write down the characteristics of scripting languages.

5 marks

Answer

Scripting languages are characterized by the following features:

  • Interpreted nature: Code is executed line-by-line by an interpreter rather than being compiled into machine code.
  • Dynamic typing: Variables do not require explicit type declarations; types are determined at runtime.
  • Ease of use: They generally have simpler syntax and require less boilerplate code compared to system programming languages.
  • High-level abstraction: They provide built-in support for complex data structures like lists, dictionaries, and associative arrays.
  • Extensibility: They are often designed to be embedded within or to control other software applications.
b

Explain briefly about pack and unpack commands in Perl.

5 marks

Answer

In Perl, pack and unpack are used for binary data conversion:

  1. pack: Converts a list of values into a binary string based on a specified template. It is essential for creating data structures that can be written to binary files or sent over network sockets.
  2. unpack: Performs the inverse operation, taking a binary string and converting it back into a list of Perl values according to the provided template.

These commands are crucial for handling fixed-length binary formats and interfacing with C structures or low-level system protocols.

c

Write the procedure for uploading a file using PHP.

5 marks

Answer

Sign in to view the complete answer paper.

d

Describe the grammar that determines valid statements in TCL.

5 marks

Answer

Sign in to view the complete answer paper.

e

Why is python Indentation more important? State some of the indentation rules. How to avoid python Indentation errors?

5 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Explore the basic capabilities and features of PERL.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to define and call subroutines in Perl? Illustrate by example scripts.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What is meant by web scripting? Explain the need and uses of web scripting.

5 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate how to create arrays and list data structures in Perl with example scripts?

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Describe the concept of typeglob in Perl.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate sysread() and syswrite() functions in perl.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

What is the need for referencing and dereferencing operations?

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain the application of references to arrays and hashes with illustration.

6 marks

Answer

Sign in to view the complete answer paper.

6

Examines PHP’s built-in authentication feature and demonstrates several authentication methodologies.

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain in detail about printf() and sprint() statements in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss briefly about md5() and mhash() functions in PHP.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Give the structure of the TCL application and illustrate the interaction between the TCL interpreter and the application.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to build, create and use list and arrays in TCL? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain the for and for each loops available in TCL.

4 marks

Answer

Sign in to view the complete answer paper.

b

Write down the nuts and bolts of internet programming using TCL.

6 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

How to read and even change global variables from inside functions? Illustrate with an example python program.

5 marks

Answer

Sign in to view the complete answer paper.

b

Demonstrate nested function in python with an example code.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

How to build an efficient web system using python? Explain in detail.

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 2023 II, March - 2023, 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...