0% found this document useful (0 votes)
30 views2 pages

BPLCK105C

This document outlines the structure and content of the Basics of Java Programming examination for the First Semester B.E./B.Tech. Degree Supplementary Examination in June/July 2024. It includes various modules with questions covering object-oriented principles, data types, operators, control structures, methods, inheritance, and exception handling in Java. Students are required to answer five full questions, selecting one from each module, with a total of 100 marks available.
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)
30 views2 pages

BPLCK105C

This document outlines the structure and content of the Basics of Java Programming examination for the First Semester B.E./B.Tech. Degree Supplementary Examination in June/July 2024. It includes various modules with questions covering object-oriented principles, data types, operators, control structures, methods, inheritance, and exception handling in Java. Students are required to answer five full questions, selecting one from each module, with a total of 100 marks available.
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
You are on page 1/ 2

USN BPLCK105C/BPLCKC105

First Semester B.E./B.Tech. Degree Supplementary Examination,


June/July 2024
Basics of Java Programming

Time: 3 hrs. Max. Marks: 100


Note: 1. Answer any FIVE full questions, choosing ONE full question from each module.
2. M : Marks , L: Bloom’s level , C: Course outcomes.

Module – 1 M L C
Q.1 a. Explain any three object Oriental principles. 6 L2 CO1

b. Describe the process of compiling and running the Java application, with 6 L1 CO1
example.

c. Discuss the various primitive data types used in Java. 8 L1 CO1

OR
Q.2 a. Explain type conversion in Java with example. 6 L2 CO1

b. What are keywords and identifies? List the rules to write identifiers. 6 L1 CO1

c. How are array declared and initialized in Java? Explain with suitable 8 L2 CO1
examples.

Module – 2
Q.3 a. What are different types of operators in Java? Explain them. 6 L2 CO1

b. Write a program to find biggest among 3 numbers using ternary operator. 6 L1 CO1

c. Demonstrate working of break with labels in Java. 8 L2 CO1

OR
Q.4 a. Differentiate between while loop and do While loop in Java. 6 L2 CO1

b. With program, explain continue and return keywords in Java. 6 L2 CO1

c. Write a program to calculate the average among the elements 4, 8, 10, 12 8 L3 CO1
using for each in JAVA.

Module – 3
Q.5 a. Distinguish between Method Overloading and Method Overriding in Java, 8 L2 CO3
with suitable example.

b. Mention and explain the use of This keyword in Java. 6 L2 CO1

c. What are Constructors? Explain two types of constructors. 6 L2 CO1

OR

1 of 2
BPLCK105C/BPLCKC105

Q.6 a. Explain Garbage collection in Java. 6 L2 CO1

b. Explain how to perform stack operation using proper class and methods. 8 L3 CO1

c. Mention and explain the use of final keyword in Java. 6 L2 CO3

Module – 4
Q.7 a. What is Inheritance? Discuss different types of inheritance with suitable 8 L2 CO3
example.

b. Explain Abstract class and Abstract method with an example. 6 L2 CO3

c. Demonstrate the working of final class and final method in Java. 6 L3 CO3

OR
Q.8 a. Explain two uses of super keyword with example. 6 L2 CO3

b. Demonstrate dynamic dispatch with abstract class in Java. 8 L3 CO3

c. Explain Object class in Java. 6 L2 CO3

Module – 5
Q.9 a. Explain the steps involved in creating user defined package with an 8 L2 CO4
example.

b. Explain the syntax of throw and throws with example. 4 L3 CO4

c. How do you define variables inside interface? List out the characteristics of 8 L2 CO3
such variables.

OR
Q.10 a. What is an Interface? Explain how to define and implement interface by 8 L2 CO3
taking suitable example.

b. How do you create your own exception class? Explain with program. 8 L3 CO4

c. Explain the use of try and catch block in JAVA. 4 L2 CO4

*****

2 of 2

You might also like