Scripting Languages
Scripting Languages
Scripting Languages
OR
2(a) Define regular expression. Explain about Regular Expressions in Perl? [7M]
(b) List out the data types that Perl can handle? [7M]
SECTION-II
3(a) Explain any four Text Formatting Tags in HTML. [10M]
(b) Discuss about the advantages of java script [4M]
OR
4(a) What are Style Sheets? List down the ways of including style information in a [7M]
document.
(b) How scripting language is differentiated from HTML [7M]
SECTION-III
5(a) Explain the process of event handling in java script [7M]
(b) Give commands to execute a Python script [7M]
OR
6(a) Explain the importance of indentation in python with an example. [7M]
(b) Demonstrate the usage of frames with an example in java script [7M]
SECTION-IV
7(a) Explain Tuple Assignment with example. [7M]
(b) Can tuple be a return type. Justify your answer. [7M]
OR
8(a) How to merge two dictionaries? Give an example. [7M]
(b) When dictionary is used instead of a list? [7M]
SECTION-V
9 Explain in detail about Control flow structures [14M]
OR
10(a) Define fruitful functions in python. [7M]
(b) Define range () function and its syntax. [7M]
**********
Page 1 of 4
R17
Code No: R17A01251
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Model Question Paper
Introduction to Scripting Languages
(IT)
Roll No
(b) Write an example program to print Fibonacci series with the help of functions in
javascript
SECTION-III
5(a) List The Various Dialog Boxes In Java Script [7M]
(b) How Validation Is Done In Javascript. Give An Example. [7M]
OR
6(a) How to take user defined input in python with an example program. [7M]
(b) List and explain the data types in python [7M]
SECTION-IV
7 Write code snippets in Python to perform the following a. Accessing Elements of [14M]
a Tuple b. Modifying Elements of a Tuple c. Deleting Elements of a Tuple
OR
8 Explain the following: a. List Slicing b. List Accessing Methods c. List Cloning [14M]
SECTION-V
9(a) Discuss the usage of break, continue, pass statements in python [14M]
(b) How many ways are there in python to pass arguments to a function
OR
10(a) Explain the concept of scope of variables: Global and Local in python [7M]
(b) Explain how python handles variable length arguments [7M]
**********
Page 2 of 4
R17
Code No: R17A01251
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Model Question Paper
Introduction to Scripting Languages
(IT)
Roll No
OR
2(a) Differentiate between Programs and Scripts [7M]
(b) Is scripting is useful in terms of Web. If so, how it is useful. [7M]
SECTION-II
3(a) Develop the web page for employee management system and validate all the [14M]
fields using java script.
OR
4(a) Write a JavaScript function to find the average of the individual numbers in a [7M]
given digit.
(b) Explain about cascading style sheets in detail. i. Style sheet rules ii. Styling a [7M]
page iii. Linking style sheets iv. Inline style sheets.
SECTION-III
5(a) Design a web page with a text box (username) where the user can enter a name [14M]
and another text box (ID) where the user enter an only four digit ID.NO and a
button “validate”. Validate the entered username and ID field for the following
using java script. i. Both the fields should not be empty ii. Name field should
have alphabets iii. ID field should have numeric.
OR
6(a) In python, single & and double quoted strings are the same? What is the purpose [7M]
of triple quotes in multiline python program?
(b) What is the need of Python programming? Discuss the python’s history & [7M]
applications of python.
SECTION-IV
7(a) Explain the order of evaluations of expressions in python. [7M]
(b) Explain about operators in Python [7M]
OR
8(a) Write about sets & dictionaries with examples. [7M]
(b) Why tuples are used. Explain tuples comparing with lists [7M]
SECTION-V
9(a) Write about the functions that return a result in python [7M]
(b) Write a python function to check whether the given string is palindrome or not. [7M]
OR
10 Discuss Function arguments in Python [14M]
**********
Page 3 of 4
R17
Code No: R17A01251
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Model Question Paper
Introduction to Scripting Languages
(IT)
Roll No
OR
2(a) In how many ways, scripting is useful now. [7M]
(b) How to evaluate scalar expressions in PERL. [7M]
SECTION-II
3(a) Explain any 5 advanced HTML tags. [10M]
(b) Discuss about objects in JavaScript [4M]
OR
4(a) Explain importance of Frame tag in HTML. [7M]
10(a) Write a python script to find the reverse of a given number [7M]
(b) Write a python script to split the array and add the first part at the end. [7M]
**********
Page 4 of 4