Scripting Languages

Download as pdf or txt
Download as pdf or txt
You are on page 1of 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

Time: 3 hours Max.


Marks: 70
Note: This question paper Consists of 5 Sections. Answer FIVE Questions, Choosing ONE
Question from each SECTION and each Question carries 14 marks.
*****
SECTION-I
1(a) Explain various built-in operators and pattern matching modifiers in Perl. [10M]
(b) What are the characteristics of Scripting Languages [4M]

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

Time: 3 hours Max.


Marks: 70
Note: This question paper Consists of 5 Sections. Answer FIVE Questions, Choosing ONE
Question from each SECTION and each Question carries 14 marks.
*****
SECTION-I
1(a) Discuss the uses of Scripting Languages [10M]
(b) Explain the different types control statements available in Perl. Discuss about [4M]
them with examples.
OR
2(a) Explain about how to access, create and process an array with an example in Perl. [7M]
(b) What is “scalar” context, “list” context, “void” context? Would you be able to [7M]
write an example to demonstrate how they differ?
SECTION-II
3(a) Explain how to include an image in an HTML page with the help of the tags. [7M]
(b) List out the uses of style sheets and font characteristics permitted in CSS [7M]
OR
4(a) Discuss about java script control structures [14M]

(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

Time: 3 hours Max.


Marks: 70
Note: This question paper Consists of 5 Sections. Answer FIVE Questions, Choosing ONE
Question from each SECTION and each Question carries 14 marks.
*****
SECTION-I
1(a) What is a Subroutine in PERL? What is its purpose? Give an example. [8M]
(b) How can create hashes, manipulate hashes and invert a hash in Perl. [6M]

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

Time: 3 hours Max.


Marks: 70
Note: This question paper Consists of 5 Sections. Answer FIVE Questions, Choosing ONE
Question from each SECTION and each Question carries 14 marks.
*****
SECTION-I
1(a) Discuss the concept of Web Scripting [5M]
(b) Explain how regular expressions are evaluated in PERL. [13M]

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]

(b) Explain JavaScript Object: Window, Document. [7M]


SECTION-III
5 Explain in detail about built-in objects in JavaScript. [14M]
OR
6(a) What are the advantages of Python. How to run python scripts. [7M]
(b) Discuss about input-output functions in python. [7M]
SECTION-IV
7 Explain about operators in python [14M]
OR
8(a) Differentiate between dictionaries and sequences [7M]
(b) What is a set in python. Discuss its methods. [7M]
SECTION-V
9(a) How to call functions in python. [7M]
(b) Explain the concept of argument passing in python. [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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy