Вы находитесь на странице: 1из 4

Model Question Paper of Web Technology

A.

Choose the correct alternatives:

1. What is true about JavaScript? a) Stand alone applications can be developed using JavaScript only b) JavaScript is type free & used only in server side programming c) JavaScript is type free & used with HTML for client side validation d) none of these. 2. JSP & Servlets are a) Static web page technology b) Dynamic web page technology c) Active web page technology d) none of these. 3. Which method of an applet always gets executed whenever a web page containing applet is visited? a) init( ) b) start( ) c) paint( ) d) doGet( ). 4. Which is not a valid Servlet method? a) init( ) b) doPost( ) c) paint( ) d) doGet( ). 5. Which of the following is not a J2EE product? a) Applets b) Active X controls c) Servlet d) JSP. 6. Cookie is created & sent by a) Web browser b) Web server c) Application server d) Database server. 7. Static web pages always produce .. output every time. a) same b) different c) unpredictable d) dynamic 8. HTTP is a protocol. a) Stateless b) Statefull c) both of them d) none of them. 9. Which of the following technologies is not a part of J2EE architecture? a) JSP b) Servlet c) EJB d) CORBA. 10. http://www.yahoo.com/index.html is an example of a) Static web page b) Dynamic web page c) Active web page d) none of them. 11. HTTP is text that a) Appears as superscript b) Contains link to other document c) Appears above normal text d) Has image embodied in the text. 12. The first page that you see on the web site is called a) First page b) Home page c) Web page d) File. 13.Browser is: a) Hardware b) Software c) Computer d) Program. 14.Layer 4 from bottom in TCO/IP is the a) Physical layer (b) Application layer (c) Transport layer (d) Internet layer 15. If an IP address starts with a bit sequence of 110, it is a a) A b) B c) C d) D 16. The symbol used to connect the user name and the domain name portions of an email id is : a) & b) @ c) * d) $ 17. Web page are created in the language a) HTTP b) WWW c) Java d) HTML

18.The main function of a browser is to a)Compile HTML b) Interpret HTML c) de-compile HTML d) Interpret CGI program. 19. SSl is the protocol between a) Web Browser, Web Server b) Web Browser, Application Server c) Web Browser, Database Server d) Web server, Application server. 20. The output of a dynamic web page a) HTTP b) HTML c) Applet d) Active X control 21. An applet gets downloaded to the browser a) Every it is referred b) only once c) once everyday d) on no occasion 22. What is JavaScripts default object? a) Navigator b) Documents c) Window d) Browser 23. Which of the following is used by web Services for data transport? a) HTML b) XML c) DML d) VHDL 24. Which of the methods of an Applet is called only once in its life cycle? a) init( ) b) start( ) c) paint( ) d) destroy( ) 25. Which of the following statements is True? a) HTTP is stateless in nature d) TCP is connectionless protocol c) Generic Servlets support HTTP d) Servlets are executed at client-side.

B. Short type Questions:


1. Show the typical Request & Response format used in HTTP protocol. 3 2. What is the significance of method field in an HTTP request? 2 3. What are Cookies & Sessions? 3 4. Why is a session object considered more secure & advantages than Cookies? 2 5. Explain what happens in the background when one accesses a JSP page from a server that supports JSP. 3 6. Compare JSP & CGI. 2 7. What are the advantages of using XML? 2 8. What are the elements & attributes in XML? Describe with examples. 2+2 9. Define DTD, Discuss its application. 1+2 10. State the main objectives of using J2EE. 2 11.What is Web Container? 2 12.What is Servlet Engine? 2 13.State the sequence of different methods invoked during the lifetime of a Servlet. 2 14.What does Servlet config interface do? 15. What do you mean by an Active Web Page? 2 16.Explain how JSP works? 3 17.Differentiate between JSP & ASP. 3 18.Differentiate Session Attributes & Context Attributes of Servlet. 3 19.Describe various features of EJB. 3 20.Describe various features of Document Object Model (DOM). 3

21. What are the differences between Web Design & Web Enabling?

3 22.Differentiate between Apache Web Server & Mail Server. 3 23. List down various JSP Tags. 3 24. List down the tasks performed by the typical JDBC connectivity application. 3
C.

Long type Questions:


1. Briefly describe RMI architecture. 5 2. Compare POST & GET methods with example. 5 3. Differentiate between JavaScript & Java with example. 5 4. What are different Style Sheets we can add to make a Web page Dynamic? 5 5. Write a JavaScript code to detect all TEXT fields, which are left blank by a user while submitting an HTTP form. The code should also display the names of fields which were blank. 5 6. Explain Dynamic Page creation technologies. 5 7. Explain JSP Life Cycle. 5 8. Briefly describe about DHMTL. 5 9. Describe the J2EE architecture. 5 10. Write a Simple Servlet Program which will return the current date & time. 4 11. Describe the functionalities included in the during Servlet methods invoked. 6 12.What are the advantages of Servlets over CGI scripts? 4 13.Describe how RMI architecture works in Java distributed Object Model. 4 14.Explain various types of JSP directives. 4 15. Describe Servlet Life Cycle. 4 16.List down the steps required for a JSP Request. 5 17. Collect the definitions & examples of 10 items in Web Technology. They are stored in three Arrays name[], defn[] & exmpl[]. Write a JSP which has these Three arrays & supplies them on request. Write an HTML document which gets the user input of the name of the item & sends the request to the JSP. 6 18. Write a JavaScript program that finds the greatest common divisor(GCD) of Two numbers. 5 19. Design an HTML page on your Friends. List your Friends. Each friends name is a link. Prepare separate HTML documents on each Friend & call them in the appropriate link. 5 20. Design an HTML form to reserve a Railway Ticket. 5
21. List down the core features of Java Bean. State the relationships between EJB &

Java Bean. 22. Prepare an XML document for the table: EMPLOYEE EMPNAME EMPID SAL ABC E001 15,000 PQL E002 20,000

3+3 5

XYZ

E003

17,000

Вам также может понравиться