Download Model question papers & previous years question papers
Submit Previous Years University Question Papers
Posted Date: 18 Apr 2012 Posted By:: swati Member Level: Gold Points: 5 (Rs. 1)
2012 Maharashtra State Board of Technical Education Diploma Computer Engineering MSBTE Question Paper for Computer Engineering Sixth Semester Subject AJP(12259) University Question paper
3 Hours / 100 marks
1. All questions are compulsory.
2. Illustrate your answer with neat sketches wherever necessary.
3. Figures to the right indicate full marks.
5. Assume suitable data, if necessary.
Q.1 Attempt any FOUR of the following [Marks 16]
a) How to check, how many fonts are available in the computer system? Explain with example.
b) Explain following checkbox class methods with appropriate example
1) void setLabel(string str)
2) boolean getState( )
c) Give the use of following swing controls.
d) What is the use of Generic Servlet? State the difference between generic servlet and http
e) Describe the use of the following
1) Reserved sockets
2) DNS(Domain Naming Service)
f) State the use of the following methods
1) getConnection( )
2) createStatement( )
Q.2 Attempt any THREE of the following [Marks 18]
a) What is frame? Write a procedure to close frame with the help of example.
b) WAP to create following tabbed pane (FONT)
Tab 1 - Font (Three combo boxes: font, font style, font size)
Tab 2 - Effects (Four check boxes: subscript, superscript, strike, shadow)
Tab 3 - Spacing (List: spacing position margin)
c) Classify JDBC driver types according to their architecture.
d) Write a program to display three text fields, and a button below to all on Applet. Insert the
integer values from three text fields. After pressing the button the background colour of the
applet will be changed as per the RGB combinations of the values given in the text field.
Q.3 Attempt any TWO of the following [Marks 16]
a) Write a program to create an applet that will accept values of three test marks i.e. test1,
test2, test3 each out of 25. The user will enter the marks in three seperate text fields. The
applet will have a button labeled "Find Average". When the user will click on the button the
average of test marks will be displayed in the fourth test field.
b) Give the use of following methods of connection and statement interface:
1) createStatement( )
2) executeQuery( )
3) getResultSet( )
c) WAP to create menu bar in frame. Where menu bar contains menu items such as File, Edit and View
and sub menu items inckuded under file menu such as New, Open using AWT.
Q.4 Attempt any FOUR of the following [Marks 16]
a) What is InetAddress? Explain the factory methods of InetAddress.
b) Describe the syntax and use of four methods for navigation through data base records using
result set objects.
c) Illustrate the use of accept( ) and close( ) methods of server socket with suitable example.
d) What is default Mutable Tree Node? Elaborate its use by giving example.
e) Write a program to display a JcomboBox on an Applet. The combobox will have following items -
mouse, keyboard, battery, UPS, Stabilizer.
Q.5 A)Attempt any THREE of the following [Marks 12]
a) What is the purpose of usng URL connection class? Illustrate with suitable example.
b) Give the use of following methods of URL class with example
1) getProtocol( )
2) getPort( )
3) getHost( )
4) GetFile( )
c) Explain the techniques of session tracking/management.
d) Describe servlet life cycle in brief.
b) Attempt any ONE of the following. [Marks 6]
b) Describe how to Update, insert and delete records in the result set.
Q.6 Attempt any TWO of the following [Marks 16]
a) Create database table, write a java program.
Columns : Compnay, number, cost, memory capacity.
DSN : Mobile
Entries : 05
Using the above database, determine total number of mobiles belongs to 'ABC' company.
Arrange them in ascending order.
b) Write a program to display a Jcombobox and a just on an Applet. Combobox will have five
country names as members and list will have their capitals as members when user selects a
particular country from combobox the equivalent capital should get selected from list. Display
them on Applet window.
c) Write a program to create a servlet that handles HttpGET and HttpPOST requests.
Return to question paper search
and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.