Profile cover photo
Profile photo
Vinay Singh
123 followers -
I code therefore I am
I code therefore I am

123 followers
About
Posts

Post has attachment
Another visit to Magh Mela 2014
PhotoPhotoPhotoPhotoPhoto
Magh Mela 2014 (2)
15 Photos - View album

Post has attachment
Date related problems had been asked many times in ISC Computer Practical Examination. The most common mistake is the implementation of isLeap() to test whether a year is a leap year or not. This post explains under which conditions the method of finding leap year by checking for divisibility by 4 is wrong and the correct procedure for finding the leap year so that it work for all years.

Post has attachment

Post has attachment
Solution for Magic Square or the Wondrous Square question asked in ISC Practical 2005. Students should note that there is only one set of nested loop and calculation of diagonals is done in the outer loop for the sake of efficiency. Another thing to be noticed is use of boolean array flag to detect the repetition of numbers without the use of another set of nested loop.

Post has attachment
Today's blog post is on how to calculate the sine of an angle using Taylor series.

Post has attachment
My today's blog post is also for both ISC(12) and ICSE(10) students. In today's post I have explained how to convert a given integer into roman in an elegant manner.

Post has attachment
My today's blog post is for both ISC(12) and ICSE(10) students, In this post I have discussed how frequency table generation problem can be approached in two ways- the shorter inefficient way and a slightly longer efficient way! 

Post has attachment

Post has attachment
Visit to Magh Mela 2014!
PhotoPhotoPhotoPhotoPhoto
2014-02-09
5 Photos - View album

Post has attachment
Wait while more posts are being loaded