WT Endsem PYQs
WT Endsem PYQs
Unit 3:
1. What is difference between server side scripting language and client side
scripting language.
2. What are the DTDs? Explain how they work.
3. Explain the differences between external and internal DTDs.
4. Explain XML with respect to structure, declaration syntax, namespace.
5. Explain DTD in XML with schemes, elements & attributes.
6. What are the strengths of XML technology? Also list the limitations of using XML
7. Explain the need for XML.
8. What are XML schemas? How are they better than DTDs?
9. Discuss the XSLT technology with an example.
10. Differentiate between XML and XSLT.
11. Describe servlet architecture in detail.
12. What is Servlet? Explain the life cycle of servlet. Illustrate with example.
13. What is session? How cookies & URL rewriting for session management in servlet.
14. Create a servlet in java to get user ID and password parameters which are entered
in the form of Login.html file and verify if username = “ADMIN” and password =
“ADMIIN” then redirect to success page otherwise redirect to failure page.
15. Write a java servlet program which will display a “welcome to Servlet” message.
16. Write a servlet which will accept username and password in a form, which will compare
both in the code to display success or failure.
17. Explain Session and Cookies in Servlets? Write any one program to demonstrate
sessions or cookies.
18. Write short note on : i)AJAX , ii)XML transformation
19. Draw and explain how AJAX works with the help of a suitable example.
20. Find out and explain how XML and AJAX are related.
21. What is the purpose of AJAX? Explain with a relevant example.
22. Explain the following: i)Process of transforming XML document , ii)HTTP Session
23. Compare doGet and doPost methods in servlet.
Unit 4:
1. Write advantages of JSP over Servlets. Also explain the life cycle of a JSP.
2. Write a JSP scriptlet for displaying even numbers between 1 to 50.
3. What are the usage of JSP Directives and JSP Actions?
4. What is the use of ThreadSafe in JSP? Also Explain Single Thread Model in JSP.
5. List and elaborate any five JSP implicit objects with examples.
6. What is the use of JSP action tags? Discuss in details jsp:useBean action tag.
7. What is use of isThreadSafe in JSP? Also Explain Single Thread Model in JSP.
8. Create simple JSP pages which will demonstrates use of implicit session object in JSP.
9. Write a JSP program to demonstrate use of page directive, scriplet, expression
and comment tags.
10. Write the differences between include action and include directive in JSP.
11. Draw and explain neat diagram which depicts MVC to the struts architecture.
12. Explain JSP support for MVC i.e. model, view controller for developing web application.
13. Explain any two from the following JDBC API components : DriverManager ,
SQLException , Connection , ResultSet , Statement
14. How to use interceptors in struts 2? List and describe important interceptors provided by
struts 2 framework.
15. Identify and justify the benefits of using web services.
16. What is MVC? Draw and explain MVC architecture for developing web applications.
17. Explain struts framework with its components. Also explain interceptors.
18. Explain the Strut architecture with neat diagram and also explain the benefits of Struts.
19. Write various features of struts framework.
20. Identify and explain data tags from struts2 which are used to manipulate data displayed
on any web application page.
21. What are the different configuration files required to develop any struts application?
Explain each configuration file.
22. What is (the use of) JSF? Write differences between SOAP and REST in detail?
23. Write a short notes on : i)SOAP , ii)WSDL , iii)UDDL , iv)REST
Unit 5:
1. Classify data type of PHP and describe various data types in each type.
2. What is an associate array in PHP? Explain it with the help of simple PHP code.
3. What are Multi dimensional arrays in PHP? Explain it with simple PHP code.
4. Identify and explain steps involved in connecting to MySQL with PHP.
5. Explain object oriented way to connect MYSQL database with PhP.
6. Explain how session and cookies are used for session management in PHP
7. Explain server side include in PHP with sample code.
8. Write short notes on : i) Overview of ASP. NET , ii) Overview of C#
9. Draw and explain .NET framework with CLR, CLI
10. Explain in detail WAP (Architecture) & WML.
11. Explain functions in PHP with example & session management.
12. Explain the following with respects to PhP: Arrays , Functions , Control Statements in
PHP
13. How does “this” array work in PhP? Explain with an example.
Unit 6:
1. What is Enterprise Java Bean? Draw and explain main components of EJB
architecture.
2. Decide and explain various aspects while deciding between local and remote interface
can be considered.
3. Draw and explain the role of EJB container in Enterprise applications.
4. Draw and explain scenerio of client accessing remote EJB. List some of the EJB
clients.
5. What are the different types of EJB? Identify and explain situations about when to use
session beans.
6. Draw and explain each tier of three tiers architecture using EJB.
7. Write EJB code to acquire JNDI context through: default JNDI properties ,
Separate JNDI properties
8. List the difference between entity bean and session bean? Explain the callback method?
9. Explain classes and objects in Ruby with appropriate examples.
10. Introduce the concept of Rails application. Describe layouts & stylesheet in Rail.
11. Explain the scalar types & their operations in Ruby.
12. What are the positive aspects of Rails, explain with example.
13. Short note on “Rails with AJAX”