Answer any seven out of ten. પરશન.૧ દસમ ાથી કોઈપણ સ તનો જવ બ આપો. 1. State two differences between Local Applet and Remote Applet. ૧. Local Applet અન Remote Applet વચચન બ તફ વત જણ વો. 2. List any four attributes of <APPLET> tag. ૨. <APPLET> ટગની કોઈપણ ચ ર વવશષત ઓની ય દી બન વો. 3. Define Container in AWT. ૩. AWT મ ા Container વય ખય વયત કરો. 4. List minimum four Frame class methods available in AWT. ૪. AWT મ ા ઉપલબધ નયનતમ ચ ર Frame class methods સવચ બન વો. 5. What is CANVAS in AWT? List its constructor. ૫. AWT મ ા કનવ સ શ ાછ? તન કનટટરકટરની ય દી બન વો. 6. Give Full form: AWT, JDBC. ૬. સાપણણ ફોમણ આપો: AWT, JDBC. 7. Define JSP. ૭. JSP વય ખય વયત કરો. 8. State two differences between Servlet and JSP. ૮. Servlet અન JSP વચચન બ તફ વત જણ વો. 9. What is the use of sessions? ૯. sessions નો ઉપયોગ શ ાછ? 10. Compare TextFiled and JTextField controls. ૧૦. TextFiled અન JTextField વનયાતરણોની સરખ મણી કરો. Q.2 (A) Explain the life cycle of APPLET with a diagram. 1/4 પરશન.૨ (અ) APPLET ન જીવન ચકરન ડ ય ગર મ વડ સમજાવો. OR અથવા (A) Explain parameter passing in APPLET. (અ) APPLET મ ાપર મીટર પ વસાગ સમજાવો. (B) Write steps to create and run APPLET. (બ) APPLET બન વવ અન ચલ વવ ન ા પગલ ા લખો. OR અથવા (B) Differentiate Border layout and Flow layout. (બ) બોડણર લઆઉટ અન ફલો લઆઉટન અલગ કરો. (C) Create an Applet of size 500*300. Draw a red circle of radius 100 at the centre of the Applet. (ક) 500*300 કદન ાApplet બન વો. Appletન કનરમ ા 100 વતરજય ન ા લ લ વત ણળ દોરો. OR અથવા (C) What is Button? List methods of Button. Explain anyone. (ક) બટન શ ાછ? બટનની પદધવતઓની ય દી બન વો. કોઈપણ એક સમજાવો. (D) Describe Keyevent and Keylistener interface with example. (ડ) ઉદ હરણ સ થ Keyevent અન Keylistener ઈનટરફસન ાવણણન કરો. OR અથવા (D) Write an Applet that receives one string and display it in reverse fashion. (e.g. "World" should be display "dlroW") (ડ) એક Applet લખો ક જ એક ટટરીગા મળવ છ અન તન વવપરીત ફશનમ ા પરદવશણત કર છ. (દ .ત. " World " એ "dlroW" દશ ણવવ ાજોઈએ) Q.3 (A) Give advantages and disadvantages of Three-Tier Database Design Architecture. પરશન.૩ (અ) થરી-ટ યર ડટ બઝ વડઝ ઇન આવકણટકચરન ફ યદ અન ગરફ યદ આપો. OR અથવા (A) Explain Two-Tier Database Design Architecture. (અ) ટ -ટ યર ડટ બઝ વડઝ ઇન આવકણટકચર સમજાવો. (B) List out types of JDBC drivers. Explain any one in detail. (બ) JDBC ડર ઇવરોન પરક રોની ય દી બન વો. કોઈપણ એક વવગતવ ર સમજાવો. OR અથવા (B) Explain Event handling in JAVA. (બ) JAVA મ ા ઇવનટ હનડવલાગ સમજાવો. (C) Write a Java program to insert a record in the database. (Table name: Student, Columns name: stdrollno, stdname and Database name: College) (ક) ડટ બઝમ ા રક ોડણ દ ખલ કરવ મ ટ Java પરોગર મ લખો. (Table name: Student, Columns name: stdrollno, stdname and Database name: College) OR અથવા (C) Write the steps to develop a JDBC application with proper example. 2/4 (ક) યોગય ઉદ હરણ સ થ JDBC એવલલકશન વવકસ વવ ન ા પગલ ા લખો. (D) Develop an Applet that contains one button. Initialize the label on the button to "begin". When the user presses the button the label changes between "begin" and "end" each time the button is pressed. (ડ) એક Applet વવકસ વો જમ ા એક બટન હોય. બટન પરન લબલન " begin " તરીક જાહર કરો. જય ર વપર શકત ણ બટન દબ વશ તય ર દર વખત બટન દબ વવ મ ા આવ તય ર લબલ " begin " અન " end " વચચ બદલ ય છ. OR અથવા (D) Describe any one swing component in JAVA with example. (ડ) JAVA મ ા કોઈપણ એક વટવાગ ઘટકન ા ઉદ હરણ સ થ વણણન કરો. Q.4 (A) Write the steps to create a servlet in JAVA. પરશન.૪ (અ) JAVA મ ા servlet બન વવ મ ટન ા પગલ ાઓ લખો. OR અથવા (A) Write a servlet code to print "Hello world". (અ) " Hello world " વપરનટ કરવ મ ટ servlet કોડ લખો. (B) Explain Servlet life cycle. (બ) Servlet જીવન ચકર સમજાવો. OR અથવા (B) Explain Session tracking in Servlet. (બ) Servlet મ ા Session tracking સમજાવો. (C) Explain the life cycle of JSP with an example. (ક) JSP ન જીવન ચકરન ઉદ હરણ સ થ સમજાવો. Q.5 (A) Write a JSP program to fetch records from the student table and display it. (Table name: Student, Columns name: Rollno, Name, Contact, city) પરશન.૫ (અ) વવદય થી ટબલમ ાથી રક ોડણ મળવવ અન તન પરદવશણત કરવ મ ટ JSP પરોગર મ લખો. (Table name: Student, Columns name: Rollno, Name, Contact, city) (B) Write a servlet to read parameters using POST method. (બ) POST પદધવતનો ઉપયોગ કરીન parameters વ ાચવ મ ટ servlet લખો. (C) List scripting elements of JSP. Explain Directive scripting element. (ક) JSP ન વટકરલટીગા તતવોની ય દી બન વો. Directive વટકરલટીગા તતવ સમજાવો. (D) Write the simple JSP program to print "India". (ડ) " India" છ પવ મ ટ સરળ JSP પરોગર મ લખો. 3/4