Saturday, January 3, 2009

Board Paper ISC and ICSE

Computer Science board papers -  Links  deleted

ISC

ISC 2010 Specimen Paper and   ISC 2003  to ISC 2009 Theory Paper

ISC 2003  to 2009 Practical Question Papers and ISC 2010 Practical Specimen Paper 

ICSE

ICSE 2009 to ICSE 2005 Theory Paper


Note:-For question papers email me on kumardks@gmail.com 

Saturday, September 27, 2008

OUTPUT related Programs

Download the file and print it.

Download pdf file 

Saturday, August 16, 2008

ISC 2008 Reverse a string to check Palindrome through Recursion

Link for Downloading Full Program C++ version


ISC 2007 Decimal to Binary conversion through Recursion

Link for Downloading Full Program C++ version

void recursive(int x)

  {
  int m=x%2;
  x=x/2;
  if(x>0) recursive(x);
  z=z*10+m;
  }

ISC 2007 Digit to word conversion through Recursion

Link for Downloading Full Program C++ version

void extdigit(int x)
  {
        int m=x%10;
        x=x/10;
         if(x>0) extdigit(x);
         numtoword(m);
  }
  void numtoword(int p)
  {
       char a[10][10]={"Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"};
       cout<    }

ISC 2006 HCF and LCM through Recursion

Link for Downloading Full Program C++ version

int rechcf(int p,int q)
{
      if(p==0) return q;
           else return rechcf(q%p, p);
}  
int fn_lcm(int p,int q, int gcd)
{
            return p*q/gcd;
}

ISC 2005 Fibonacci Series through Recursion

Link for Downloading full program C++

VERSION I

int fib(int n)
  {
  if(n==1) return 0;
  else if(n==2) return 1;
  else if(n>2) return fib(n-1)+fib(n-2);
  else return -1;
  }
loop from 1 to the limit

display fib(i)

VERSION II

fibrec()
{
 a=0;      b=1;
 }
int fib(int n)
{
if(n>0)
{
c = a + b;      a = b;       b = c;
display c;

n--;

fib(n);
}
return b;
}