0% found this document useful (0 votes)
11 views14 pages

DCS7303

Web programming university question paper

Uploaded by

Thasa prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views14 pages

DCS7303

Web programming university question paper

Uploaded by

Thasa prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

wk12

Reg. No. :

Question Paper Code : J1513

M.Sc. DEGREE EXAMINATION, FEBRUARY/MARCH 2018.

Third Semester

Computer Science

DCS 7303 — WEB PROGRAMMING

(Regulations 2013)

Time : Three hours Maximum : 100 marks

Answer ALL questions.

PART A — (10  2 = 20 marks)

1. What is a dialog and what are the types of dialog supported by JavaScript?

2. Name any four Date related functions in JavaScript.

3. What is XML namespace?

4. What is XML parser? Name any two XML parsers.

5. How to declare and initialize 2-dimensional array in Java?

6. What is the use of java matcher class?

7. Differentiate between applet and java program.

8. What is swing and how it is differs from AWT?

9. What is meant by data driven website?

10. What is JSP? What are the advantages of JSP over Servlets?
wk12

PART B — (5  13 = 65 marks)

11. (a) (i) Explain the different types of cascading style sheet representations
with example program. (6)
(ii) What is regular expression in JavaScript? Describe the methods
that use regular expressions in JavaScript. (7)

Or
(b) (i) Explain different types of arrays in JavaScript each with an
example. (10)
(ii) Write JavaScript code to get a message from the user and display in
browser status bar. (3)

12. (a) (i) Explain how to display an XML document of a given type using
XSL with an example. (7)
(ii) Discuss about structuring of XML document using schema and
DTD with suitable example. (6)

Or
(b) (i) Explain the approaches for parsing XML document. (6)
(ii) What is AJAX? Discuss about the features of AJAX for building
interactive applications for the Web. (7)

13. (a) (i) Create a class ‘Account’ with two overloaded constructors. The first
constructor is used for initializing, the name of account holder,
account number and initial amount in the account. The second
constructor is used for initializing the name of the account holder,
account number, the addresses, type of account and current
balance. The Account class is having methods Deposit( ),
Withdraw( ), and Get_Balance( ). Make the necessary assumption
for data members and return types of the methods. Create objects of
Account class and use them. (7)
(ii) With suitable example, differentiate between abstract class and
java interface. (6)

Or
(b) (i) Create a package ‘ItemPack’ which includes class ‘ITEM’ with
ItemCode, ItemName, rate, quantity as attributes and a method
displayItems( ). Accept the item details using constructor. Also
create an interface having method calculate Amount( ) with rate
and quantity as arguments. Create a class, which overrides these
methods. (7)
(ii) Explain user defined exception handling in java with suitable
example. (6)

2 J1513
wk12

14. (a) (i) Illustrate the benefits of generic classes with suitable example. (3)

(ii) Describe applet life cycle with suitable example. (10)

Or

(b) (i) What are the methods and classes required for JDBC connectivity?
(3)

(ii) Describe the methods and properties of any four GUI components.
(10)

15. (a) (i) Develop a web site for online course registration for a technological
university. Write a JavaScript code for validating the web pages. (7)

(ii) How do you access a database from JSP page? Explain with an
example. (6)

Or

(b) (i) What is servlet? Describe the life cycle of a servlet with suitable
example. (7)

(ii) Explain JSP session tracking approaches in detail. (6)

PART C — (1  15 = 15 marks)

16. (a) Explain in detail about Exception handling in JAVA. (15)

Or

(b) (i) What is HTML? Explain any five features.

(ii) How to integrate XML with database? Explain with examples.

———————

3 J1513
Reg. No. :

Question Paper Code : BS2513

M.Sc. DEGREE EXAMINATION, AUGUST/SEPTEMBER 2017.

Third Semester

Computer Science

DCS 7303 — WEB PROGRAMMING

(Regulations 2013)

Time : Three hours Maximum : 100 marks


Answer ALL questions.

PART A — (10  2 = 20 marks)

1. What is XHTML?

2. Define an array in JavaScript.

3. Define XPath.

4. What is AJAX?

5. Give a syntax to declare a method in Java.

6. List the quantifiers used in regular expression in Java.

7. What are generic methods?

8. Write the use of applet container.

9. What are the characteristics of Servlets?

10. Highlight the applications of JSP.

PART B — (5  13 = 65 marks)

11. (a) (i) Describe the various font and text properties of cascading style
sheets. (8)
(ii) List out the operators supported in JavaScript. (5)

Or
(b) Write a detailed note on JavaScript objects. (13)
12. (a) Explain the concept of parsing XML using DOM. (13)

Or
(b) Discuss how to integrate XML with database. (13)

13. (a) (i) Write a java program to add the given two matrices. (8)
(ii) Brief about string methods in Java. (5)

Or
(b) (i) Explain how to create an interface in Java. (8)
(ii) Show the Java exception hierarchy. (5)

14. (a) (i) Elaborate on Java applet life cycle methods. (8)
(ii) What is swing? Explain. (5)

Or
(b) Write a note on Java GUI components. (13)

15. (a) (i) Narrate the life cycle of servlet. (8)


(ii) Briefly explain about servlet support for cookies. (5)

Or
(b) Discuss the steps involved in developing a dynamic website. (13)

PART C — (1  15 = 15 marks)

16. (a) With a simple application, explain how to create and import package in
Java. (15)

Or
(b) Explain the way of accessing database with JDBC with an example. (15)

__________________

2 BS2513

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