25511
BCA Pt. ) 330031.
Printed Pages :3
BCA (Part-I) Examination, 2025
(Three-Year Scheme of 10+2-+3)
JAVA PROGRAMMING
Paper - I(BCA-301)
Time Allowed: Three Houroei tsdW
Maximum Marks: 100otS Satt (
Note :(i) Theory paper shall containthreeparts. All questionsare compulsory.
Part-I (Very short answer) consists of 10 sub-questionsof 2 marks cach. Maximum
limit foreach question is up to 40 words.
Part-II (Shortanswer) consists of 5sub-questionsof 4 marks each.Maximum limit for
each question is up to 80words.
Part-III (Long answer) consists of 5questionsof 12 marks each with one question
from each unit with internal choice.
(ii) No supplementary answer-book will be given to any candidate.Hence the candidate
should write all their answers precisely inthe main answer-book only.
(ii) All the parts (Sub-questions)ofone questionshould be answeredatone placein the
answer-book. One complete questionshould not be answered atdifferent placesin the
answer-book.
25511/700
(1)
Part-I [2 marks each)
(Very Short Answer Questions)
1. (1) Define encapsulation with anexample.
(i) What is bytecode in Java?
(ii) Write a syntax example ofa switch statement.
(iv) Differentiatebetween class and object.
What ismethod overriding?
(vi) List any two uses ofwrapper classes in Java.
(vii) Define abstractclass with an example.
(vii) What is synchronization in multithreading?
(ix) Write theuse offinally block in exception handling.
(x) What isthepurpose ofJDBC?
Part-II
[4 marks each]
(ShortAnswer Questions)
2. Explain the featuresof Java that makeit platform-independent
and secures.
(ii) How are arraysand strings used in Java? Give suitableexamples.
(iii) Differentiate between interface and abstractclass with proper syntax.
(iv) Write a shortnote onAWT controlsand Layout
Managers in Java.
() Explain the lifecycle ofa servlet
with a neat diagram.
25S11/700
(2)
Part-IlI [12 marks each]
(Long Answer Questions)
3. Explainthe basic concepts of object-oriented programming with examples in Java.
OR
Describe.JVM architecture and explain how Java achievesplatform independence.
4. Discussthe use of control structures in Java (if-else, loops, switch)with examples.
OR
Explainconstructors and method overloading with code examples.
5 s multithreading?Explain thread lifecycle and methods with examples.
OR
Explain the different types of inheritance supportedin Java wih appropriateexamples.
6. Write a programin Java to demonstratetry-catch-finally block.Also explainexception hierarchy.
OR
Explain Java AWTEvent Delegation Model with suitable component event examples.
7.
ExplainTCP /IP socket programming with server-client example in Java.
OR
What is JDBC? Describe stepsto connect a Java program with a database using JDBC.
25511/700
(3)