tutorial 1-numbersys 2016

Upload: pei-ing

Post on 25-Feb-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Tutorial 1-NumberSys 2016

    1/2

    UNIVERSITI TUNKU ABDUL RAHMAN

    Faculty : Lee Kong Chian Faculty of

    Engineering and Science

    Unit Code : UEEA1323/UEEP1323

    Course : 3E EC !" P" #$ E% Unit %itle : &igital Electronics

    'ear/ Se(ester : )*arious+/%ri(ester Lecturer :

    Session : 2,1-,1

    Tutorial 1: Number Systems an !oes

    1. Conert the follo0ing nu(ers to the ase secified:

    )a+ 3,1.121,to ase 2)+ 1,,11,1,2to ase 1,

    2. Conert the follo0ing inary nu(ers to their octal and headeci(al e4uialents.

    %hen conert oth of your ans0ers to deci(al and erify that they are the sa(e.)a+ 111,1,,11

    )+ 1111111,.,,,1

    3. Conert the follo0ing headeci(al nu(ers to their inary e4uialents:

    )a+ AC

    )+ 1#.5F

    6. Conert 376.561, to headeci(al nu(ers )8ound to t0o digits ast the

    headeci(al oint+. &eise a sche(e to conert headeci(al directly to ase 6and use the sche(e to conert your ans0er to ase 6. *erify your sche(e y

    conerting your ase96 ans0er ac to deci(al.

    ;. Add the inary nu(ers.)+a 111.111 and 111

    )+ 111,,1,111 and 11,,11,,11

    -. Sutract in inary.

    )a+ 11,1, 9 1,111

    )+ 1,11,,1, 9 1111,1

    5. Use inary (ultilication adding artial roducts as they are for(ed to find:

    )a+ 1,111 11,,1,

    )+ 11,,1 1,11,11

    Change to deci(al and confir( the ans0ers.

    1

  • 7/25/2019 Tutorial 1-NumberSys 2016

    2/2

    7. Use inary long diision to calculate:

    )a+ 1,,111,1, 11,1

    )+ 111,1,,11 11,11

    Change to deci(al and confir( the ans0ers.

    hat is the largest

    ositie nu(er? >hat is the negatie nu(er 0ith the largest (agnitude?

    11. Use 2=s co(le(ent notation to erfor( the follo0ing. Assu(e that the nu(ers

    are already in 2=s co(le(ent for(.

    )a+ ,,1111 @ ,,1,11)+ ,,11,,11 @ 111,,1,1

    )c+ 111,,,11 11111,1,

    12. Add the follo0ing nu(ers 0ith those negatie reresented in -9it 2=s

    co(le(ent. $ndicate if an oerflo0 occurs.

    )a+ 21 11 )+ )916+ )932+ )c+ )912+ 13)d+ )911+ )921+ )e+ )92;+ 17

    8eeat using 1=s co(le(ent to reresent negatie nu(ers.

    13. Conert the follo0ing nu(ers to their #C& e4uialent.

    )a+ 1,1,11,2)+ 11,,1,,.112

    16. Add the follo0ing #C& nu(ers

    )a+ ,11,,1,, ,,11,,11

    )+c 1,,1,1111,,, 1,,1,1,1,,,1

    1;. )a+ Conert 361,to its Bray code e4uialent.

    )c+ Conert the Bray code 11,,,,1,,,1 to inary.

    1-. &eter(ine 0hether the follo0ing odd arity codes are in error.

    )a+ 1111,11, )+ ,,11,,,1

    2