0% found this document useful (0 votes)
26 views53 pages

Projects - JFS

The document outlines various software applications including a Student Management System, To-Do List Application, ATM Simulation System, Library Management System, Online Quiz System, Chat Application, and Banking System. Each application addresses specific problems, such as managing student records, tracking tasks, simulating ATM transactions, managing library books, conducting quizzes, enabling real-time messaging, and automating banking operations. The document includes overviews, problem statements, learning outcomes, code examples, features, and descriptions of how each application works.
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)
26 views53 pages

Projects - JFS

The document outlines various software applications including a Student Management System, To-Do List Application, ATM Simulation System, Library Management System, Online Quiz System, Chat Application, and Banking System. Each application addresses specific problems, such as managing student records, tracking tasks, simulating ATM transactions, managing library books, conducting quizzes, enabling real-time messaging, and automating banking operations. The document includes overviews, problem statements, learning outcomes, code examples, features, and descriptions of how each application works.
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/ 53

1.

Student Management System

Overview

Idi oka Student Management System. Dini valla school lo students details like name, age,
marks, attendance store cheyyachu. Teacher ki students data easy ga manage cheyyadaniki
use avtundi.

Problem Statement

Managing student records manually using registers or spreadsheets can be inefficient and
prone to errors. Teachers and administrators face challenges in tracking student attendance,
academic performance, and personal details effectively. A digital Student Management
System automates these processes, ensuring quick access to student data, better organization,
and improved accuracy in record-keeping.

Learning Outcomes

●​ Data store cheyyadam nerchukuntaru.


●​ Java objects and classes ela use cheyyalo telustundi.
●​ Basic file handling and array lists use cheyyadam nerchukuntaru.

Code
import java.util.ArrayList;

class Student {
String name;
int age;

Student(String name, int age) {


this.name = name;
this.age = age;
}

void displayStudent() {
System.out.println("Name: " + name + ", Age: " + age);
}
}

public class StudentManagement {


public static void main(String[] args) {
ArrayList<Student> students = new ArrayList<>();
students.add(new Student("Ravi", 12));
students.add(new Student("Sita", 13));

System.out.println("Student List:");
for (Student s : students) {
s.displayStudent();
}
}
}

Features

✅ Students details store cheyyadam​


✅ New student add cheyyadam​
✅ Student list display cheyyadam
How It Works

1.​ Teacher student details enter chestaru.


2.​ Software student details store chestundi.
3.​ Teacher student list check cheyyachu.
















2. To-Do List Application

Overview

Idi oka To-Do List App. Dini valla manam mana daily tasks store cheyyachu, track cheyyachu.
Task complete ayyaka remove cheyyachu.

Problem Statement

People often struggle to keep track of their daily tasks, leading to missed deadlines and poor
productivity. Traditional methods like writing tasks on paper or relying on memory are not
efficient. A To-Do List Application provides a structured way to add, update, and remove
tasks, ensuring better time management and task completion.

Learning Outcomes

●​ Java ArrayList use cheyyadam nerchukuntaru.


●​ User input handle cheyyadam nerchukuntaru.
●​ Loops and conditions ela use cheyyalo telustundi.

Code
import java.util.ArrayList;
import java.util.Scanner;

public class ToDoList {


public static void main(String[] args) {
ArrayList<String> tasks = new ArrayList<>();
Scanner sc = new Scanner(System.in);
int choice;

do {
System.out.println("\n1. Add Task 2. View Tasks 3.
Remove Task 4. Exit");
System.out.print("Enter your choice: ");
choice = sc.nextInt();
sc.nextLine();

switch (choice) {
case 1:
System.out.print("Enter Task: ");
String task = sc.nextLine();
tasks.add(task);
break;
case 2:
System.out.println("\nYour Tasks:");
for (int i = 0; i < tasks.size(); i++) {
System.out.println((i + 1) + ". " +
tasks.get(i));
}
break;
case 3:
System.out.print("Enter task number to remove: ");
int index = sc.nextInt() - 1;
if (index >= 0 && index < tasks.size()) {
tasks.remove(index);
System.out.println("Task removed.");
} else {
System.out.println("Invalid task number.");
}
break;
}
} while (choice != 4);
sc.close();
}
}

Features

✅ New task add cheyyadam​


✅ Task list display cheyyadam​
✅ Task remove cheyyadam
How It Works

1.​ User task enter chestadu.


2.​ Software task store chestundi.
3.​ User task list chusi complete ayyaka remove cheyyachu.

3. ATM Simulation System

Overview

Idi oka ATM Simulation System. Dini valla ATM ela panicheystundo safe environment lo
practice cheyyachu.

Problem Statement

Many people, especially students and beginners, do not have practical experience in using an
ATM before their first real transaction. They might find it confusing to check their balance,
withdraw, or deposit money securely. A ATM Simulation System helps users understand ATM
functionalities in a safe environment without financial risks, making them confident while using
real ATMs.

Learning Outcomes

●​ Java classes and objects ela use cheyyalo telustundi.


●​ Methods and conditions use cheyyadam nerchukuntaru.
●​ User input handling nerchukuntaru.

Code
import java.util.Scanner;

class ATM {
private double balance;

ATM(double initialBalance) {
this.balance = initialBalance;
}

void deposit(double amount) {


balance += amount;
System.out.println("Deposited: $" + amount);
checkBalance();
}

void withdraw(double amount) {


if (amount > balance) {
System.out.println("Insufficient balance.");
} else {
balance -= amount;
System.out.println("Withdrawn: $" + amount);
}
checkBalance();
}

void checkBalance() {
System.out.println("Current Balance: $" + balance);
}
}

public class ATMSimulation {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ATM atm = new ATM(1000); // Initial balance $1000
int choice;

do {
System.out.println("\n1. Deposit 2. Withdraw 3. Check
Balance 4. Exit");
System.out.print("Enter your choice: ");
choice = sc.nextInt();

switch (choice) {
case 1:
System.out.print("Enter amount to deposit: ");
double depositAmount = sc.nextDouble();
atm.deposit(depositAmount);
break;
case 2:
System.out.print("Enter amount to withdraw: ");
double withdrawAmount = sc.nextDouble();
atm.withdraw(withdrawAmount);
break;
case 3:
atm.checkBalance();
break;
}
} while (choice != 4);
sc.close();
}
}

Features

✅ Balance check cheyyadam​


✅ Money deposit cheyyadam​
✅ Money withdraw cheyyadam
How It Works

1.​ User ATM enter chestadu.


2.​ Deposit, Withdraw, Balance check options untayi.
3.​ User amount enter chesi transaction complete chestadu.



























4. Library Management System

Overview

Idi oka Library Management System. Dini valla books add cheyyadam, remove cheyyadam,
books borrow cheyyadam easy ga jarugutundi. Librarian ki system ni manage cheyyadam
easy avtundi.

Problem Statement

Manually managing a library with paper records is difficult and time-consuming. Keeping track of
books, checking availability, and managing borrowed books can be challenging. A Library
Management System automates these tasks, making it easier for librarians and students to
handle book-related activities efficiently.

Learning Outcomes

●​ Java classes and objects use cheyyadam nerchukuntaru.


●​ ArrayList, loops, and conditions ela use cheyyalo telustundi.
●​ User input handling and basic file handling nerchukuntaru.

Code
import java.util.ArrayList;
import java.util.Scanner;

class Book {
String title;
boolean isBorrowed;

Book(String title) {
this.title = title;
this.isBorrowed = false;
}

void borrowBook() {
if (!isBorrowed) {
isBorrowed = true;
System.out.println(title + " is borrowed.");
} else {
System.out.println(title + " is already borrowed.");
}
}

void returnBook() {
if (isBorrowed) {
isBorrowed = false;
System.out.println(title + " is returned.");
} else {
System.out.println(title + " was not borrowed.");
}
}

void displayBook() {
System.out.println(title + " - " + (isBorrowed ? "Borrowed" :
"Available"));
}
}

public class LibraryManagement {


public static void main(String[] args) {
ArrayList<Book> library = new ArrayList<>();
Scanner sc = new Scanner(System.in);
int choice;

library.add(new Book("Java Programming"));


library.add(new Book("Data Structures"));

do {
System.out.println("\n1. View Books 2. Borrow Book 3.
Return Book 4. Exit");
System.out.print("Enter choice: ");
choice = sc.nextInt();
sc.nextLine();

switch (choice) {
case 1:
for (Book b : library) b.displayBook();
break;
case 2:
System.out.print("Enter book name to borrow: ");
String borrowTitle = sc.nextLine();
for (Book b : library) {
if (b.title.equalsIgnoreCase(borrowTitle)) {
b.borrowBook();
}
}
break;
case 3:
System.out.print("Enter book name to return: ");
String returnTitle = sc.nextLine();
for (Book b : library) {
if (b.title.equalsIgnoreCase(returnTitle)) {
b.returnBook();
}
}
break;
}
} while (choice != 4);
sc.close();
}
}

Features

✅ Books view cheyyadam​


✅ Book borrow cheyyadam​
✅ Book return cheyyadam
How It Works

1.​ Librarian books add chestaru.


2.​ Students books borrow cheyyachu.
3.​ Borrowed books return cheyyachu.




5. Online Quiz System

Overview

Idi oka Online Quiz System. Dini valla users ki questions istundi, answer select
cheyyadam, score calculate cheyyadam jarugutundi.

Problem Statement

Conducting quizzes manually on paper is time-consuming and difficult to evaluate. A Online


Quiz System allows users to take quizzes interactively, automatically calculating scores and
providing feedback.

Learning Outcomes

●​ Java arrays and loops use cheyyadam nerchukuntaru.


●​ User input handle cheyyadam nerchukuntaru.
●​ Basic conditional statements ela use cheyyalo telustundi.

Code
import java.util.Scanner;

public class OnlineQuiz {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] questions = {
"What is the capital of India? \n1. Mumbai 2. Delhi 3.
Kolkata 4. Chennai",
"What is 5 + 3? \n1. 5 2. 8 3. 9 4. 7"
};
int[] answers = {2, 2};
int score = 0;

for (int i = 0; i < questions.length; i++) {


System.out.println(questions[i]);
System.out.print("Enter answer (1-4): ");
int userAnswer = sc.nextInt();
if (userAnswer == answers[i]) {
score++;
}
}
System.out.println("Your score: " + score + "/" +
questions.length);
sc.close();
}
}

Features

✅ Multiple-choice questions​
✅ Automatic score calculation​
✅ User-friendly quiz format
How It Works

1.​ User questions ki answer istaru.


2.​ Correct answer ayithe score increment avtundi.
3.​ Final score display chestundi.




















6. Chat Application

Overview

Idi oka Chat Application. Dini valla two users messages exchange cheyyachu. Basic
messaging system ni implement cheyyadam easy avtundi.

Problem Statement

Traditional messaging methods like SMS require network and cost. A Chat Application allows
users to send and receive messages instantly over the internet in a simple and interactive way.

Learning Outcomes

●​ Java networking (Sockets) use cheyyadam nerchukuntaru.


●​ Client-server communication ela panichestundo telustundi.
●​ Basic multithreading use cheyyadam nerchukuntaru.

Code

Server Code
import java.io.*;
import java.net.*;

public class ChatServer {


public static void main(String[] args) throws IOException {
ServerSocket serverSocket = new ServerSocket(5000);
System.out.println("Server started... Waiting for client...");
Socket socket = serverSocket.accept();
System.out.println("Client connected.");

BufferedReader input = new BufferedReader(new


InputStreamReader(socket.getInputStream()));
PrintWriter output = new PrintWriter(socket.getOutputStream(),
true);
BufferedReader userInput = new BufferedReader(new
InputStreamReader(System.in));

String message;
while (true) {
message = input.readLine();
if (message.equalsIgnoreCase("exit")) break;
System.out.println("Client: " + message);
System.out.print("You: ");
output.println(userInput.readLine());
}

socket.close();
serverSocket.close();
}
}

Client Code
import java.io.*;
import java.net.*;

public class ChatClient {


public static void main(String[] args) throws IOException {
Socket socket = new Socket("localhost", 5000);
System.out.println("Connected to server.");

BufferedReader input = new BufferedReader(new


InputStreamReader(socket.getInputStream()));
PrintWriter output = new PrintWriter(socket.getOutputStream(),
true);
BufferedReader userInput = new BufferedReader(new
InputStreamReader(System.in));

String message;
while (true) {
System.out.print("You: ");
message = userInput.readLine();
output.println(message);
if (message.equalsIgnoreCase("exit")) break;
System.out.println("Server: " + input.readLine());
}

socket.close();
}
}

Features

✅ Real-time message exchange​


✅ Simple client-server model​
✅ Exit option for users
How It Works

1.​ Server start chestaru.


2.​ Client connect avtundi.
3.​ Client and Server messages exchange chestaru.
4.​ User exit type cheysthe chat close avtundi.






























7. Banking System

Overview

Idi oka Banking System. Dini valla account create cheyyadam, balance check cheyyadam,
deposit, withdraw laanti tasks easy ga cheyyachu. Idi banking operations ni automate
chestundi.

Problem Statement

Manually handling banking transactions is time-consuming and error-prone. A Banking System


automates transactions like deposits, withdrawals, and balance checking, making banking
operations smoother and more efficient.

Learning Outcomes

●​ Java classes and objects use cheyyadam nerchukuntaru.


●​ User input handle cheyyadam ela telustundi.
●​ Basic arithmetic operations and conditions nerchukuntaru.

Code
import java.util.Scanner;

class BankAccount {
private double balance;

BankAccount(double initialBalance) {
balance = initialBalance;
}

void deposit(double amount) {


balance += amount;
System.out.println(amount + " deposited successfully. New
balance: " + balance);
}

void withdraw(double amount) {


if (amount > balance) {
System.out.println("Insufficient balance!");
} else {
balance -= amount;
System.out.println(amount + " withdrawn successfully. New
balance: " + balance);
}
}

void checkBalance() {
System.out.println("Current Balance: " + balance);
}
}

public class BankingSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BankAccount account = new BankAccount(1000);

int choice;
do {
System.out.println("\n1. Deposit 2. Withdraw 3. Check
Balance 4. Exit");
System.out.print("Enter choice: ");
choice = sc.nextInt();

switch (choice) {
case 1:
System.out.print("Enter amount to deposit: ");
double depositAmount = sc.nextDouble();
account.deposit(depositAmount);
break;
case 2:
System.out.print("Enter amount to withdraw: ");
double withdrawAmount = sc.nextDouble();
account.withdraw(withdrawAmount);
break;
case 3:
account.checkBalance();
break;
}
} while (choice != 4);
sc.close();
}
}

Features

✅ Balance check cheyyachu​


✅ Deposit cheyyachu​
✅ Withdraw cheyyachu
How It Works

1.​ User bank account create chestaru.


2.​ Deposit, withdraw cheyyachu.
3.​ Balance check cheyyachu.























8. Weather App

Overview

Idi oka Weather App. Dini valla temperature, humidity, weather conditions telustayi. Simple
ga user ki weather information chupistundi.

Problem Statement

Checking weather manually from different sources is not convenient. A Weather App provides
real-time weather updates in a simple and user-friendly way.

Learning Outcomes

●​ Java API calls and user input nerchukuntaru.


●​ Basic if-else conditions use cheyyadam telustundi.
●​ Simple user interface creation ela cheyyalo nerchukuntaru.

Code (Static Data)


import java.util.Scanner;

class Weather {
String city;
String condition;
int temperature;

Weather(String city, String condition, int temperature) {


this.city = city;
this.condition = condition;
this.temperature = temperature;
}

void displayWeather() {
System.out.println("Weather in " + city + ": " + condition +
", " + temperature + "°C");
}
}

public class WeatherApp {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Weather[] weatherData = {
new Weather("Hyderabad", "Sunny", 32),
new Weather("Delhi", "Cloudy", 28),
new Weather("Mumbai", "Rainy", 26)
};

System.out.print("Enter city name: ");


String userCity = sc.nextLine();

boolean found = false;


for (Weather w : weatherData) {
if (w.city.equalsIgnoreCase(userCity)) {
w.displayWeather();
found = true;
break;
}
}

if (!found) {
System.out.println("Weather data not available for " +
userCity);
}
sc.close();
}
}

Features

✅ City-wise weather display​


✅ Temperature and condition display​
✅ Simple and interactive UI
How It Works

1.​ User city name enter chestaru.


2.​ Weather condition display avtundi.
3.​ Unknown city ayithe error message chupistundi.
9. Inventory Management System

Overview

Idi oka Inventory Management System. Dini valla products add cheyyadam, stock check
cheyyadam, remove cheyyadam easy ga cheyyachu.

Problem Statement

Manually tracking inventory leads to errors and mismanagement of stock. A Inventory


Management System helps businesses keep track of their stock levels, manage product
details, and prevent shortages.

Learning Outcomes

●​ Java collections (ArrayList) use cheyyadam nerchukuntaru.


●​ Basic CRUD (Create, Read, Update, Delete) operations ela cheyyalo telustundi.
●​ User input handling and loops use cheyyadam nerchukuntaru.

Code
import java.util.ArrayList;
import java.util.Scanner;

class Product {
String name;
int quantity;

Product(String name, int quantity) {


this.name = name;
this.quantity = quantity;
}

void displayProduct() {
System.out.println(name + " - Quantity: " + quantity);
}
}

public class InventoryManagement {


public static void main(String[] args) {
ArrayList<Product> inventory = new ArrayList<>();
Scanner sc = new Scanner(System.in);
int choice;
do {
System.out.println("\n1. Add Product 2. View Inventory
3. Remove Product 4. Exit");
System.out.print("Enter choice: ");
choice = sc.nextInt();
sc.nextLine();

switch (choice) {
case 1:
System.out.print("Enter product name: ");
String name = sc.nextLine();
System.out.print("Enter quantity: ");
int quantity = sc.nextInt();
inventory.add(new Product(name, quantity));
System.out.println("Product added successfully.");
break;
case 2:
if (inventory.isEmpty()) {
System.out.println("No products in
inventory.");
} else {
for (Product p : inventory)
p.displayProduct();
}
break;
case 3:
System.out.print("Enter product name to remove:
");
String removeName = sc.nextLine();
inventory.removeIf(p ->
p.name.equalsIgnoreCase(removeName));
System.out.println("Product removed
successfully.");
break;
}
} while (choice != 4);
sc.close();
}
}

Features

✅ Product add cheyyachu​


✅ Stock view cheyyachu​
✅ Product remove cheyyachu
How It Works

1.​ User new products add chestaru.


2.​ Available stock view cheyyachu.
3.​ Unwanted products remove cheyyachu.







10. Employee Payroll System

Overview

Idi oka Employee Payroll System. Dini valla employee salary calculate cheyyadam,
allowances add cheyyadam, tax deductions check cheyyadam laanti tasks easy ga
cheyyachu. Idi companies ki salary process cheyyadam lo chala upayogapadutundi.

Problem Statement

Manually calculating employee salaries, deductions, and allowances is time-consuming and


prone to errors. An Employee Payroll System automates salary calculations, tax deductions,
and generates accurate payroll reports efficiently.

Learning Outcomes

●​ Java classes and objects use cheyyadam nerchukuntaru.


●​ User input handle cheyyadam ela telustundi.
●​ Basic arithmetic operations and conditions nerchukuntaru.
●​ Employee salary structure ela untundi ani telustundi.

Code
import java.util.Scanner;

class Employee {
String name;
int empId;
double basicSalary;

Employee(String name, int empId, double basicSalary) {


this.name = name;
this.empId = empId;
this.basicSalary = basicSalary;
}

double calculateHRA() {
return basicSalary * 0.20; // 20% House Rent Allowance
}

double calculateDA() {
return basicSalary * 0.10; // 10% Dearness Allowance
}

double calculateTax() {
return basicSalary * 0.05; // 5% Tax deduction
}

double calculateNetSalary() {
return basicSalary + calculateHRA() + calculateDA() -
calculateTax();
}

void displaySalarySlip() {
System.out.println("\nEmployee Salary Slip");
System.out.println("Name: " + name);
System.out.println("Employee ID: " + empId);
System.out.println("Basic Salary: " + basicSalary);
System.out.println("HRA (20%): " + calculateHRA());
System.out.println("DA (10%): " + calculateDA());
System.out.println("Tax Deduction (5%): " + calculateTax());
System.out.println("Net Salary: " + calculateNetSalary());
}
}

public class PayrollSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);

System.out.print("Enter Employee Name: ");


String name = sc.nextLine();

System.out.print("Enter Employee ID: ");


int empId = sc.nextInt();

System.out.print("Enter Basic Salary: ");


double basicSalary = sc.nextDouble();

Employee emp = new Employee(name, empId, basicSalary);


emp.displaySalarySlip();

sc.close();
}
}

Features

✅ Employee salary calculate cheyyachu​


✅ Allowances (HRA, DA) add cheyyachu​
✅ Tax deductions automatic ga calculate avtayi​
✅ Salary slip generate avtundi
How It Works

1.​ Employee name, ID, salary enter chestaru.


2.​ HRA, DA, Tax deductions calculate avtayi.
3.​ Final net salary display avtundi.
4.​ Salary slip generate chestundi.



11. E-Commerce Website
Overview

E-Commerce Website oka online platform, ekkada users products purchase cheyyachu,
cart lo items add cheyyachu, payments cheyyachu. It provides a user-friendly interface for
customers to view products, add them to the cart, and complete the purchase.

Problem Statement

Building an online platform for users to buy and sell products. A E-Commerce Website needs
to efficiently handle product listings, user cart, and payment processing.

Learning Outcomes

●​ Java classes and objects use cheyyadam.


●​ User input and handling forms in websites.
●​ CRUD operations (Create, Read, Update, Delete) nerchukuntaru.
●​ Basic HTML, CSS integration with Java backend.

Code
import java.util.Scanner;

class Product {
String name;
double price;

Product(String name, double price) {


this.name = name;
this.price = price;
}
}

class Cart {
double totalAmount = 0;

void addToCart(Product product) {


totalAmount += product.price;
System.out.println(product.name + " added to cart. Price: " +
product.price);
}

void checkout() {
System.out.println("\nTotal amount to pay: " + totalAmount);
}
}

public class EcommerceWebsite {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Product[] products = {
new Product("Shirt", 500),
new Product("Shoes", 1500),
new Product("Watch", 2000)
};
Cart cart = new Cart();

System.out.println("Welcome to our E-Commerce Website!");

boolean shopping = true;


while (shopping) {
System.out.println("\nAvailable products: ");
for (int i = 0; i < products.length; i++) {
System.out.println((i + 1) + ". " + products[i].name +
" - " + products[i].price);
}

System.out.print("\nEnter product number to add to cart or


0 to checkout: ");
int choice = sc.nextInt();
if (choice == 0) {
cart.checkout();
shopping = false;
} else if (choice > 0 && choice <= products.length) {
cart.addToCart(products[choice - 1]);
} else {
System.out.println("Invalid choice. Try again.");
}
}
sc.close();
}
}
Features

✅ Product selection and adding to cart​


✅ Checkout process​
✅ Cart total calculation
How It Works

1.​ User products view chestaru.


2.​ Add product to cart cheyyachu.
3.​ Checkout process with total amount display chestundi.






















12. Online Food Delivery System

Overview
Online Food Delivery System oka app, ikkada users food order cheyyachu, restaurants ni
choose cheyyachu, food select chesi order cheyyachu. It provides a platform for users to
order food online and get it delivered at home.

Problem Statement

Users face challenges in selecting food and restaurants. A Food Delivery System needs to
help users browse food items, place orders, and track delivery.

Learning Outcomes

●​ Java and Collections (ArrayList) use cheyyadam.


●​ Handling multiple orders and user input.
●​ Food item selection and delivery processing.

Code
import java.util.Scanner;
import java.util.ArrayList;

class FoodItem {
String name;
double price;

FoodItem(String name, double price) {


this.name = name;
this.price = price;
}
}

class Order {
ArrayList<FoodItem> items = new ArrayList<>();
double totalPrice = 0;

void addItem(FoodItem item) {


items.add(item);
totalPrice += item.price;
System.out.println(item.name + " added to your order. Price: "
+ item.price);
}

void displayOrder() {
System.out.println("\nYour Order:");
for (FoodItem item : items) {
System.out.println(item.name + " - " + item.price);
}
System.out.println("Total: " + totalPrice);
}

void confirmOrder() {
System.out.println("\nYour order has been confirmed!");
displayOrder();
}
}

public class FoodDeliverySystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);

FoodItem[] menu = {
new FoodItem("Pizza", 300),
new FoodItem("Burger", 150),
new FoodItem("Pasta", 250)
};

Order order = new Order();


System.out.println("Welcome to Online Food Delivery!");

boolean ordering = true;


while (ordering) {
System.out.println("\nMenu:");
for (int i = 0; i < menu.length; i++) {
System.out.println((i + 1) + ". " + menu[i].name + " -
" + menu[i].price);
}

System.out.print("\nEnter food item number to add to order


or 0 to confirm order: ");
int choice = sc.nextInt();
if (choice == 0) {
order.confirmOrder();
ordering = false;
} else if (choice > 0 && choice <= menu.length) {
order.addItem(menu[choice - 1]);
} else {
System.out.println("Invalid choice. Try again.");
}
}
sc.close();
}
}

Features

✅ Browse food menu​


✅ Add food to order​
✅ Confirm and display order
How It Works

1.​ User food menu view chestaru.


2.​ Food items select chesi add chestaru.
3.​ Order confirm cheyyachu and total price display chestundi.









13. Social Media App

Overview
Social Media App oka platform, ekkada users posts create cheyyachu, friends tho interact
cheyyachu, comments, likes chesi share cheyyachu. It's an app for connecting people and
sharing content online.

Problem Statement

Connecting people online and allowing them to share content. A Social Media App helps users
to create profiles, post updates, and interact with others through comments and likes.

Learning Outcomes

●​ Java ArrayList and String handling nerchukuntaru.


●​ User interaction and post management.
●​ Basic login, post creation, and comment system.

Code
import java.util.Scanner;
import java.util.ArrayList;

class Post {
String content;
ArrayList<String> comments = new ArrayList<>();
ArrayList<String> likes = new ArrayList<>();

Post(String content) {
this.content = content;
}

void addComment(String comment) {


comments.add(comment);
}

void addLike(String user) {


likes.add(user);
}

void displayPost() {
System.out.println("\nPost: " + content);
System.out.println("Likes: " + likes.size() + " | Comments: "
+ comments.size());
for (String comment : comments) {
System.out.println("Comment: " + comment);
}
}
}

public class SocialMediaApp {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);

ArrayList<Post> posts = new ArrayList<>();


System.out.println("Welcome to Social Media App!");

boolean running = true;


while (running) {
System.out.println("\n1. Create Post 2. View Posts 3.
Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();
sc.nextLine(); // consume newline

switch (choice) {
case 1:
System.out.print("Enter post content: ");
String content = sc.nextLine();
Post post = new Post(content);
posts.add(post);

System.out.print("Add comment to post: ");


String comment = sc.nextLine();
post.addComment(comment);

System.out.print("Add your name for like: ");


String user = sc.nextLine();
post.addLike(user);
break;
case 2:
for (Post p : posts) {
p.displayPost();
}
break;
case 3:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}

Features

✅ Create posts​
✅ Add comments and likes​
✅ View all posts
How It Works

1.​ User create posts and add comments.


2.​ Likes add cheyyachu and posts display cheyyachu.
3.​ Multiple posts view cheyyachu.














14. Job Portal System

Overview
Job Portal System oka online platform, ekkada users jobs search cheyyachu, apply
cheyyachu, and job seekers and employers connect avvachu. It allows companies to post
job vacancies and candidates to apply for them easily.

Problem Statement

Job Portal System helps users search jobs, apply for jobs, and get updates about job
openings. This system automates the process of job posting, searching, and application, making
it more efficient for both job seekers and employers.

Learning Outcomes

●​ Java classes and object-oriented concepts use cheyyadam.


●​ ArrayList and HashMap like collections use cheyyadam.
●​ Job posting, applying, and searching concepts nerchukuntaru.
●​ User interactions and handling forms in websites.

Code
import java.util.Scanner;
import java.util.ArrayList;

class Job {
String title;
String company;
double salary;

Job(String title, String company, double salary) {


this.title = title;
this.company = company;
this.salary = salary;
}
}

class JobPortal {
ArrayList<Job> jobs = new ArrayList<>();

void postJob(Job job) {


jobs.add(job);
System.out.println("Job posted successfully!");
}
void viewJobs() {
System.out.println("\nAvailable Jobs:");
for (Job job : jobs) {
System.out.println("Title: " + job.title + ", Company: " +
job.company + ", Salary: " + job.salary);
}
}

void searchJobs(String searchTitle) {


boolean found = false;
System.out.println("\nSearch Results for '" + searchTitle +
"':");
for (Job job : jobs) {
if (job.title.contains(searchTitle)) {
System.out.println("Title: " + job.title + ", Company:
" + job.company + ", Salary: " + job.salary);
found = true;
}
}
if (!found) {
System.out.println("No jobs found with the title '" +
searchTitle + "'.");
}
}
}

public class JobPortalSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
JobPortal portal = new JobPortal();

boolean running = true;


while (running) {
System.out.println("\n1. Post Job 2. View Jobs 3. Search
Jobs 4. Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();
sc.nextLine(); // consume newline
switch (choice) {
case 1:
System.out.print("Enter job title: ");
String title = sc.nextLine();
System.out.print("Enter company name: ");
String company = sc.nextLine();
System.out.print("Enter salary: ");
double salary = sc.nextDouble();
portal.postJob(new Job(title, company, salary));
break;
case 2:
portal.viewJobs();
break;
case 3:
System.out.print("Enter job title to search: ");
String searchTitle = sc.nextLine();
portal.searchJobs(searchTitle);
break;
case 4:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}




Features

✅ Job posting​
✅ Job searching​
✅ View all available jobs
How It Works

1.​ Employers job post cheyyachu.


2.​ Job seekers jobs search cheyyachu.
3.​ Apply cheyyachu or view available jobs.

15. Expense Tracker App

Overview

Expense Tracker App oka app, ekkada users personal expenses track cheyyachu, budget
set cheyyachu, income and expense balance check cheyyachu. It helps in tracking daily
expenses and staying within the budget.

Problem Statement

People struggle to track their expenses and manage their budgets. The Expense Tracker App
provides a way to easily log and categorize expenses, helping users manage their finances
efficiently.

Learning Outcomes

●​ Java classes and method handling nerchukuntaru.


●​ Simple math operations (addition, subtraction) practice chestaru.
●​ User input and handling lists.
●​ Category-based tracking.

Code
import java.util.Scanner;
import java.util.ArrayList;

class Expense {
String category;
double amount;

Expense(String category, double amount) {


this.category = category;
this.amount = amount;
}
}
public class ExpenseTrackerApp {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Expense> expenses = new ArrayList<>();
double totalExpense = 0;

boolean running = true;


while (running) {
System.out.println("\n1. Add Expense 2. View Expenses 3.
View Total 4. Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();
sc.nextLine(); // consume newline

switch (choice) {
case 1:
System.out.print("Enter expense category: ");
String category = sc.nextLine();
System.out.print("Enter amount: ");
double amount = sc.nextDouble();
expenses.add(new Expense(category, amount));
totalExpense += amount;
break;
case 2:
System.out.println("\nYour Expenses:");
for (Expense expense : expenses) {
System.out.println("Category: " +
expense.category + ", Amount: " + expense.amount);
}
break;
case 3:
System.out.println("Total Expenses: " +
totalExpense);
break;
case 4:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}

Features

✅ Add and track expenses​


✅ View expense history​
✅ View total expenses
How It Works

1.​ Users expense category and amount enter cheyyachu.


2.​ Expenses view cheyyachu and total expenses calculate cheyyachu.
3.​ User balance manage cheyyachu.















16. Online Learning Platform (LMS)

Overview
Online Learning Platform (LMS), ikkada students online courses chadavadam, study
materials access cheyyadam, and quizzes participate cheyyadam. It helps students learn at
their own pace.

Problem Statement

Online education is growing rapidly, and students need a platform to access courses, track
progress, and complete quizzes. A Learning Management System (LMS) helps in
organizing courses and assessments efficiently.

Learning Outcomes

●​ Java classes and objects use cheyyadam.


●​ ArrayList and methods handling nerchukuntaru.
●​ Course creation and quiz participation practice cheyyadam.
●​ Handling student progress tracking.

Code
import java.util.Scanner;
import java.util.ArrayList;

class Course {
String name;
String description;

Course(String name, String description) {


this.name = name;
this.description = description;
}
}

class LMS {
ArrayList<Course> courses = new ArrayList<>();

void addCourse(Course course) {


courses.add(course);
}

void displayCourses() {
System.out.println("\nAvailable Courses:");
for (Course course : courses) {
System.out.println("Course Name: " + course.name +
"\nDescription: " + course.description);
}
}
}

public class OnlineLearningPlatform {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
LMS lms = new LMS();

boolean running = true;


while (running) {
System.out.println("\n1. Add Course 2. View Courses 3.
Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();
sc.nextLine(); // consume newline

switch (choice) {
case 1:
System.out.print("Enter course name: ");
String name = sc.nextLine();
System.out.print("Enter course description: ");
String description = sc.nextLine();
lms.addCourse(new Course(name, description));
break;
case 2:
lms.displayCourses();
break;
case 3:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}

Features

✅ Add and view courses​


✅ Course description​
✅ Manage course content
How It Works

1.​ Instructors course create cheyyachu.


2.​ Students courses view cheyyachu.
3.​ Content study cheyyachu and progress track cheyyachu.

























17. Hospital Management System

Overview
Hospital Management System is an online platform to manage patients, doctors, and
hospital resources. It helps in storing patient information, doctor details, and manages
appointments.

Problem Statement

Managing hospital operations manually is a difficult task. The Hospital Management System
automates patient record management, doctor appointment scheduling, and resource allocation,
making hospital operations more efficient.

Learning Outcomes

●​ Java object-oriented programming concepts practice.


●​ Database management using collections like ArrayList.
●​ Handling patient and doctor records.
●​ Appointment scheduling and management.


Code
import java.util.Scanner;
import java.util.ArrayList;

class Patient {
String name;
int age;
String disease;

Patient(String name, int age, String disease) {


this.name = name;
this.age = age;
this.disease = disease;
}
}

class Doctor {
String name;
String specialization;

Doctor(String name, String specialization) {


this.name = name;
this.specialization = specialization;
}
}

public class HospitalManagementSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Patient> patients = new ArrayList<>();
ArrayList<Doctor> doctors = new ArrayList<>();
boolean running = true;

while (running) {
System.out.println("\n1. Add Patient 2. Add Doctor 3.
View Patients 4. View Doctors 5. Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();
sc.nextLine(); // consume newline

switch (choice) {
case 1:
System.out.print("Enter patient's name: ");
String name = sc.nextLine();
System.out.print("Enter patient's age: ");
int age = sc.nextInt();
sc.nextLine(); // consume newline
System.out.print("Enter disease: ");
String disease = sc.nextLine();
patients.add(new Patient(name, age, disease));
break;
case 2:
System.out.print("Enter doctor's name: ");
String docName = sc.nextLine();
System.out.print("Enter doctor's specialization:
");
String specialization = sc.nextLine();
doctors.add(new Doctor(docName, specialization));
break;
case 3:
System.out.println("\nPatients List:");
for (Patient patient : patients) {
System.out.println("Name: " + patient.name +
", Age: " + patient.age + ", Disease: " + patient.disease);
}
break;
case 4:
System.out.println("\nDoctors List:");
for (Doctor doctor : doctors) {
System.out.println("Name: " + doctor.name + ",
Specialization: " + doctor.specialization);
}
break;
case 5:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}

Features

✅ Add patients and doctors​


✅ View patient and doctor lists​
✅ Manage patient and doctor details
How It Works

1.​ Hospital staff can add patients and doctors to the system.
2.​ Doctors' specializations and patient information are stored.
3.​ Doctors and patients are easily managed by the hospital system.

18. Banking Management System

Overview
Banking Management System is an online platform where customers can check their
account balances, deposit money, and transfer funds. It helps in managing financial
transactions easily.

Problem Statement

Managing banking services manually is time-consuming. The Banking Management System


automates tasks like checking balances, transferring funds, and maintaining transaction history.

Learning Outcomes

●​ Java object-oriented programming practice.


●​ Handling customer information and transactions.
●​ Bank account management.
●​ Basic banking operations (deposit, withdraw, transfer).

Code
import java.util.Scanner;

class Account {
String accountHolder;
double balance;

Account(String accountHolder, double balance) {


this.accountHolder = accountHolder;
this.balance = balance;
}

void deposit(double amount) {


balance += amount;
System.out.println("Amount deposited: " + amount);
}

void withdraw(double amount) {


if (amount <= balance) {
balance -= amount;
System.out.println("Amount withdrawn: " + amount);
} else {
System.out.println("Insufficient balance.");
}
}
void checkBalance() {
System.out.println("Current balance: " + balance);
}
}

public class BankingManagementSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Account account = new Account("John Doe", 1000);

boolean running = true;


while (running) {
System.out.println("\n1. Deposit 2. Withdraw 3. Check
Balance 4. Exit");
System.out.print("Enter choice: ");
int choice = sc.nextInt();

switch (choice) {
case 1:
System.out.print("Enter amount to deposit: ");
double depositAmount = sc.nextDouble();
account.deposit(depositAmount);
break;
case 2:
System.out.print("Enter amount to withdraw: ");
double withdrawAmount = sc.nextDouble();
account.withdraw(withdrawAmount);
break;
case 3:
account.checkBalance();
break;
case 4:
running = false;
break;
default:
System.out.println("Invalid choice.");
}
}
sc.close();
}
}

Features

✅ Deposit and withdraw money​


✅ Check account balance​
✅ Manage bank transactions
How It Works

1.​ Customer can deposit and withdraw money.


2.​ Bank balance is updated automatically.
3.​ Customer can check balance and transaction history.



















19. AI-Powered Chatbot for Customer Support

Overview
AI-Powered Chatbot is an artificial intelligence-based system used to provide instant
customer support. It helps businesses answer customer queries and provide information in
real-time.

Problem Statement

Many businesses struggle to provide 24/7 support to customers. An AI-powered chatbot can
automate the process of answering frequent customer queries, saving time and improving
efficiency.

Learning Outcomes

●​ Basic AI concepts and chatbot functionality.


●​ String matching and query handling.
●​ Data processing and user interaction.
●​ Natural language processing basics.

Code
import java.util.Scanner;

class Chatbot {
void respond(String query) {
if (query.contains("hello")) {
System.out.println("Hello! How can I help you today?");
} else if (query.contains("account")) {
System.out.println("I can help you with your
account-related queries.");
} else {
System.out.println("I'm sorry, I don't understand that.");
}
}
}

public class AIPoweredChatbot {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Chatbot chatbot = new Chatbot();

System.out.println("Welcome to the Customer Support


Chatbot.");
boolean running = true;
while (running) {
System.out.print("\nYou: ");
String query = sc.nextLine();
if (query.equalsIgnoreCase("exit")) {
running = false;
} else {
chatbot.respond(query);
}
}
sc.close();
}
}

Features

✅ Answer customer queries​


✅ Real-time responses​
✅ Basic natural language processing
How It Works

1.​ User enters queries in the chat window.


2.​ Chatbot processes the query and gives a response.
3.​ If the query is unclear, chatbot asks for clarification.










20. Vehicle Rental System

Overview
Vehicle Rental System is a platform where customers can rent vehicles like cars, bikes, etc.,
by providing their details and selecting the vehicle type.

Problem Statement

Managing vehicle rentals manually is a tough task. The Vehicle Rental System helps
customers choose and rent vehicles, calculate the rental price, and manage rental bookings
efficiently.

Learning Outcomes

●​ Handling vehicle and booking records.


●​ Managing rental prices and customer information.
●​ Implementing simple mathematical calculations for rental prices.

Code
import java.util.Scanner;

class Vehicle {
String type;
double pricePerDay;

Vehicle(String type, double pricePerDay) {


this.type = type;
this.pricePerDay = pricePerDay;
}

double calculateRental(int days) {


return days * pricePerDay;
}
}

public class VehicleRentalSystem {


public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Vehicle car = new Vehicle("Car", 50);
Vehicle bike = new Vehicle("Bike", 30);

System.out.println("Welcome to the Vehicle Rental System!");


System.out.println("1. Rent Car 2. Rent Bike 3. Exit");
int choice = sc.nextInt();
if (choice == 1 || choice == 2) {
System.out.print("Enter number of days for rental: ");
int days = sc.nextInt();
double totalPrice = (choice == 1) ?
car.calculateRental(days) : bike.calculateRental(days);
System.out.println("Total rental price: " + totalPrice);
}

sc.close();
}
}

Features

✅ Rent vehicles​
✅ Calculate rental price​
✅ Manage rental bookings
How It Works

1.​ Customer selects a vehicle for rent.


2.​ Rental price is calculated based on the number of days.
3.​ Customer can complete the booking for vehicle rental.

You might also like