De So 1:
1.Successful translation of the source files in the desired language is very difficult.
A.True. *
B.False.
2.A locale is an identifier for a particular combination of language and redion.
A.True. *
B.False.
3.The numberFormat class is used to create locale-specific formats for which of the following?
a.Numbers.
b.Currencies.
c.Percentages.
d.Date
A.a,b,c. *
B.b,c,d.
C.a,b,d.
D.a,b,c,d.
4.Which of the following layers in TCP deals with opening and mainaining connections as well as ensures the packets are transmitted and received.
A.I
B.II *
C.III
D.IV
5.Which of the following is not of RMI architecture?
A.Stub and Skeleton.
B.Remote Reference.
C.Transport Protocol.
D.None of the above. *
6._____ is a top-level constainer.
A.JDialog. *
B.JPanel.
C.JLayeredPane.
D.JDesktopPane.
7._____ constructor creates a horizotal slider bar with the range 0 to 100 and an initial value of 50.
A.JSlider(int orientation)
B.JSlider(int value)
C.JSlider() *
D.JSlider(int min, int max, int value)
8.Which of the following are the advantages of using FlowLayout Manager?
a.Simple to use.
b.Component placed in the center of the contain by default.
c.Suitable for JApplet which runs as part of a Web Page.
d.Complex alignment can be easily achieved.
A.a,b,c. *
B.b,c,d.
C.a,c,d.
D.a,b,c,d.
10.A JPopupMenu is more convenient than the standard menus because it involves more mouse mevements.
A.True
B.False. *
11.The addSeparator() method adds a separator at the _____ of the pop-up menu.
A.Beginning.
B.End.
C.Center. *
D.Anywhere
12.The JFileChooser has which of the following methods?
a.showDialog()
b.showSaveDilog()
c.showOpenDilog()
d.ShowNewDialog()
A.a,b,c. *
B.b,c,d.
C.a,c,d.
D.a,b,c,d.
13.Which of the following methods of the JFileChooser returns an instance of the File representing the file selected from the dialog box ?
A.getSelectedFile() *
B.getCurrenDirectory()
C.getFile()
D.All of the above.
14.Which of the following constructors of the JToolBar constructs a toolbar with the default horizotal orientation ?
A.JToolBar() *
B.JToolBar(int orientation)
C.JToolBar(String title)
D.None of the above.
15.JList is a class used to dislay a group of items. The items in a JList can be displayed in one or more columns.
A.True.
B.False. *
16.Which of the following selectModes of List class allows selecting a contigous item?
A.SINGLE_SELECTION
B.MULTIPLE_INTERVAL_SELECTION
C.SINGLE_INTERVAL_SELECTION *
D.All of the above
17.Which of the following are the important methods of a JComboBox ?
a.setEdittable()
b.setSelectedIndex()
c.setSelectedItem()
A.a,b
B.b,c
C.a,c
D.a,b,c *
18.A JTable has which of the following distinct parts?
a.Column Header.
b.Row Header.
3.Data
A.a,b
B.b,c
C.a,c *
D.a,b,c
19.The divider in JSplitPane can be dragged to specify how much of the total area is to be given to a component.
A.True. *
B.False
20.An internationalized and localized program has which of the following benefits?
a.Same executable application can run worldwide.
b.Textual elements for GUI components are not hard-coded in the program.
c.Support for new language requires only recompilation.
d.Internationalized programs are localized quickly.
A.a,b,c
B.b,c,d
C.a,b,d
D.a,b,c,d *