CS4357 - JAVA - SET 1 Split
CS4357 - JAVA - SET 1 Split
b.) Write a Java Program to find the Fibonacci series using recursive and non-recursive functions.
Internal Examiner
2.
Internal Examiner
a.) Write a Java Program for Method overloading and Constructor Overloading.
b.) Write a Java program to demonstrate Abstract class.
Internal Examiner
a.) Write a Java Program to find the third largest element in an array.
b.) Program to demonstrate features of generic class.
Internal Examiner
a.) Write a Java Program to display the employee details using Scanner class.
b.) Write a Java Program to find the Fibonacci series using recursive and non-recursive functions.
Internal Examiner
6.
Internal Examiner
a.) Write a Java Program that checks whether a given string is palindrome or not.
b.) Write a Java Program to demonstrate error handling.
7.
Internal Examiner
Internal Examiner
a.) Write a Java Program to generate employee PaySlip using Inheritance Concept.
b.) Write a Java Program that swaps the values of two variables without using a temporary variable.
Use arithmetic operators to achieve the swap.
Internal Examiner
a.) Write a Java Program to create user defined package.
b.) Build a Java program that converts temperatures between Celsius and Fahrenheit. Allow users
to choose the conversion direction and use arithmetic operators to perform the conversions.
Internal Examiner
a) Write a Java Program for handling Mouse events and Key events.
b) Write a Java Program to count the total number of characters in a string
11.
Internal Examiner
12.
Internal Examiner
a) Write a Java Program to generate random number.
b) Write a Java Program to generate employee PaySlip using Inheritance Concept.
Internal Examiner
a.) Write a Java Program to print the patterns of Right triangle star pattern.
b.) Write a Java Program to find the factorial of a number.
14.
Internal Examiner
15.
Internal Examiner
a.) Write a Java Program to count the total number of vowels and consonants in a string.
b.) Write a Java Program to demonstrate string handling functions.
16.
Internal Examiner
a.) Write a Java Program for producer and consumer problem using Threads.
b.) Write a Java Program to display Even Numbers From 1 to 100.
Internal Examiner
18.
Internal Examiner
a.) Write a Java Program to illustrate multiple Catch Blocks.
b.) Write a Java Program to Reverse a number.
Internal Examiner
Internal Examiner
a.) Write a Java Program that works as a simple calculator. Use a Grid Layout to arrange Buttons
for digits and for the +-*% operations. Add a text field to display the result.
b.) Write a Java Applet Program to add two numbers
Internal Examiner
a.) Write a Java Program to count the total number of characters in a string.
b.) Write a Java Program to copy all elements of one array into another array.
Internal Examiner
a.) Create a Java program that reads a series of integers from the user until a negative number is
entered. The program should then calculate and display the following:
i. The sum of all positive integers entered.
ii. The average of all positive integers entered.
iii. The maximum and minimum values among the positive integers entered.
b.)Write a Java Program to calculate compound interest.
Internal Examiner
a.) Write a recursive Java method to generate all possible permutations of a given string. The
method should print each permutation on a new line. For the input string "ABC", the output should
be:
ABC
ACB
BAC
24. BCA
CAB
CBA
b.) Write a Java Program to find the total number of elements in an array.
Aim &Algorithm Program Results Viva-Voce Record Total
20 40 20 10 10 100
Internal Examiner
a.) Write a Java program to create a base class Shape with a method called calculateArea(). Create
three subclasses: Circle, Rectangle, and Triangle. Override the calculateArea() method in each
subclass to calculate and return the shape's area.
b.)Write a Java program that calculates the sum of all prime numbers up to a given limit using
multiple threads.
25.
Aim &Algorithm Program Results Viva-Voce Record Total
20 40 20 10 10 100
Internal Examiner
26.
Internal Examiner
a.) Write a Java Program to print the prime numbers upto nth number.
b.) Write a Java Program to replace lower-case characters with upper-case and vice-versa.
Internal Examiner
a. Write a Java Program to sort the elements of an array in ascending order.
b. Write a Java Program to demonstrate error handling.
28.
Internal Examiner
Internal Examiner
Internal Examiner
a.) Write a Java Program for constructor overloading.
b.) Write a Java Program to calculate simple interest.
31.
Internal Examiner
a) Write a Java Program to find Smallest of Three Numbers Using Ternary Operator.
b.) Write a Java Program to demonstrate a simple applet program.
32.
Internal Examiner