0% found this document useful (0 votes)
5 views2 pages

AJP answer UT

Uploaded by

Onkar Talekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

AJP answer UT

Uploaded by

Onkar Talekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Akole Taluka Education Society’s

Faculty of Polytechnic, Akole


Program Name: Computer Engineering Semester: 5th
Course Name: AJP Course Code: 22517
Name of Student- Roll No.
Time: 1.00 Hrs. Date:19/11/2024 Max. Marks: 20

Instructions: (1) All questions are compulsory. (2) Illustrate your answers with neat sketches wherever
necessary. (3) Figures to the right indicate full marks. (4)Assume suitable data if necessary. (5) Preferably, write
answers in sequential order.
1. Which package provides many event classes and Listener interfaces for event handling?
a)java.awt b)java.awt.Graphics c)java.awt.event d)None of the above

2. Which event is generated when the position of scrollbar is changed?


a)KeyEvent b)MouseEvent c)ItemEvent d)AdjustmentEvent
3. The IS an object that is notified when an event occurs.
a)Listener b)Sources c)Event d)None of the above
4. method is used to register a keyboard event listener.
a)KeyListener() b)addKeyListener() c) addKeyListenerEvent() d)ListenerKey()
5. Which Listener handles all List related Events?
a)ItemListener b)InputEvent c)SelectEvent d)ListEvent
6.UDP stands for
a)User Data Protocol b)User Datagram Protocol c)Used Data Provider d)User Data Provider
7. Which IP address is multicast IP address?
a)192.168.2.32 b)235.55.45.2 c)12.22.1.2 d)None of these
8. method is used to retrieve name specified
in URL.
a)getFile() b)getUrl() c)getFileUrl() d)getLocalFile()
9.A server socket can connect to…….clients.
a) 1 b)2 c)10 d)multiple
10. is necessary to implement Datagram.
a)DatagramPacket b)DatagramSocket c)Both A&B d)None A&B
11. In JDBC imports all Java classes that are concern with Database connectivity.
a)javax.sql b)java.mysql c)java.sql d)com.sql
12. is a table of data which represents a data from table.
a)MetaData b)ResultSetMetaData c)ResultSet d)Statement
13. Public class DriverManager extends
a) Object b)String c)Connection d)Statement
14.Which is main component of JDBC API?
a)DriverManager b)Driver c)Connection d) All of these
15. How many steps are used to connect any java application with the database using JDBC ?

a)5 b)4 c)3 d)6


16. JSP embeds in
a) Servlet, HTML b)HTML, Java c)HTML, Servlet d)Java, HTML
17. Which of the following is the default HttpRequest method?
a)doGet() b)doPost() c)doTrace() d) doPut()
18. Which life cycle method is used to process a client's request?
a)start() b)init() c)service() d)destroy()
19.Servlet Lifecycle has states.
a)Two b)Three c)Four d) Five

20.JSP life cycle includes number of phases.


a)Two b)Three c)Four d) Five

Thank You

You might also like