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

UNIT-1 Assignments

Uploaded by

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

UNIT-1 Assignments

Uploaded by

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

ASSIGNMENTS, QUALITY AND EVALUATION

Subject: OBJECT ORIENTED PROGRAMMING through JAVA


Branch: II IT-C & D
Academic Year: 2024-25 Semester: I
Faculty: V Gopikrishna

UNIT-1 ASSIGNMENT QUESTIONS

Unit Assignme Course


Topic Blooms
No nt No/Set Outcome
Level
1. a) Explain Java Buzzwords in detail. L-2
b) Build a java program to find whether the given CO-1
L-3
number is prime or not.
2. a) Explain class and object in detail.
L-2
b) Build a java program to create Student class CO-1
(Name,RollNo,age) for 5 students. Find the average age L-3
I 1/Set-1 of student.
3. a) Write a program to find the first and the last
occurence of the letter 'o' and character ',' in "Hello, L-3
World". CO-1
L-3
b) Write a program to check if the letter 'e' is present in
the word 'Umbrella'.
1. a) Explain Control flow statements in java. L-2
b) Build a java program to find whether the given number CO-1
L-3
is palindrome or not.
2. a) Explain constructor in Java.
L-2
b) Write a program to print the name, salary and date CO-1
I of joining of 10 employees in a company. Use array of L-3
objects.
1/Set-2 3. a) Build a program to check if the word 'orange' is
present in the "This is orange juice". L-3
b) Build a Java program to count number of vowels, CO-1
consonants, digits and special characters in a string L-3
CO-1 L-2
1. a) Explain type conversion with an example.
b) Build a java program to find roots of quadratic roots. L-3
2. a) Explain static block, data and method in Java.
L-2
b) Build a java program to create Employee class CO-1
I 1/Set-3 (Name,Id,Salary) for 5 employees and initialize using L-3
constructor. Find the average salary of employee.
3. a) Build a java program to count the total number
of occurrences of a given character in a string . L-3
CO-1
b) Build a program to delete all consonants from L-3
the string "Hello, have a good day".

Section C

SET NO From To

1 23R21A12C7 21R21A12E9

2 23R21A12F0 21R21A12H4

21R21A12H5 21R21A12K0,24R25A1209-
3
218

Section D

SET NO From To

1 23R21A12K1 21R21A12M4

2 23R21A12M5 21R21A12P9

21R21A12Q0 21R21A12R5,24R25A1219-
3
227

You might also like