Quantcast
Channel: Interview Archives - Mydons
Browsing latest articles
Browse All 32 View Live

Image may be NSFW.
Clik here to view.

Javascript Event Delegation Model

JavaScript is the main part of web development. Even you can optimize the performance of java script in the web for higher efficiency.  Javascript Event Delegation Model model can be implemented for...

View Article



Image may be NSFW.
Clik here to view.

JavaScript event bubbling and event capturing made easy

JavaScript event bubbling and event capturing is an important and interesting features of it. Lets see what it is and how it works. Event Bubbling generally works by bottom to top approach that means...

View Article

How to reverse a string in PHP without strrev(inbuilt) and Array function

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...

View Article

How to toggle character case in PHP without strlower, strupper & ucfirst...

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:...

View Article

What is the use of session_id() in PHP ?

Overview of session_id in PHP 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...

View Article


How to reverse a number in php without built in functions

A Simple PHP Home work code that returns the reverse of a given number,<?php $num = 1234; $rem =0; $rev =0; $originalnum = $num; while($num > 1) { $rem = $num %10; $rev = ($rev * 10)+ $rem; $num...

View Article

Image may be NSFW.
Clik here to view.

Apple puzzle, interview question.

Question: There are 6 people sitting in a room around the table. On top of the table there is a basket with 6 apple in it. All person took one apple each but still one apple was left in the basket. How...

View Article

Analog clock hour needle puzzle

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...

View Article

Browsing latest articles
Browse All 32 View Live




Latest Images