Looping Programs:
- 1 1 1 1 1
- 1 2 3 4 5
- 1 3 5 7 9
- 3 6 9 12 15
- Multiples of 3 and 5
- Multiples of 3 or 5
- Divisors of given number
- Count of Divisors of given number
- Prime Number
- Reverse Printing a number
- Count of Digits
- Sum of Digits
- Reverse the number
- Palindrome
- Armstrong Number
- Neon Number - HW
- Strong Number - HW
- Addition of first n numbers
- Factorial
- Greatest Common Divisor
- Least Common Multiple
- Find Power of a given no. (Eg. 2 power 5)
22.1) Raising a number to a larger power (Eg. 2 Power 23) - Short way - Decimal To Binary
- Binary to Decimal
- Fibonacci Series
- Swapping two numbers
- Swapping without third variable
- Fibonacci without using third variable
- Odd Positions - Even Positions
- First 10 Prime Numbers
- Sum of Digits until it becomes single digit
- Printing 5! 4! 3! 2! 1!
- Printing 110 29 38 47 5*6
- Printing 1 11 121
- Printing 1 8 27 64
- Printing 1 4 9 16 25 36 49 64 81 100 - HW
- Printing 1 4 27 256
- Square Root of a Number
- Spy Number - HW
- Prime no.s in a fibonacci series
Array Programs
- Array Declaration
- Printing Array
- Printing in reverse order
- Linear Search
- Finding index of given number
- Removing given number from an array
- Placing given number in last index of given array
- how many times a given element is present
- Finding biggest no. in given array
- Finding smallest no. in given array
- Finding first two biggest numbers in a given array
- Finding first two smallest numbers in a given array
- Finding count of duplicate elements in a given array
- Finding addition of odd index numbers in a given array
- Moving all elements towards left in a given array
- Moving all elements towards left twice in a given array
- Moving all elements towards right in a given array
- Moving all elements towards right twice in a given array
- Copying the given array to another array in reverse order
- Addition of two integer arrays
20.1) Concatenation of two integer arrays - Finding only negative numbers in given array
- Copying only the negative numbers in given array - to another array
- Copying only the odd indexed numbers in given array - to another array
- Printing values between adjacent two elements in a given array
- Removing all the duplicate elements in a given array
- Removal of Duplicates from an ordered Array.
- Program to find first repeated element in an array
- Program to find first non repeated element in an array
- Sum of 2 elements in a single array corresponding to 10
- Divide all the elements in an array by 3 and store it in the same array
- Multiply any two elements in an array and check if it corresponds to 20
- Split an array- one to store only odd numbers and another to store only even numbers
- Check if any elements in an array are prime numbers
- Check if any elements in an array are perfect numbers - HW
- Print odd elements present in even index of an array
- Print even elements present in odd index of any array
Sorting: Bubble Sort
Searching: Binary Search
Multi Dimensional Array:
-
Matrix Addition
-
Matrix Multiplication
-
Pattern Programs - 40 programs minimum
-
String Introduction
-
String class important methods
-
count of one character in a given String
-
Count of vowels in a given String
-
Printing only the numbers present in a String
-
Count of each character in a given String - HW
-
Finding duplicate characters in a given String - HW
-
count of total number of occurrences of a given char. in a string without using loop
-
Reversing a given String
-
Palindrome
-
Convert String to charArray
-
Convert String to Integer
-
Convert Char. Array to String
-
String is immutable
-
String comparison
-
Count of words in given String
-
Change only the first letter of a given String to upper case
-
Change upper case to Lower case in a given String
-
Two Strings are anagram or not
-
Find first non repeated character of a given String - HW
-
Find the char. which occurred the highest times in a given String - HW
-
Sort elements in Dictionary Order (Lexicographical)
-
Find last non repeated character in a given String
-
finding if adjacent characters are same and printing only those in a given string