Tuesday, April 19, 2011

Multiplication Table in Drought Season

The challenge is to add code statements in a given function named “renderMultiplicationTable” which has a single parameter “$dimension” and create a Multiplication Table without the use of any looping statements (e.g. for, while, do…while, and foreach).

Sample Code:

Sample Output:

Like-A-Text-Twist Game

This is similar to a text-twist game. Given a string, create a program that will generate the matches found on the DictionaryWords.txt file


String: abacas


1. aba
2. abaca
3. aa
4. ab
5. abacas

download DictionaryWords.txt here

Wednesday, April 13, 2011

How does MVC work?

MVC stands for Model-View-Controller. Its purpose to distinctly separates the way data is handled, the way the functions is handled, and the handling the interaction between the user.
Related Posts Plugin for WordPress, Blogger...