You are on page 1of 4

DR.

BABASAHEB AMBEDKAR OPEN UNIVERSITY, AHMEDABAD


VOCATIONAL AND PROFESSIONAL COURSES

BACHELOR OF COMPUTER APPLICATION


ASSIGNMENT SET - 1
SEMESTER 2 - FEB 2021

SUBJECT NAME OBJECT ORIENTED CONCEPTS & PROGRAMMING – 1 (CORE JAVA)


SUBJECT CODE BCAR - 204
TOTAL MARKS 100

SECTION - A

Answer the following question. (5 x 8 = 40 marks)

1 Define terms : class, object, methods and instant variables

2 Explain Java programming environment with the help of diagram.

3 Write the rules for implementing interfaces.

4 What are the results when a class is placed in a package ?

5 Explain the text area component of AWT package.

6 Write the hierarchy of classes to deal with Input and Output streams.

7 Difference between Method Overloading and Mathod Overriding with an example ?

8 Explain semantic events.

SECTION - B

Answer the following questions. (10 x 4 = 40 marks)

1 Write a shortnote on Garbage collection.

2 Discuss statement : If a class is final class, can we have extended class? Why?

3 Expalin term instance variable static.

4 Give the use of adapter classes.


BACHELOR OF COMPUTER APPLICATION
ASSIGNMENT SET - 1
SEMESTER 2 - FEB 2021

SUBJECT NAME OBJECT ORIENTED CONCEPTS & PROGRAMMING – 1 (CORE JAVA)


SUBJECT CODE BCAR - 204
TOTAL MARKS 100

SECTION - C

Answer the following questions. (2 x 10 = 20 marks)

1 Java compiler translates source code into _____________.

2 What keyword is used in Java to define a constant?

3 Range of short variable is ______________.

4 The ______________ collection is a sorted collection.

5 Java provide _________________ abstract class for the wrapper the data type.

6 The collection interface is availabel under ____________ package.

_____________ are a collection or group of related types of classes, interfaces, enumerations


7
and annotations.

8 ______________ methods can be overridden only if they are inherited by the subclass.

9 ________________ literals has value between 0 to 7.

10 To implement Runnable, a class need only implement a single method _________ called ( ).
DR. BABASAHEB AMBEDKAR OPEN UNIVERSITY, AHMEDABAD
VOCATIONAL AND PROFESSIONAL COURSES

BACHELOR OF COMPUTER APPLICATION


ASSIGNMENT SET - 2
SEMESTER 2 - FEB 2021

SUBJECT NAME OBJECT ORIENTED CONCEPTS & PROGRAMMING – 1 (CORE JAVA)


SUBJECT CODE BCAR - 204
TOTAL MARKS 100

SECTION - A

Answer the following question. (5 x 8 = 40 marks)

1 Expalin call by reference method.

2 Explain in what ways is an interface similar to a class.

3 List the four categories of visibility for class members.

4 Explain how to convert numbers into string.

5 Explain Card Layout.

6 Give the structure of applets and discuss other applet methods.

7 Discuss Life Cycle of Thread.

8 Give the general rules for using Layout Manager.

SECTION - B

Answer the following questions. (10 x 4 = 40 marks)

1 Write the procedure for Java program.

2 Expalin final keyword with syntex. List the uses of final keyword

3 Name the existing packages in Java.

4 Why graphics is considered an abstract class ?


BACHELOR OF COMPUTER APPLICATION
ASSIGNMENT SET - 2
SEMESTER 2 - FEB 2021

SUBJECT NAME OBJECT ORIENTED CONCEPTS & PROGRAMMING – 1 (CORE JAVA)


SUBJECT CODE BCAR - 204
TOTAL MARKS 100

SECTION - C

Answer the following questions. (2 x 10 = 20 marks)

1 Java interpreter translates _____________ into machine code.

2 A collection of abstract methods is called _____________.

3 The ______ keyword is used when a function will need to refer to the object which invoked it.

4 The Vector class is derived from ____________ interface.

5 A _______________ contains values on the basis of key.

6 ______________ is automatically executed at the time of object creation.

________________ can be defined as the process where one object acquires the properties of
7
another.

8 ______________ return the byte value of the invoking object as a byte in Byte class.

A ____________ statement is included immediately following the try block, it specifies the
9
exception type that has to be caught.

10 The default value of Int data type is ____________.

You might also like