**"Source Code"**

It is string searching algorithm in which basically two strings given -a text and a pattern, and it determine whether the pattern appears in the text. Knuth, Morris and Pratt (KMP) discovered this algorithm by close analysis of the naive algorithm and then proposed a linear time algorithm for the string matching problem. This algorithm […]

TIC TAC TOE is a two players game. Player 1 moves are represented using X and player 2 moves are represented using O. Whoever take turns in a 3×3 grid an appropriate symbol X or O is assigned to it. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal […]

This is a MIPS assembly language program to demonstrate how different weather temperature formats can be converted from one to another. Commonly used temperature in the United States in weather forecasts is Fahrenheit where as Celsius is another format that is used mostly in Europe and Asia. This program gives user two options. Options are […]

The basic structure of Dijkstra’s algorithm is to maintain an estimate of the shortest path from the source vertex to each vertex in the graph. Call this estimate d[v]. It is a solution to the single-source shortest path problem in graph theory. This algorithm can be used for directed and indirected graphs. All edges must […]

Boyer-Moore is an algorithm that improves the performance of pattern searching into a text by considering some observations. As in the naïve searching algorithm, the Boyer-Moore algorithm successively aligns pattern P with string T and then checks whether P matches the opposing characters of T. Further, after […]

This is program calculates the area of a circle for the given radius using MIPS assembly language. MIPS assembly language is a low-level programming language for a computer and embedded devices in which there is a very strong correspondence between the language and the architecture’s machine code instructions. MIPS based micro-processors are getting famous and […]

This is a guess my number game code using C++. You can play this game systematically to guess the number within 7 or less questions. However, this game doesn’t stop until you successfully guessed the number stored by this program. In this game the computer chooses a random number between 1 and 100, and the […]

This is a currency converter program that converts amounts of different currencies entered into different currencies. It converts following currencies in between: Euro, British pound, Pakistani rupee, Canadian dollars, Australian dollars, and US dollars. This program can easily extended to include further currencies. You need to add two blocks of switch cases for new currency, […]

In mathematics, the Greatest Common Divisor (GCD), also referred to as sometimes Greatest Common Factor (GCF), Highest Common Factor (HCF), Greatest Common Measure (GCM), Highest Common Divisor (HCD) of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder. This program will find Greatest Common Divisor (GCD) using C++. […]

Fibonacci series is an integer in the infinite sequence 1, 1, 2, 3, 5, 8, 13, … of which the first two terms are 1 and 1 and each succeeding term is the sum of the two immediately preceding. By definition, the first two numbers in the Fibonacci sequence are 1 and 1, or 0 […]

### Popular Posts (last 30 days)

- Applications of Stack in … 1139 view(s)
- Circular Linked Lists 1086 view(s)
- Attendance Management Sys… 951 view(s)
- Simple Currency Converter… 671 view(s)
- Implementing Stack Data S… 617 view(s)
- Recursive Factorial funct… 588 view(s)
- Finding Minimum, Maximum … 581 view(s)
- Graph Implementation in C… 565 view(s)
- Finding Maximum Number in… 376 view(s)
- GRASP Design Patterns 356 view(s)

### Related Links

### Tags

Android C-Sharp C/C++ language Classes Data structures Design Pattern Eclipse Game Development Graphics Design Books HTML iPhone JAVA JAVA GUI MIPS Assembly Mobile Programming Books Object Oriented PDF PHP Programming Programming Books Programming Languages Books Python RaphaelJS REST Source Code Threads Tutorial Web Development Books