Number system

R

rehhman

I read about Number system but there are some points where my concepts
are not clear .I will be very great full to you if you reply following
questions to clarify my concepts:

1-What is the application of ASCII and EBCDIC (where these two code
systems are used)?

2-Which coding scheme (number system) is used by computer [of course it
is binary but what type of binary ASCII or EBCDIC]?

3-Since ASCII and EBCDIC are 8 bit coding schemes what about a number
255 or greater than 255 how can we store/write these numbers in ASCII
and EBCDIC?

4-What is the application of base-8, base-16 in computer [how these
number systems are used by computer as binary (as base-2 numbers are
used by digital circuits)]?

5-In simple binary 1111=15 of decimal but 1111 of binary=11110001
11110101 in
EBCDIC and 00110001 00110101 in ASCII why three different
representation of 15 of decimal in simple binary ,ASCII and EBCDIC?

6-Why in addition of two positive numbers we preserve all bits but in
addition of one positive and one negative number we discard bit/s if
exceed by the max no of bits as compare to the largest digit.
For e.g.(1) 101+110=1011 [in binary] we preserve all four bits even in
the question the largest number consist of three bits or 5+6=11[in
decimal]

e.g. (2) But 110+011=001( actual answer is 1001 but we discard right
most bit) [in binary] [since the 2 complement of +5(101) is -5(011)]or
6+(-5)=1{in decimal}]
Why in e.g.(1) we preserve all bits but in e.g. (2) we discard right
most bit ?

7- if we just have number [not mention that its +ve or -ve ] 101 in
base-2 how we treat this a positive number or negative number?
Regards
 
A

Arno Wagner

Please post you homework questions into a different group if at all.
This group here is not the right one, we are discussiong storage
issues here.

Arno


Previously rehhman said:
I read about Number system but there are some points where my concepts
are not clear .I will be very great full to you if you reply following
questions to clarify my concepts:
1-What is the application of ASCII and EBCDIC (where these two code
systems are used)?
2-Which coding scheme (number system) is used by computer [of course it
is binary but what type of binary ASCII or EBCDIC]?
3-Since ASCII and EBCDIC are 8 bit coding schemes what about a number
255 or greater than 255 how can we store/write these numbers in ASCII
and EBCDIC?
4-What is the application of base-8, base-16 in computer [how these
number systems are used by computer as binary (as base-2 numbers are
used by digital circuits)]?
5-In simple binary 1111=15 of decimal but 1111 of binary=11110001
11110101 in
EBCDIC and 00110001 00110101 in ASCII why three different
representation of 15 of decimal in simple binary ,ASCII and EBCDIC?
6-Why in addition of two positive numbers we preserve all bits but in
addition of one positive and one negative number we discard bit/s if
exceed by the max no of bits as compare to the largest digit.
For e.g.(1) 101+110=1011 [in binary] we preserve all four bits even in
the question the largest number consist of three bits or 5+6=11[in
decimal]
e.g. (2) But 110+011=001( actual answer is 1001 but we discard right
most bit) [in binary] [since the 2 complement of +5(101) is -5(011)]or
6+(-5)=1{in decimal}]
Why in e.g.(1) we preserve all bits but in e.g. (2) we discard right
most bit ?
7- if we just have number [not mention that its +ve or -ve ] 101 in
base-2 how we treat this a positive number or negative number?
Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top