This repository contains Basic and Medium Level Java Programs.
S.No.
Title
Description
Method
1
Hello World
A simple hello world program in java.
main method
2
Algebraic Operations
Addition, Subtraction, Multiplication, Division Program.
if/else
3
Algebraic Operations
Addition, Subtraction, Multiplication, Division Program.
switch/case
4
Even - Odd Number Checker
A Program to check if the entered number is Even or Odd.
Modulus
5
Positive Negative Number Checker
A Program to check if the entered number is Positive or Negative.
if/else
6
Calculate Average of numbers
A Program to calculate average of numbers using Array.
Array
7
Reversing a Number
A Simple Program to reverse a number.
String
8
Binary Validation
A Program which checks if the Input String is a Binary Number or not.
Modulus
9
Prime Number Checker
A Program to check if the entered number is a Prime Number or not.
if/else, for loops
10
ASCII Value Of Character
A Program to find ASCII Value of a Character entered.
TypeCasting
11
Generate Random Number
A Program to generate Random Number, Also to generate Random Number between a Range.
Math.random() function
12
Factorial
A Program to find Factorial of an Integer. (For limit = 20)
while loop, long
13
Factorial for Bigger Integers
A Program to find Factorial for an integer value up to 200.
while loop, BigInteger
S.No.
Title
Description
Method
1
Matrix Multiplication
A Program to perform Matrix Multiplication.
2-D Array
2
Matrix Addition
A Program to perform Matrix Addition.
2-D Array
3
Binary to Decimal Conversion
A Program to covert Input Binary Number to Decimal.
while loop
4
Anagram Checker
A Program to check if the entered Strings are anagram or not.
if/else, for loops, Array, String Operations
5
Remove Word From String
A Program to remove specific word from String.
if/else, String Operations
6
Finding Missing Number
Given an array C of size N-1 and given that there are numbers from 1 to N with one element missing, the missing number is to be found.
Array Operations
7
Quadratic Equation
A Program to find real values for a Quadratic Equation with discriminant value method.
Arithmetic Operations
8
Print a Star Pattern for Input
Program to print a star Pattern for an input.
for loops
9
Fibonacci Series
Program to display Fibonacci series using for loop.
for loop
10
Fibonacci Series
Program to display Fibonacci series using while loop.
while loop
List of Cryptography Algorithms:
S.No.
Title
Description
Method
1
Caesars Cipher
A Program to perform Caesars Cipher Algorithm for Cryptography
if/else, String Operations
2019 © Gaurav Sachdeva, Dozy under GNU General Public License v3.0
.