Documentation by AWHAN KU. NAYAK

download Documentation by AWHAN KU. NAYAK

of 20

Transcript of Documentation by AWHAN KU. NAYAK

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    1/20

    COMPUTER SCIENCEC++ PROJECT

    ON

    Number system conversion

    PROJECT PREPARED BY:

    AWHAN KUMAR NAYAK

    BOARD ROLL NO:CLASS:XII SCIENCE

    Session: 201!1"

    UNDER THE #UIDANCE O$MANASH RANJAN SAHOO

    PGT(COMPUTER SCIENCE)

    KENDRIYA VIDYALAYA NO-4 NEELADRI VIHAR

    Bhubaneswar-751021

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    2/20

    TABLE O$ CONTENTS

    Certificte

    Ac!"#$%e&'ee"t

    He&er fi%e "& t*eir +,r+#e

    C#&i"'

    O,t+,t

    Re,iree"t

    C#"c%,i#"

    .i/%i#'r+*0

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    3/20

    A%&no'(e)*een,

    1e t*"! #,r C#+,ter Scie"ce tec*er M"* R"2"

    S*## f#r ',i&"ce "& ,++#rt3 I %# t*"! #,r Pri"ci+% Mr S

    S*&"'i3 I $#,%& %i!e t# t*"! %% #f #,r frie"& "& tec*er f#r

    e"c#,r'i"' , &,ri"' t*e c#,re #f t*i +r#2ect3 i"%%0 I $#,%&

    %i!e t# t*"! C.SE f#r 'i5i"' , t*i #++#rt,"it0 t# ,"&ert!e

    t*i +r#2ect3

    Ne6A1HAN KU3 NAYAK

    .#r& R#%%3 C%6 XII Scie"ce

    Sei#"6 7894-9:

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    4/20

    Ce-,i.%/,eT*i i certif0 t*t A1HAN KU3 NAYAK #f c% XII Scie"ce;

    * ,ccef,%%0 c#+%ete& t*eir +r#2ect #" c#+,ter +rctic% f#r

    t*e AISSCE (A%% I"&i Se"i#r Sc*##% Certificte E

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    5/20

    Rei-een,s

    HARD1ARE RE>UIRED

    Pri"ter; t# +ri"t t*e re,ire& c,e"t #f t*e +r#2ect

    C#+ct Dri5e

    Pr#ce#r 6 I"te% i? Pr#ce#r

    R 6 7 G.

    Hr& &i! 6 :88 G/3

    SOT1ARE RE>UIRED

    O+erti"' 0te 6 1i"$ XP@@B

    T,r/# C; f#r e

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    6/20

    HEADER $ILES USED AND

    THEIR PURPOSE

    93 IOSTREAM3H- f#r I"+,t@O,t+,t O+erti#"

    73 STREAM3H f#r fi%e *"&%i"'

    ?3 PROCESS3H f#r e

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    7/20

    CODIN##include #include #include

    #include using namespace std;

    //Function to convert Decimal to Binaryint start = 0;void D!B"$long dec%rem%i=&%sum=0%temp;cout > dec;temp = dec;do

    $rem=dec;sum=sum 1 "i2rem;

    dec=dec/;i=i2&0;34hile"dec>0;cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    8/20

    cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    9/20

    int a*&0-%i%no%sum=0%9%:=0%temp;

    cout > no;

    temp = no;i=0;

    4hile"no>0$a*i-=no&0;no=no/&0;i11;3for"9=0;9

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    10/20

    for"9=0;9

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    11/20

    $

    fileout.open"'!utput.t5t'%iosapp;3

    fileout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    12/20

    rem=dec;

    sum=sum 1 "i2rem;dec=dec/;

    i=i2&0;34hile"dec>0;

    cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    13/20

    fileout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    14/20

    cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    15/20

    int main"

    $char again = ?y?;

    int choice;cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    16/20

    case 8!D";)rea:;

    case H 8!B";)rea:;case , 8!!";)rea:;

    case &0 !!D";)rea:;case && !!B";)rea:;

    case & !!8";)rea:;default cout

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    17/20

    O,,3S%-een S4o,s5

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    18/20

    Con%(sion

    This project number system converter is made for scientificpurpose where we can convert a data from one base type to

    other base type,we have also implemented the data file handlin

    to store the converted values this project ultimately helps those

    who are oin to convert various data on different base!

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    19/20

    $UTURE SCOPE ANDENHANCEMENT

    "ne s complement,two s complement arithmetical operations can be

    done throuh this software!

  • 7/25/2019 Documentation by AWHAN KU. NAYAK

    20/20

    Bi6(o*-/47:

    93 C#+,ter Scie"ce $it* C /0 S,it Ar#r