Skip to main content

Interview question #3

I came out with another interview question to find out the candidate's visualizing power:

The object is chessboard--you know it has black and white squares.
  1. How will you visualize the chessboard in terms of mathematical formula?
  2. How will you visualize/depict the same in PHP code?

Comments

Thanks lawrence krubner for your comments. Actually, I'll be expecting just two keywords: Matrix and two dimensional array; that's all. I don't expect any brilliant answer:-)

Popular posts from this blog

Valen Smith, the English teacher videos are missing!

I vaguely remembered that sometimes around 2009, engVid on YouTube was very popular. I especially liked a teacher by name Valen Smith's videos. She was not only beautiful but also very good at explaining the English usage. I also vaguely remembered to check her channel ValenESL around 2015. But, not sure what happened to her or engVid, all her videos are sadly gone. I have also noted that many people on Twitter were asking the same. Not sure what happened. Some people seem to have reuploaded her videos and YouTube continuously removing them with a note "This video contains content from LearnVid, who has blocked it on copyright grounds." Strangely though, on Facebook, some people have managed to create a fake account using her old channel name ValenESL.

htmlspecialchars() bug in blogger.com

Found a strange htmlspecialchars() bug in blogger.com The title of my blog is <?php echo 'R. Rajesh Jeba Anbiah'; ?> , but blogger.com doesn't convert the html entities in the title when it spits out. Because of this bug, the title doesn't appear in my blog--browser just treats it as a broken html tag. This bug could have been fixed by using htmlspecialchars() , if it's powered by PHP . Also, noticed that this compose box eats any texts entered such. I gonna report this bug.

Brainbench and PHP

Personally I never thought that Brainbench certification would help in career. In July 2004, Brainbench has announced free tests for certain duration and I'd just took PHP 4 examination. Surprisingly I scored only 4.53 --though the score is less than what I expected, I could get Master certification there! It was really a good experience. Recently, I'm very much surprised by the fact that many employers are contacting me by looking at my Brainbench transcript . Brainbench really rocks! Here is my semi Brainbench referral link , which may not work, but I'm interested to test it.