COMPUTER SCIENCE C++

2003:

(i) strcmp( ) - string.h
(ii) getc( ) - stdio.h

2002:

(i) get( ) - iostream.h
(ii) open( ) - fstream.h
(iii) abs( ) - math.h, stdlib.h
(iv) strcat( ) - string.h

2001:

(i) getc( ) - stdio.h
(ii) strcat( ) - string.h

2000:

(i) isupper( ) - ctype.h
(ii) setw( ) - iomanip.h
(iii) exp( ) - math.h
(iv) strcmp( ) - string.h

1999:

(i) strcat( ) - string.h
(ii) scanf( ) - stdio.h
(iii) getchar( ) - stdio.h
(iv) clrscr( ) - conio.h

1998:

(i) cos( ) - math.h
(ii) setw( ) - iomanip.h
(iii) toupper( ) - ctype.h
(iv) strcpy( ) - string.h

Model Paper 1:

(i) strcmp( ) – string.h
(ii) fabs( ) – math.h

Model Paper 2:

(i) frexp( ) – math.h
(ii) isalnum( ) – ctype.h

ctype.h (Character functions)

isalnum( ), isalpha( ), isdigit( ), islower( ), isupper( ), tolower( ), toupper( )

string.h (Generally starts with str)

strcat( ), strcmp( ), strcpy( ), strlent( ), strchr( ), stricmp( ), strlwr( ), strew( ), strupr( )

iomanip.h

setw( ), setprecision( ), endl, flush( ).

stdlib.h

abs( ), labs( ), free( ), random( ), atof( ), atoi( ), atol( ),strtol( ), strtod( ),calloc(),malloc(),
realloc( )

iostream.h(cout,cin – these are streams available in iostream.h)

get( ) getline( ) read( ) write( ) put( ) open( ) close( ) flush( ) seekg( ) seekp( ) tellg( ) tellp( ) bad( ) eof( ) fail( ) good( ) clear( )

stdio.h (Many of the functions starting with f)

printf( ) scanf( ) fflush( ) fgetc( ) fgetchar( ) fgets( ) fopen( ) fprintf( ) fputc( ) fputchar( )
fputs( ) fread( ) freopen( ) fscanf( ) fseek( ) fsetpos( ) fwrite( ) ftell( ) fwrite( ) getc( ) getchar() gets( ) getw( ) putc( ) putchar( ) puts( ) putw( ) remove( ) rename( )

conio.h

clrscr( ) getch( ) gotoxy( ) cprintf( )

dos.h

sound( ) nosound( ) delay( )

process.h

exit(0)

math.h

acos( ) acosl( ), etc, etc div( ) exp( ) ceil( ) ceill( ) fabs( ) floor( ) fmod( ) log( ) pow( ) modf( ) poly( ) sqrt( )

“ The fear of the Lord
is the beginning of wisdom”

***All the best My Dear Children***

CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( [email protected] )