|
Shekhar - Programs

My Programs - Useful code for beginners A few popular programs: More Programs (C/C++): Tip: Try searching for the programs you want using the search box at the top. | |
|
Welcome to the Programs Page. I wrote most of these programs during my diploma years at Babasaheb Gawde Institute of Technology for assignments given by my teacher Mr. Kedar Ghanekar (Head, Computer Department, BGIT). I know that there are many people out there looking for a way to complete their assignments or simply learning to code. Hence this page.
Terms of useDo get this straight: I wrote these programs when I was learning to code and I don't guarantee that they are flawless. Therefore use these programs at your own risk. By using these programs (in whole or in part) you agree that I am not going to be responsible (in any concieviable manner possible) for the resulting consequences from the use of these programs. For those who have a problem with this, please don't use these programs.
Program List (Few popular programs)
|
C Programs
| Program to encrypt given file using bitwise ex-or operator. | 
|
| Program to encrypt given string using bitwise ex-or operator. | 
|
| Program to recursively evaluate the Fibonacci Series to given n terms. | 
|
| Program to non-recursively evaluate the Fibonacci Series to given n terms. | 
|
| Program to determine and print the sum of the following harmonic series for a given value of n: 1+1/2+1/3+...+1/n | 
|
| Program to determine whether or not the given square is a magic square. A magic square is a square array of positive integers such that the sum of each row, column, and diagonal is the same constant. | 
|
| Program to reverse a given string of characters. | 
|
| Program to replace a given sub-string in a given string of characters with another substring. | 
|
| Program to extract a given number of characters from a character string starting at a given index number in a given string of characters. | 
|
| Program to transpose a given square matrix of integers. | 
|
| Program to encrypt contents of given text file using transposition ciper. | 
|
| Program for evaluating the series: 1+x/2+x^2/3+x^3/4+....+x^n/n+1. | 
|
| Program to reverse a given integer. | 
|
| Program to print the first 500 prime numbers. | 
|
| Program to check whether a given triangle is right-angled triangle or not. | 
|
| Program to print the number of vowels in a given string of characters. | 
|
| Program to print the number of words in a given string of characters. | 
|
| Program for counting the number of uppercase, lowercase, digit and blank spaces in a given statement. | 
|
| Program to recursively evaluate the factorial of a given integer. | 
|
| Program to non-recursively evaluate the factorial of a given integer. | 
|
| Program to evaluate the binary equivalent of a given decimal number. | 
|
| Program to evaluate the decimal equivalent of a given binary number. | 
|
| Program to evaluate the hexadecimal equivalent of a given decimal number. | 
|
| Program to check if a given number is divisible by 5. | 
|
| Program to check if a given year is a leap year or not. | 
|
| Program to convert all lowercase letters in a string to uppercase. | 
|
| Program to find the smallest number in a given array of integers. | 
|
| Program to add two given matries of integers. | 
|
| Program to multiply two given matries of integers. | 
|
| Program to plot a Gantt chart for demonstrating the FCFS CPU scheduling algorithm. | 
|
| Program to plot colorbars on the screen. | 
|
| Program to plot a line on the screen using the Bresenham's line drawing algorithm. | 
|
| Program header files (igs.h and gmf.h) to take input from keyboard in graphics mode and a c program (text.c) to demonstrate their usage. | 
|
|
|
Java Programs
| Program for calculating the area of a circle. | 
|
| Program to demonstrate use of the switch statement in Java. | 
|
| Program to evaluate the Fibonacci Series. | 
|
| Program to demonstrate dynamic initialization in Java. | 
|
| Program to demonstrate type-conversion in Java. | 
|
|
|
Python Programs
| Program to evaluate Euclid's Common Factor. | 
|
| Program to find floor of number. | 
|
| Program to find floor of number using a function. | 
|
| Program to multiply 2 numbers using function. | 
|
| Program to demonstrate use of for statement in python. | 
|
| Simple menu-driven area calculation program. | 
|
| Program to calculate sum of n numbers. | 
|
| Program to read numbers and summing them till sum reaches 100. | 
|
| Program to demonstrate use of sleep and import statements in Python. | 
|
| Program to calculate sum of ten numbers. | 
|
|
|
More Programs (C/C++):
|
|