munotes®

BSc CS Sem 4 BSc CS Semester 4 (2020 2021) 2021 A JAVA Question Paper - Mumbai University | munotes

BSc CS Semester 4 (2020 2021) Question Paper.pdf
SEM 4 · BSc CS Semester 4 (2020-2021) · 1 May 2025

Loading PDF...

Questions asked in this paper

Sr.No Question Option1 option 2 option 3 option 4 Answer
1 Which of these packages contains all the classes and methods required for even handling in Java? java.applet java.awt java.event java.awt.event java.event
2 Which of these methods are used to register a keyboard event listener? KeyListener() addKeyListener() eventKeyboardListener() addKeyListener()
3 Which of these class is super class of all the events? EventObject EventClass ActionEvent ItemEvent EventObject
4 Which of these events will be notified if scroll bar is manipulated? ActionEvent ComponentEvent AdjustmentEvent WindowEvent AdjustmentEvent
5 Swing is a part of Java Foundation Classes Java Function Classes Java defined Classes Java object Classes Java Foundation Classes
6 is a simple component for displaying text, images or both. JLabel JButton JComboBox JTextArea JLabel
7 is a JTextField subclass that does not show the characters that the user types. JPasswordField JLabelField JButtonField JRadioButton JPasswordField
8 The class is used to switch between a group of components by clicking on a tab with a given title or icon. JTabbedPane JOptionPane JButton JFrame JTabbedPane
9 The class is used to display menubar on the window or frame. JOptionPane JButton JFrame JMenu JMenu
11 Which of the following are interface? Servlet GenericServiet Request HttpServiet HttpServlet
12 Through which tag you can define context in weB. xml config-param context-param config-init-param init-param context-param
13 Which of these classes define the getWriter() method that returns an object of type PrintWriter ? HttpServletResponse ServletConfig ServletContext
14 When the Web Container initializes a servlet, it creates a object for the servlet ServletConfig Servletinit ServletContext
16 send from web client is available in object ServletResponse ServletContext
19 When a container loads a JSP it invokes which method before servicing any requests? init() method. initialization() method method initial() method. method
20 Which of the following do not supports JSP directly? Weblogic Server WebSphere Server Tomcat Server Apache HTTP Server Apache HTTP Server
21 Which two types of text is included in JSP page? Static data and Dynamic data. Static data and JSP Elements Dynamic data and JSP Elements. Dynamic Data and Scriptlets. Static data and JSP Elements
22 Which of the following is not a jsp directive? include page scriptlet useBean useBean
23 EJB Architecture defines types of Enterprise Beans. 2 3 4 5 2
24 WAR modules that contain enterprise module require an deployment descriptor ejb-jar.xml web-jar.xml ejb.xml sql-jar.xml ejb-jarxml
25 Message is root interface of all JMS messages. MessageListener MessageDrivenContext MessageDrivenBean Message MessageDrivenBean

Read from the scan above, so a character or two may differ. The scan is the original.

Report an error

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
BSc CS / Sem 4 · 55 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!