Java Quiz
Java Quiz
b)Inheritance
c) a is correct
3. Class consists of
a. a) Objects and Methods
d) a ,b ,c are correct
b) Object
c) Method
5. Recursion is
a. a) Calling a function itself
b) Calling a class
b. c) Calling an object
d) a ,b ,c are correct
6. Keyword for inheritance is---------7. The three access specifiers are --------, ---------, -----------8. members declared to be private can be accessed
a. Inside the class
c. A && b
d. None
25
26
27
28
29
30
31
32
Define multithreading
33
34
35
36
37
38
39
Define deadlock
40
Define monitor
41
What is ITC
42
Define synchronization
Static
ii.
Final
Unit-v
Section-B
1. Write notes on Applet
2. explain the life time of an Applet
3. Write the Applets display method
4. Give an account of passing parameters to an applet
5. Tabulate the AWT class
6. Write short notes on frames
7. explain the AWT window fundamental
8. explain the SWING component
9. write a note on Tabbed pane
10. write a note on scroll pane
Section _C
37. Write briefly about the HTML applet tag
Data structures
1.
2.
b. List
c. Linked list
d. Tree
b. Upper bound
c. Lower bound
d. None
3.
4.
5.
6.
7.
8.
9.
b. Arranging
b. c. Locating
d. None
b. Arranging
b. c. Locating
d. None
b. unsorted
c. a && b is correct
d. None
18. A way of organizing data to store and express the relation ship is
known as
a. Algorithm
b. Flow chart
c. Data structure
d. Program
b. FIFO
c. LILO
d. FILO
28.
a. Stack
b. Queue
c. Linear list
d. Linked list
b. Queue
c. Linear list
d. Linked list
b. Data objects
c. Data class
d. Data structures
b. Finish time
c. End time
d. Run time
Section-B
1. Explain the representation of linear array in memory
2. Explain the concept of traversing of linear array
3. Write notes on inserting elements into an array
4. Write notes on deleting elements into an array
5. Write an account of bubble sort
Section-C
1. Explain
i. Insertion into an array
ii. Deletion into an array
2. Give a brief account of
i. Quick sort
ii. Algorithm of quick sort
iii. Example of quick sort
3. Give a brief account of
i. Bubble sort
ii. Algorithm of Bubble sort
iii. Example of Bubble sort
UNIT-II
Section-A
1. ` _______is a linear collection of data elements called nodes
2. Define linked list
3. Each node is divided into_______ parts
4. First part of the node is called _____
5. Last part of the node is called _____
6. Null pointer is denoted by______
7. To traverse we use ________variable
8. node can be inserted at the
a. beginning
b. end
b. c. a &&b is correct
d. a &&b is wrong
b. periodic table
c. Free pool
b. underflow
C. a &&b correct
b. underflow
C. a &&b correct
Section B
1. Write short notes on linked list
2. Explain traversing a linked list
3. Explain searching a linked list
4. Explain searching a linked list when the list is in sorted order
5. Explain searching a linked list when the list is in unsorted order
6. Explain garbage collection
7. Explain overflow, underflow
8. Write notes on insertion at the beginning of the linked list
9. Write notes on insertion at the end of the linked list
10. Write notes on deletion a node following a given node
Section C
1. Explain briefly the traversal in a linked list with algorithm
2. Give an account of
a. Searching a linked list in sorted order
b. Searching a linked list in unsorted order
3. Explain the various insertion techniques in a linked list
4. Explain the various deletion techniques in a linked list
5. Explain the operation on two way header linked list
UNIT-III
Section-A
1. _______is a nonlinear data structure
a. linked list
b. array
b. c. Tree
c. all
0 node
b. 2 node
d. All
b. 2 node
b. c. 0 node
d. All
Path
8. Define edge
9. Define vertex
10. Define path
b. Edge
d. None
b. Flow chart
d. Program
b. FIFO
c. LILO
d. FILO
9) A Queue is a __________list
10) A _____is a data object whose instances are of the form(e1,e2,e3,e4)
in finite number
a. Stack
b. Queue
c. Linear list
d. Linked list
b. Queue
c. Linear list
d. Linked list
b. Data objects
c. Data class
d. Data structures
b. Finish time
c. End time
d. Run time
b. Queue
c. Linear list
d. Linked list
c. Queue
d. Linked list