Answer any seven out of ten. દશમ ાથી કોઇપણ સ તન જવ બ આપો. 1. What is applet? Which package is imported in applet programs? ૧. એપલટ એટલ શ ા ? ક ા પકજ એપલટ પરોગર મમ ા import કરવ મ ા આવ છ? 2. List out Layout manager classes. ૨. Layout manager class ન ા લલસટ આપો. 3. Write syntax of drawString( ) method. ૩. drawString( ) મથડની syntax લખો. 4. Draw AWT class Hierarchy. ૪. AWT class ની Hierarchy દોરો. 5. Give any two differences between AWT and Swing. ૫. AWT અન Swing વચચન બ તફ વત આપો. 6. List out types of Event Listener. ૬. Event Listener ન પરક રન ા લલસટ આપો. 7. Give full name : JDBC , JSP. ૭. પરા ન મ આપો : JDBC , JSP. 8. List out JSP scripting elements. ૮. JSP scripting elements ન ા લલસટ આપો. 9. What is Servlet? List out advantages of Servlet. ૯. Servlet એટલ શ? ા Servlet ન ફ દ ઓ ન ા લલસટ આપો. 10. List out methods of Servlet life cycle. ૧૦. Servlet life cycle ની મથડસન ા લલસટ આપો.
Explain <applet> tag with its necessary attributes. પરશન. ર (અ) <applet> tag તન જરરી attributes સ થ સમજાવો.
[3 marks]Explain life cycle of an applet. (અ) એપલટ ની life cycle સમજાવો.
[3 marks]Explain types of applet. (બ) એપલટન પરક ર સમજાવો.
[3 marks]Give difference between applet and application. 1/3 (બ) એપલટ અન એલપલકશન વચચનો તફ વત આપો.
[3 marks]Explain steps to develop and execute applet program . (ક) એપલટ પરોગર મન develop કરવ અન execute કરવ મ ટન સટપસ સમજાવો.
[4 marks]Explain <param> tag with example. (ક) <param> ટગ ઉદ હરણ સ થ સમજાવો.
[4 marks]Write an applet program which takes user name in Text Field and display it in reverse on Label. (ડ) એપલટ પરોગર મ બન વો ક જ Text Field મ ા ઝરન ા ન મ લઈન Label પર reverse મ ા દશ ાવ.
[4 marks]Write an applet program in which when user move or drag mouse in applet, background of applet color should be changed. (ડ) એપલટ પરોગર મ બન વો ક જમ ા ઝર mouse ન move અથવ drag કર તો એપલટનો background કલર બદલ ઈ.
[4 marks]Write a Servlet code which maintains a counter for the number of times Page has been accessed since its loading, initialize the counter in web.xml. (ડ) Servlet code બન વો ક જમ ા ઝર પજ કટલી વ ર access ક ા ત દશ ાવ અન તની મ ટન counter ન web.xml મ ા initialize કરો.
[4 marks]Explain Frame class with example. પરશન. 3 (અ) Frame class ઉદ હરણ આપી સમજાવો.
[3 marks]Explain Event Handling . (અ) Event Handling સમજાવો.
[3 marks]Explain component of JDBC API. (બ) JDBC API ન component સમજાવો.
[3 marks]List out types of JDBC drivers. Explain Type-2 driver in detail. (બ) JDBC driver ન પરક રન ા લલસટ આપો. Type-2 driver લવસત રમ ા સમજાવો.
[3 marks]Compare JSP and Servlet. (ક) JSP અન Servlet ની સરખ મણી કરો.
[4 marks]Explain Servlet life cycle in brief. (ક) Servlet life cycle લવસત રમ ા સમજાવો.
[4 marks]Explain JDBC architecture. પરશન. ૪ (અ) JDBC architecture સમજાવો.
[3 marks]Explain use of cookie in Servlet with example. (અ) Servlet મ ા cookie નો ઉપોગ ઉદ હરણ આપી સમજાવો.
[3 marks]Explain stages of JSP life cycle. 2/3 (બ) JSP લ ઇફ સ ઇકલન stages સમજાવો.
[4 marks]Explain declaration and comment tag of JSP. (બ) JSP ન declaration અન comment ટગ સમજાવો.
[4 marks]Develop an applet program that contains three checkboxes and 50x50 pixels canvas. The three checkboxes labeled “red”, “green” and “blue”. The selections of the checkboxes determine the color of canvas. If user selects both “red” and “blue”, the canvas should be purple. (ક) એપલટ પરોગ મ બન વો ક જમ ા તરણ checkboxes અન 50x50 ન canvas આવલ હો. Checkbox ન ન મ “red”, ”green” અન “blue”ર ખવ . Checkbox ન પસાદ કરવ થી canvas નો કલર બદલ વો જોઇએ. જો ઝર “red“ અન “blue “ બાન પસાદ કર તો canvas નો કલર “purple” થવો જોઇએ.
[7 marks]Explain steps to create JDBC connection in java. પરશન. ૫ (અ) JDBC connection બન વવ ન સટપસ સમજાવો.
[4 marks]Explain Grid layout manager with example. (બ) Grid layout manager ઉદ હરણ આપી સમજાવો.
[4 marks]Explain Canvas class. (ક) Canvas class સમજાવો.
[3 marks]Explain attributes used in web.xml file of Servlet program. (ડ) Servlet પરોગર મ મ ટની web.xml ફ ઇલન attributes સમજાવો. .************ 3/3
[3 marks]Develop a JSP program to display the grade of a student on second page by accepting marks of five subjects. (ડ) JSP પરોગ મ બન વો ક જ પ ાચ લવષન મ કાસ ઝર પ સથી લઈન grade ન second પજ પર દશ ાવ.
[4 marks]