0% found this document useful (0 votes)
2 views3 pages

Java Programming Language

This document outlines the examination details for the Bachelor of Computer Applications (Fourth Semester) in Java Programming Language scheduled for March 2025. It includes instructions for students, a series of questions covering various Java concepts, and sections for short notes and programming tasks. The exam is structured to assess knowledge on data types, methods, exceptions, and linked lists, among other topics.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Java Programming Language

This document outlines the examination details for the Bachelor of Computer Applications (Fourth Semester) in Java Programming Language scheduled for March 2025. It includes instructions for students, a series of questions covering various Java concepts, and sections for short notes and programming tasks. The exam is structured to assess knowledge on data types, methods, exceptions, and linked lists, among other topics.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

2011000104030001

EXAMINATION MARCH 2025


BACHELOR OF COMPUTER APPLICATIONS (FOURTH
SEMESTER)
JAVA PROGRAMMING LANGUAGE
[Time: As Per Schedule] [Max. Marks: 70]

Instructions: Seat No:


1. Fill up strictly the following details on your answer book
a. Name of the Examination : BACHELOR OF COMPUTER
APPLICATIONS (FOURTH SEMESTER)
b. Name of the Subject : JAVA PROGRAMMING LANGUAGE
c. Subject Code No : 2011000104030001
2. Sketch neat and labelled diagram wherever necessary.
3. Figures to the right indicate full marks of the question.
4. All questions are compulsory.
Student’s Signature

Q.1 Answer the following: 10

1. Which of the following is available with java?


A. Pointer B. Structure
C. Array D. All of this

2. What is the size of int datatype?


A. 1 byte B. 2 byte
C. 4 byte D. None

3. Which type of variable is shared by all objects of the class?


A. Static B. Global
C. Instance D. None

2011000104030001 [1 of 3]
4. What is the output of:
StringBuffer s= “Good Morning”;
[Link]([Link]());
A. 28 B. 16 C. 12 D. None

5. In which concept, two or more methods share same name but have
different parameters?
A. Method overloading B. Method overriding
C. Inheritance D. Method hiding

6. Which of the following is for importing all classes of package B?


A. imports A.B.*; B. imports A.B;
C. import A.B.*; D. import A.B;

7. What is Full form of AWT?


A. Abstract Window Toolkit B. Active Window Toolkit
C. Abstract Web Toolkit D. Active Web Toolkit

8. What is from following used for manually fire the exception?


A. try B. throw [Link] D. finally

9. What is the minimum priority in Thread class?


A. 0 B. 5 C. 1 D. None

10. In which type of linked list, no node contains NULL pointer?


A. Singly linked list B. Doubly linked list
C. Circular linked list D. None

2011000104030001 [2 of 3]
Q.2 Answer the following: (Any Two) 14

(1) Explain various data types in Java. Also write about type conversion
with example.
(2) Write about properties of Java.
(3) Explain various uses of super keyword with example.

Q.3 Answer the following: (Any Two) 14

(1) Explain any seven methods of StringBuffer class with example.


(2) Explain priorities of thread with example.
(3) Explain package creation process with example.

Q.4 Answer the following: 18

a) Differentiate the following: (Any Three) 12


1. For loop Vs Do-While loop
2. Compile time polymorphism Vs Run time polymorphism
3. Java Constructors Vs Java Methods
4. Checked Exception Vs Unchecked Exception.

b) Write a program for creating and displaying singly linked list. 6

OR

b) Write a program for creating and displaying singly circular linked list. 6

Q.5 Write short note on the following: (Any Two). 14

1. Interface.
2. Try-Catch
3. Applet
********

2011000104030001 [3 of 3]

You might also like