23 May 2014

WTAD Exam oriented Questions...

Some Questions that can make you pass in Exams of Web Technology and Design....


  1. Provide difference between GenericServlet and HttpServlet.
  2. Explain DatabaseMetaData.
  3. Describe the usage of PreparedStatement and CallableStatement in JDBC.
  4. Define servlet. Discuss servlet life cycle with example.
  5. Write a code to read a HttpHeader in servlet.
  6. Write a short note on RequestDispatcher.
  7. Explain Javascript function with example.
  8. Define Servlet Filter with proper code.
  9. What is Session? Explain different ways of session tracking mechanism.
  10. Discuss javascript events with proper example.
  11. Differentiate Servlet from Java Server Pages.
  12. Define JSP Directive. Discuss any five attribute of page directive.
  13. Discuss Deployment Descriptor with its element and role.
  14. Define Custom Tag. Provide difference between TagSupport and BodyTagSupport.  
  15. What is JSP predefined variables? Explain any five.
  16. Define Expression Language. Discuss its implicit objects.
  17. State the role of MVC architecture in Web based application environment.
  18. Define JSTL. State types of JSTL and discuss
    1. c:forTokens,
    2. c:redirect,
    3. c:catch,
    4. c:import
    5. c:param
  19. Briefly discuss the following HTTP 1.1 request headers
    1. Accept
    2. Accept-Charset
    3. Host
    4. Accept-Language
    5. Authorization
    6. Cookie
    7. User-Agent
  20. Explain the following methods of HttpServletResponse with examples.
    1. setContentType()  
    2. setStatus()
    3. sendError()
    4. sendRedirect()
    5. setContentLength()
    6. encodeURL()
    7. isCommited()
  21. Write the advantages of JavaScript. Explain any three methods of Date and String objects of JavaScript.
  22. Explain JSP expressions, scriptlets and declarations with example.
  23. Explain JSP page directive's import, session, buffer and errorPage attributes with example.
  24. Explain c:out and c:choose JSTL tags with its required attributes giving example.
  25. Explain the mechanism of accessing Bean Properties and accessing Collections using JSP Expression Language with example.
  26. What are Beans? Explain the required steps for implementing MVC with RequestDispatcher with example code.
  27. Explain the process for querying databases using JDBC Driver.
  28. What is ServletContextListener?
  29. Explain the process of initialization of Commonly used data by ServletContextListener interface.
  30. List the Tag Library Components? Explain each of them in brief to create the custom JSP Tags.
  31. How do you implement BASIC authentication, Explain in brief. Write the advantages of BASIC authentication.
  32. Explain at-least seven new features of Servlet 3.0 specification.
  33. Explain JSTL tags.
  34. Explain Request Headers and Methods of Request Header.
  35. Explain Response Headers and Methods of Response Header.
  36. Define Cookies. How will you handle cookies in Servlet? Explain with suitable example.
  37. What are the major differences between doGet( ) and doPost( )?
  38. Write and Explain Methods to create JDBC Connection with Example.
  39. What is Programming Security? Explain Directive Security.
  40. List out various methods of PreparedStatement and explain with suitable example.
Reference from:-
GTU Examination Papers.

17 May 2014

FON Questions that you can refer....

Q.1 what is the purpose of MAC?
Q.2 list types of connection in classical Ethernet.
Q.3 which algorithm is use for retransmission in ALOHA.
Q.4 difference between ALOHA and EHTERNET.
Q.5 difference between PCF and DCF mode.
Q.6 difference between 802.11 and 802.16.
Q.7 hub v/s switch.
Q.8 what is solution for ALOHA?
Q.9 list types of connection in fast Ethernet.
Q.10 what is routing?
Q.11 static v/s dynamic routing algorithm
Q.12 what is congestion control?
Q.13 difference between congestion detection and avoidance.
Q.14 from which congestion control algorithm take decision?
Q.15 what is jitter?
Q.16 fullform of RED.
Q.17 give disadvantage of count to infinity problem.
Q.18 give solution for count to infinity problem.
Q.19 list step involved in link state routing.
Q.20 list duties of transport layer.
Q.21 define multiplexing.
Q.22 what is process level addressing?
Q.23 what is flow control?
Q.24 what is the use of probe signal in persist timer?
Q.25 difference between symmetric and asymmetric connection close.
Q.26 what is connection establishment timer?
Q.27 FTP v/s CUTE FTP.
Q.28 list short comings from transport layer.
Q.29 what is DNS?
Q.30 define domain name space.
Q.31 list advantages of hierarchy.
Q.32 draw diagram of iterative search and recursive search.
Q.33 give example of CNAME.
Q.34 list types of resource record.
Q.35 difference between pop3 and imap.
Q.36 list component of SMTP.
Q.37 what is the job of message transfer agent (MTA).
Q.38 what is MIME?

7 May 2014

Some WTAD Program Definitions...

The below listed are the Definitions of The program which have to be implemented.
This will be helpful in practical exams or self study.May be Helpful to You...

Definitions:-

1. Design an application that takes input as father’s age and son’s age. The user should be redirected to “myError.jsp”, if any of the age is invalid and also if father’s age is less than or equal to son’s age. Otherwise the user should be redirected to “Welcome.jsp”, where the father’s age at the son’s birth time is shown. 

2. Develop an application that stores personal information of an employee(Minimum 3 employee details) in a Bean. Write a servlet code that takes employee id, return status OK along with the details if the id is valid, or else return the Not found status. Make use of HTTP status codes.

3. Create a form to get name and value for the cookie and provide check boxes  to add a cookie, delete a cookie or delete later (after 10 seconds), perform appropriate action as per user’s choice. 

4. Design a page having link for 3 jsp pages and print the access count by including a file as footer which maintains and prints different access count for each jsp page.

5. Write a servlet to print all the response headers in tabular format either in html or excel depending on user’s choice. 

6. Design a form to accept numerator and denominator from the user and print the factorial of result. Incase exception occurs errorpage.jsp should be displayed with user friendly message.

7. Store student details such as eno, name and marks of 3 subjects in a bean for 3 students, develop a servlet which takes the eno of a student as a request parameter and displays the marksheet for the student. 

8. Develop an JSP application to get student’s roll no. if the marks of the student is between 40 and 50, change the back color of result.jsp to yellow, if the marks is between 50 and 60, change the back color of the same page to green and if marks less than 40 the back color should be red and if marks is above 60 back color should be blue.  

9. Develop a bean application having property student id, student program (MCA/MBA/BE), store data for atleast 3 students. Design a JSP page that will ask student id display student’s information. 

10. Develop a servlet which looks for the username and password, and forwards to a home page in case the cookies are valid and forwards to login page, in case the cookies are not found or the cookies are not valid.

11. Make an HTML form that lets you send a background color and foreground color to  a servlet that display a web page in those colors. If you go straight to the servlet without going through the HTML form, then the servlet use cookies values to provide reasonable default color choices. 

12. Write a JSP page to create “header.jsp” having company name and “footer.jsp” having copyright information. Include header.jsp and footer.jsp to si.jsp which asks user to input Principal amount , Rate of interest and no. of years and calculate Simple Interest based on inputted values and display output in si.jsp.

MVC Definitions:-


1. Develop MVC architecture that asks user to enter Employee ID and information such as Employee ID, Employee Name , Basic Salary, DA (50% OF Basic sal.), HRA (15% of Basic Sal.), Gross Sal. ( BS + DA + HRA), IT (10% of  GS), Net Salary (GS-IT). (Use bean to store static collection of data of the employees (employee id, name, basic salary).

2. Develop MVC architecture that asks user to enter Student enrollment number and display message “Scholar student” in red color  if percentage above 60% ,  If percentage is below
60% then display message “Average Student” along with information such as Student Name ,Enrollment no., Marks of 3 subjects, Total and percentage.  (Use bean to store static collection of data of the student like  eno, name, marks of 3 subjects).

3. Develop MVC architecture that asks user to enter account number and display message “Regular Customer” in red color if balance is less than 5000,  if balance is above 5000 then display “Elite Customer” in green color along with account holder information such as Customer Name, Account no., Balance.  (Use bean to store static collection of data of the
customers).

Comments

© 2013-2016 ITTechnocrates. All rights resevered. Developed by Bhavya Mehta