This set of Computer Fundamentals Interview Questions and Answers for freshers focuses on “The Decimal Number System”.
Q. 1. The value of base in a decimal number system is ____________
(1) 8
(2) 2
(3) 10
(4) 16
----
Answer: (3)
Explanation: A decimal number system consists of 10 digits from 0 to 9. The definition of base describes it as a quantity to represent the number of digits present in that particular number system.
Therefore, here, the base is 10.
Q. 2. Convert : (110)2 = ( __ )10 .
(1) 4
(2) 5
(3) 6
(4) 9
----
Answer: (3)
Explanation: The base 2 represents that the number is binary ,whereas, the base 10 represents that it is to be converted to the decimal format.
Conversion: 22 * 1 + 21 * 1 + 20 *0 = 6.
Q. 3. The 2’s complement of 15 is ____________
(1) 0000
(2) 0001
(3) 0010
(4) 0100
----
Answer: (2)
Explanation: 2’s complement is obtained by adding 1 to the 1’s complement of the number.
Here, Binary of 15 = 1111
1’s complement of 15= 0000
2’s complement of 15= 0000+1=0001.
Q. 4. Another name for base is __________
(1) root
(2) radix
(3) entity
(4) median
----
Answer: (2)
Explanation: Another name for base is radix. Base refers to the number of digits that a particular number system consists of.
The base of decimal number system is 10 , binary is 2 and so on.
Q. 5. The decimal equivalent of (0.101)2 will be ____________
(1) 0.5
(2) 0.625
(3) 0.25
(4) 0.875
----
Answer: (2)
Explanation: Since the base is 2 , it could be easily guessed that the number is binary. Conversion: 2-1 * 1 + 2-2 * 0 + 2-3 * 1 = 0.625.
Q. 6.The signed magnitude for -3 will be ___________
(1) 00000011
(2) 10000011
(3) 11111101
(4) 11111100
Answer: (2)
Explanation: Signed Magnitude of a number is a representation to determine if the number is positive or negative.
If the MSB of a number is 0 , the number is positive , else if it is 1 the number is negative.
Here, +3 = 00000011
-3= 100000011.
Q. 7. A number with both integer and a fractional part has digits raised to both positive and negative powers of 2 in a decimal number system.
(1) True
(2) False
----
Answer: (2)
Explanation: In a decimal number system, a number with both integer and a fractional part has digits raised to both positive and negative powers of 10 and not 2.
e.g. 22.34 = 2 * 101 + 2 * 100 + 3 * 10-1 + 4 * 10-2
Q. 8. The hexadecimal representation of 14 is _______________
(1) A
(2) F
(3) D
(4) E
----
Answer: (4)
Explanation: The hexadecimal representations are as follows:
10 : A
11 : B
12 : C
13 : D
14 : E
15 : F.
Q. 9. Which of the following is not a decimal number?
(1) 114
(2) 43.47
(3) 99.9A
(4) 10101
----
Answer: (3)
Explanation: All the numbers except 99.9A are decimal numbers.
This number has a hexadecimal component A in it therefore, it is not a valid decimal number.
The decimal equivalent of A is 10.
Q. 10. Select the incorrect option :
(1) (101)10 = (1100101)2
(2) G is valid in hexadecimal system.
(3) C represents 12
(4) The base of a decimal number system is 10.
----
Answer: (2)
Explanation: G is not a valid hexadecimal number. In this system , only representations from A to E are used to represent the numbers from 10 to 15.
The base of the hexadecimal number system is 16
कोई टिप्पणी नहीं:
एक टिप्पणी भेजें