0% found this document useful (0 votes)
1K views2 pages

Model Question Paper Format (R23)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views2 pages

Model Question Paper Format (R23)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Code:CS23APC302 R23

B.TechII Year I Semester Regular Examinations December 2024


Object Oriented Programming Through Java
(Computer Science & Engineering)
Time: 3 hrs. Max Marks: 70
PART-A
(Compulsory Question)
1. Answer the following 10x02= 20 Marks
a) Define Variable. Write the syntax to initialize a variable. 2M
b) Write differences between break and continue. 2M
c) How do you access class members ? 2M
d) What is the significance of keyword this? 2M
e) Define Arrays. How do you assign an array to another array?. 2M
f) Define Interface. Name some annotations used in interface. 2M
g) What is Scanner class in Java? 2M
h) Define Exception. What is try with multiple catch blocks? 2M
i) Write any two differences between String and StringBuffer classes. 2M
j) What is GUI? Name some GUI Methods 2M
PART-B
Answer All five Units 05 x 10 = 50 Marks
UNIT-I
2. a) Write a program to to take input through command prompt. 5M
b) What is Type casting? Explain with an example 5M
OR
3. a) Explain in detail about operators in OOPJ. 5M
b) Write about iteration statements with sample programs. 5M
UNIT-II
4. a) How do you access private members of class? 5M
b) Define Constructor. Write the differences between Method Overloading and 5M
Constructor Overloading.
OR
5. a) Write a program that can access class objects as parameters in Methods. 5M
b) Explain the keywords final and static with examples. 5M
UNIT-III
6. a) Declare Three-Dimensional array of varying lengths with sample program. 5M
b) Explain the advantages of super keyword in inheritance. 5M
OR
7. a) What is Inheritance? Explain its types with suitable examples. 5M
b) How Java supports the concept multiple inheritance through Interfaces. Justify 5M
UNIT-IV
8. a) Define package and its role in Java? Explain how to create user define package 5M
with example.
b) What is Wrapper classes? Write about auto-boxing and auto-unboxing. 5M

Page 1 of 2
Code:CS23APC302 R23
OR
9. a) Define Exception. Write a sample program to implement try with multiple catch 5M
blocks.
b) Write a sample program to read and write console input and output in java 5M
UNIT-V
10. a) Explain various String Handling methods in Java. 5M
b) Demonstrate various methods for creation of Threads in Java. 5M
OR
11. a) With a neat sketch, explain Thread Lifecycle. 5M
b) Explain the Event methods in Java FX that are associated with Mouse and Keyboard. 5M
*****

Page 2 of 2

You might also like