Tag Archives: interview

Question : In an analog clock for 25 minutes duration how much does the hour hand will move ? ?? ???? …….. ??????   Answer : 12.5  degree . Explanation : Analog clock is 360 degree. For 60 minutes the hour hand will move 30 degree. So for 30 minutes the hour hand will move

Read More…

The session_id() is one of the in built functions in PHP.  Almost in all Framework’s and CMS’s it has been utilized to find the current session.  In this tutorial we will see how to utilize this session_id() in small applications apart from Framework and CMS.  Generally the session_id() will be used to track existence of

Read More…

Toggling between upper and lower case letter is quite challenging.  There is a PHP inbuilt function’s which can do this operation  PHP: strtoupper – Manual , PHP strtolower() Function & PHP: ucfirst – Manual , the real challenge would be you have to toggle case of the given word without using PHP built in function

Read More…

Reverse a string in PHP is pretty simple.  PHP provides inbuilt function to reverse a string PHP: strrev – Manual but knowing the logic of how it works is very simple and interesting. In the interview you may come across “Write a PHP function which should reverse the given string, condition u should not use

Read More…