No. of Printed Pages : 3

I MCS-024

MCA (Revised) Term-End Examination December, 2011

oO

MCS-024 : OBJECT ORIENTED

0 TECHNOLOGIES AND JAVA

PROGRAMMING

Maximum Marks : 100 Time : 3 hours compulsory. (i) Q. No. 1 is Note : (ii) Attempt any 3 question from the rest.

(iii) Attempt all the parts of a question together. 1. (a) Compare and contrast object-based 6

(b)

(c)

(d) (e)

(f)

MCS-024

programming language and object -oriented programming language. What is inheritance ? Differentiate between 6 multilevel and multiple inheritance using an example. Write a program in Java to calculate area 6 and circumference of a circle. Show the use of 'final' keyword in your program. Write a program in Java for creating thread 4 by inheriting the thread class. What is an interface in Java ? Explain how 4 an interface is created with the help of an example ? Write a program to find the length of a given 8 string. Replace all the occurrences of a given character by a substitute character and print the resultant string.



1

P.T.O.

(g)

2.

Write a program to set the font of given 6 string in textarea as font name as "Arial", font size as 10 and font style as FONT. BOLD and FONT. ITALIC.

(a) Explain the term Datagram. Describe the Datagram packet constructors along with there specific usage. Write a program for sending UDP Datagram's ? (b) What is JDBC ? Explain how JDBC connectivity is established ? Give an example of preparing and executing SQL statements using JDBC.

3.

4.

(a) What is Java beans ? Explain its features. Also, illustrate the difference between a Java bean and an instance of a normal Java class.

10

10

10

(b) What is File class ? Explain its use with an example program.

10

(a) Discuss the Input stream and output stream hierarchy. Write a program to read the binary file.

10

(b) Write a brief description of Applet lifecycle. Discuss four low level events and their respective event listeners.

10

MCS-024

2

5. (a) Discuss servlet life cycle. Write a servlet program to generate a dynamic HTML page for welcome of the user who logged in.

10

(b) Discuss any four layouts. Also explain the interfaces used for the implementation of these layouts.

10

MCS-024

3

Object Oriented Technologies and Java Programming.pdf ...

Page 1 of 3. No. of Printed Pages : 3 I MCS-024. MCA (Revised). Term-End Examination. December, 2011 oO. MCS-024 : OBJECT ORIENTED.

72KB Sizes 2 Downloads 144 Views

Recommend Documents

Object Oriented Technologies and Java Programming.pdf ...
(d) What are shift operators ? How many types. of shift operators are available in Java ? 5. (e) Briefly explain benefits of stream classes. 5. (f) Explain URL rewriting with an example. 5. (g) Explain how exception handling is done in 5. Java, with

Object Oriented Technologies and Java.pdf
show the tcp connection establishment and. data transfer. - o 0 o -. MCS-024 2. Page 2 of 2. Main menu. Displaying Object Oriented Technologies and Java.pdf.

OBJECT ORIENTED PROGRAMMING WITH JAVA - 04 13.pdf ...
... about TCP/IP socket with suitable example. ************. Page 2 of 2. Main menu. Displaying OBJECT ORIENTED PROGRAMMING WITH JAVA - 04 13.pdf.

OBJECT ORIENTED PROGRAMMING WITH JAVA - 11 13.pdf ...
after discussion or example and encourage self-study. The early chapters ... Displaying OBJECT ORIENTED PROGRAMMING WITH JAVA - 11 13.pdf. Page 1 of 2.

Search-Based Test Case Generation for Object-Oriented Java ...
Jul 16, 2008 - Java Software Using Strongly-Typed Genetic Programming. José Carlos ..... ObjectVector of JDK 1.4.2), the statistics show a clear re- duction in ...

Object Oriented Programming Structure of Java ...
Structure of Java ... ➢because the Java compiler thinks it possible that ..... Th f ti ll. h i i J. ▻ The function-call mechanism in Java supports this possibility, which is ...

Search-Based Test Case Generation for Object-Oriented Java ...
tal principle of OO programming known as data encapsulation. The goal of the evolutionary search is to find MCS that define interesting state scenarios for the variables which will be passed, as arguments, in the call to the MUT. The input domain thu