Advertisement

Search Topics....

Saturday, January 2, 2010

Computer Science GK - Series1

The LSB of binary number 10111 has a weight of
1
2
2*2
2*2*2

Real number are represented in memory by exponent &mantissa
2"s compliment
1"s compliment
sign & magnitude

Expansion of ASCII is
American Standard Code For information interchange
American Standard Code for internet information
American source code for information interchange
none of these

Unicode provides capacity to encode
all charactors in all languages
latin only
english
ASCII

2's compliment of a binary number is calculated by
adding 1 to 1"s compliment
adding 1 to mantissa
multiplying by -1
adding 1 to exponent

Integer can be represented in binary by
Sign & magnitude
1s compliment
2s compliment
All of these

Total number which can be represented by 1's compliment
2^(n-1)
2^(n+2)
2^n
2n-1

Pick out the odd one
Validity
Storage
Input of data
Output of data

In sign & magnitude method 0 stands in MSB for
+ve number
-ve number
integer
real number

ASCII code is --------bit code
7 bit
7 MB
7GB
7byte

2's compliment of 0 is
0
1
2
-1

To calculate 1's compliment of a binary number replace
0 to 1&1to 0
1 to 2& 2 to 1
0 to 2 & 2 to 1
none of these

addition of binary number 1+1=
0
2
-1
101

In substraction of binary number 0-1=
1
010
-1
0

Nowadays which type of data processing is used
Commercial
Industrial
Electronic
scientific

Number system used nowadays is
Decimal
Octal
Hexa decimal
Binary

Which is 1's compliment of 0111
1000
1111
1100
0001

The most widely used alpha numeric code is
ASCII
ASCI
Unicode
none of these

Write and Let us know your answers as comment ..Thank you