You are on page 1of 13

RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD

OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)
Part – A
(Each question carries Two marks)
UNIT – I
1. What is JAVA?

2. Define JDK?

3. What is the use of SDK?

4. What is the Purpose of System.out.println()?

5. Define variable.

6. Define Data type.

7. What is symbolic constant in java?

8. Define operator.

9. What are types of operator?

10. What is conditional operator?

11. Define relational operator & bitwise operator.

12. What is an instance variable?

13. What is operator precedence of Java?

14. Define string operator.

15. Write any two features of Java?


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)
Part - B
(Each question carries Three marks)
UNIT – I

1. Why Java is called Platform independent?

2. What is the process of java building and running application program?

3. List standard default values for built in data types.

4. List three major differences between Java & C ++

5. What is the contribution of Java in World Wide Web?

6. Explain conditional operator with the help of example.

7. Explain the if- else statement with the help of syntax and example?

8. Explain the purpose of switch – case statement.

9. What is the use of break and finally in SWITCH condition ?

10.What is the command line argument in Java?

11. What is mixed mode arithmetic operation? Explain with the help of example.

12.Explain if-else if statement with syntax?

13.Explain Nesting if else statement with syntax?

14.Explain Bitwise operator with example?


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)
Part – C
(Each question carries Five marks)
UNIT – I

1. Explain the structure of Java program ?

2. Explain main() method with Syntax.

3. Describe primitive data types in Java.

4. Explain the short notes on Java virtual machine.

5. Explain switch- case statement with example.

6. What is variable? Explain scope of variables.

7. Explain type casting in detail.

8. Explain any five mathematical functions in Java.

9. What are decision making statements? Explain any two with syntax.

10. Explain any five features of Java.

Part - C
(Each question carries Ten marks)
Unit –I

1. Describe various characteristics of Java.


2. What is Operator? Explain any four types of operators with example.
3. Describe various data types in Java.
4. What is the purpose of Math Class? Explain any five Math class methods with their
syntax and purpose.
5. Explain structure of java program with example.
6. What is constant? Explain Different types of constants in java.
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

7. QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)

Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part - A
(Each question carries Two marks)
UNIT – II
1. Define class.

2. Define object.

3. What is loop?

4. Write syntax of while loop?

5. What is the purpose of break and continue statement?

6. What is constructor?

7. Define static method.

8. What is method overloading?

9. What is finalize() method?

10. Define final class.

11. What is abstract method?

12. Define vector.

13. What is String?

14. What is an interface?

15. What is an array?


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – B
(Each question carries Three marks)
UNIT – II

1. Differentiate while and do…while loop.

2. Define for loop with syntax.

3. Define the term method overriding.

4. Explain static method.

5. Explain syntax of method declaration.

6. How to create an object in java?

7. Write note on StringBuffer class.

8. What do you mean by variable size array?

9. Define the purpose of ‘super ‘ keyword.

10. What is wrapper class?

11. Explain abstract class.

12. Explain hierarchical inheritance in brief.

13. Explain abstract method.


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – C
(Each question carries Five marks)
UNIT – II
1. Differentiate method overloading and method overriding.
2. Describe access modifiers in java.
3. Discuss applications of wrapper class.
4. What are the similarities between classes and interfaces?
5. Differentiate between class and interface.
6. Describe the syntax of single inheritance in Java with example.
7. How to use the runnable interface? Explain.
8. Explain any five String methods.
9. Explain with example create two dimensional array .
10. Explain extending interfaces .
11. Explain method overriding with example.
12. Explain Class and object with example.

Part – C
(Each question carries Ten marks)
UNIT – II
1. Define loop. Explain the concept of nested for loops with proper example.
2. Explain method overloading and method overriding with suitable example.
3. What is method? Write down its syntax. Explain passing parameters to method
with example.
4. Discuss the concept of extending a class. Explain multilevel inheritance with
proper example.
5. What is the purpose of access modifiers? Discuss various access modifies in
java with example.
6. Explain the process of creation of one dimensional and two-dimensional array in
Java.
7. Explain various String methods in Java.
8. Explain extending interfaces with example.
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – A
(Each question carries Two marks)
UNIT – III
1. What is error?

2. What is an exception?

3. What is system Packages in java?

4. Define AWT package.

5. List any four function of Graphics class.

6. What is an event?

7. Define thread.

8. What is Graphics class?

9. Which methods you use to fill oval?

11. What is package?

12.What are the attributes of image class used in Graphics class?

13.What is compile time error?

14. List methods for creation of a tread.


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – B

(Each question carries Three marks)

UNIT – III

1. Explain any three System packages in java.


2. Explain any three types of exception.
3. Write down the purpose of any three graphics class methods.
4. Explain catch block in exception handling.
5. How to draw and fill rectangle?
6. Write down the purpose and syntax of drawLine() method.
7. Explain paint() method .
8. What are compile time errors?
9. List the steps of tread life cycle.
10. Explain any three graphics methods of graphics class.
11. Explain any three API packages.
12. Explain naming Coventions of packages with example.
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part- C
(Each question carries Five marks)
UNIT-III
1. Explain API packages in detail.
2. Differentiate between multithreading and multitasking.
3. Explain try/catch/finally block.
4. Explain run time errors.
5. Explain graphics methods to draw circle and ellipse.
6. What is polygon? Explain method to draw polygon in java
7. Explain DrawImage() method.
8. Explain different methods used to draw and fill rectangles.
9. Write down the purpose of sleep(), suspend() and wait() methods.
10. Differentiate between paint () and repaint() method ?
11. Explain any five graphics methods of graphics class

Part- C
(Each question carries Ten marks)
UNIT-III

1. How to create and access packages in java ? Explain.


2. Explain life cycle of thread in detail.
3. Explain different method of creation of thread.
4. Discuss try/catch/finally blocks with suitable example.
5. Describe following graphics methods:
6. DrawString() ii) drawImage() iii) DrawChars()
7. Explain the different methods for drawing and filling 3D rectangles.
8. Discuss any five graphics methods of graphics class with their syntax and
example.
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – A
(Each question carries Two marks)
UNIT – IV

1. Define Applet.

2. List different state of applet life cycle.

3. What is APPLET tag?

4. Define local and remote applet.

5. List the name of tools to require running an applet.

6. Define HTML.

7. What is stream?

8. List any Four Input stream methods?

9. What is file?

10. What is the purpose of java.io package?

11. What is stream class?

12. Write down the purpose of FileReader class.

13. Write down the purpose of FileWriter class.

14. Enlist any four HTML tags and its functions.


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – B
(Each question carries Three marks)
UNIT – IV
1. What is random access file?
2. Write down the function of File class.
3. While reading a file, how would you check whether you have reached the end of
file?
4. Write any three InputStream methods of byte stream class.
5. Write any three OutputStream methods of byte stream class.
6. What are the character stream classes?
7. How the contents of two files are combined into a single file?
8. How do applets differ from application programs?
9. What are the different steps used to build applet?
10. Explain any three methods of Applet Class.
11. Write down the steps which are required to compile applet.
12. Explain the purpose of < param > tag.
13. Write any three differences between applet and console application.
14. How to include applet in web page? Explain.
RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part - C
(Each question carries Five marks)
UNIT – IV
1. Explain InputStream class with example.

2. Explain OutputStream class with example

3. Explain Reader class with example.

4. Explain Writer class with example.

5. How the concept of streams is used for handling all input and output operations?

7. How stream classes are classified into different groups to handle different data
types?

8. How files are created and opened for input and output operations? Explain with
example

9. How applets differ from application program? Explain.

10.Explain different steps involved in developing and testing an applet?

11. Explain Hello Web Applet.

12.What is applet tag? Explain with example.

13. Discuss how to run applet in detail.

14. Write a program to pass parameter to applet.

15. Explain stop() and destroy() method in applet.


RASHTRASANT TUKADOJI MAHARAJ NAGPUR UNIVERSITY, NAGPUR BOARD
OF COMPUTER APPLICATION

QUESTION BANK
BACHELOR OF COMMERCE (COMPUTER APPLICATION) (BCCA)
Course: BCCA – II (Semester – IV) Subject: Core Java (4T3)

Part – C
(Each question carries Ten marks)
UNIT – IV

1. What is an applet? Explain the applet life cycle in detail.

2. How to pass parameter to Applet? Explain with example.

3. How to build applet code? Explain its syntax and example.

4. How to design web page using applet? Discuss major sections of web page with
example.

5. Discuss any ten HTML tags with example.

6. How to load and display image in Applet? Explain in detail.

7. Define stream? Explain Byte stream classes and characters stream classes?

8. What are the reader classes and writer classes? Explain briefly.

9. What is file class? Explain how to open and close a file?

10. Differentiate Data Input Stream and Data output Stream in details.

You might also like