Download Model question papers & previous years question papers
Submit Previous Years University Question Papers
Posted Date: 19 Jul 2008 Posted By:: Vidya Member Level: Gold Points: 5 (₹ 1)
2005 Janardan Rai Nagar Rajasthan Vidyapeeth M.Tech. Computer Science MSDB 01 OBJECT ORIENTED SOFTWARE DEVELOPMENT & DATABASE SYSTEM University Question paper
MASTER OF TECHNOLOGY
(SEMESTER - IV) (COMPUTER)
(SPL-1-OBJECT ORIENTED SOFTWARE DEVELOPMENT & DATABASE SYSTEM)
MSDB 01 – JAVA 2 PROGRAMMING
TIME: 03 HOURS MAX. MARKS: 75
1. Question paper is divided into three groups
2. Each group is of 25 marks each
3. Figure to the right in bracket indicates mark
4. Assume suitable data if necessary
GROUP A: Answer any three questions. Question No. 1 is compulsory.
Q.1: Discuss principles of object oriented programming. (05)
Q.2 Distinguish between the following terms (10)
(i)Objects and classes
(ii)Data abstraction and data Encapsulation
(iii)Inheritance & polymorphism
(iv)Dynamic binding & message passing
Q.3 What is a java Bean? Explain the advantages of Java beans (10)
Q.4: Explain the following terms (10)
(ii)Composite Primary key
Q.5: What is JDBC explain cursor with example. (10)
GROUP B: Answer any three questions. Question No. 6 is compulsory.
Q.6: Write a program that declares one static variable called cnt. Create two or more instances of the class. The class also contains a method that increments the cnt. Variable whenever the new instance of the class is created. (05)
Q.7: What is recursion, explain tower of Hanoi problem by using a sample program. (10)
Q.8: Write a program to draw a triangle using draw polygon ( ) method of the Graphics class. Discuss Graphics class. (10)
Q.9: Explain thread, differentiate between multitasking and multithreading. Write a sample program to implement thread. (10)
Q.10: Distinguish between (10)
(i)Embedded and linked objects
(ii)Data Input and Output formatting
GROUP C: All Questions are Compulsory.
Q.11 Fill in the blanks (each question carries 2 marks)
(i) Java supports _________ inheritance.
(ii) By using _______ SQL statements can easily executed over any relational database.
(iii) _________ is a process of adapting a program for use in a specific locale.
(iv) The ______ method is used to pop objects off the top of the stack.
(v) ______ package contains all I/O related classes in Java.
Q.12 Multiple choice question. (Each question carries 2 marks)
(i) _________ cursor is used for data mining and data ware housing.
(a) Static (b) Dynamic
(c) External (d) None of these
(ii) _________ is a placeholder for a data row in a table.
(a) Mark (b) Bookmark
(c) Key (d) None of these
(iii) A ________ is an endpoint for communication between two machines.
(a) thread (b) socket
(c) process (d) None of these
(iv) Double data type consumes__________ bits.
(a) 8 (b) 32
(c) 64 (d) None of these
(v) The internet is the huge inter network of ________ networks.
(a) Packet switching (b) Circuit switching
(c) both (d) None of these
Q.13 True or false (each question carries 1 mark).
(i) Swing components are more heavy weight than AWT components.
(ii) J label can also be used as container.
(iii) All swing components are derived from AWT components.
(iv) Java is object oriented multithreading network programming language.
(v) Print ( ) method can be invoked directly.
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.