Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Tests  >  Digital Electronics  >   Test: Number System & Binary Codes - 2 - Electrical Engineering (EE) MCQ

Test: Number System & Binary Codes - 2 - Electrical Engineering (EE) MCQ


Test Description

15 Questions MCQ Test Digital Electronics - Test: Number System & Binary Codes - 2

Test: Number System & Binary Codes - 2 for Electrical Engineering (EE) 2024 is part of Digital Electronics preparation. The Test: Number System & Binary Codes - 2 questions and answers have been prepared according to the Electrical Engineering (EE) exam syllabus.The Test: Number System & Binary Codes - 2 MCQs are made for Electrical Engineering (EE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Number System & Binary Codes - 2 below.
Solutions of Test: Number System & Binary Codes - 2 questions in English are available as part of our Digital Electronics for Electrical Engineering (EE) & Test: Number System & Binary Codes - 2 solutions in Hindi for Digital Electronics course. Download more important topics, notes, lectures and mock test series for Electrical Engineering (EE) Exam by signing up for free. Attempt Test: Number System & Binary Codes - 2 | 15 questions in 45 minutes | Mock test for Electrical Engineering (EE) preparation | Free important questions MCQ to study Digital Electronics for Electrical Engineering (EE) Exam | Download free PDF with solutions
Test: Number System & Binary Codes - 2 - Question 1

The 4-bit Gray code for decimal number 5 is:

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 1

Binary code for 5 → 0101
The procedure to convert a gray code to a binary one is as shown:

A3 → Copy MSB → 0
A2 → 0 ⊕ 1 → 1
A1 → 1 ⊕ 0 → 1
A0 → 0 ⊕ 1 → 1
Grey code → 0111

Test: Number System & Binary Codes - 2 - Question 2

The binary equivalent of 23 is

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 2

Formula:
If we covert x decimal to binary, divide x successively by 2 until the quotient is 0.

Calculation:
Divide 23 successively by 2 until the quotient is 0:

23/2 = 11, remainder is 1 (LSB)
11/2 = 5, remainder is 1
5/2 = 2, remainder is 1
2/2 = 1, remainder is 0
1/2 = 0, remainder is 1 (MSB)

Read from the bottom (MSB) to top (LSB) as 10111
∴ 10111 is the binary equivalent of decimal number 23

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Number System & Binary Codes - 2 - Question 3

What is the 1’s complement of (-011012)?

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 3

Concept:

1’s complement:

  • 1’s complement simply inverted every bit of input.
  • Can be implemented using only NOT gate for each bit of binary number input.  
Test: Number System & Binary Codes - 2 - Question 4

State the octal equivalent of hexa decimal number (B34)16.

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 4

Concept:
A number system includes the number of independent digits used in the number system (the base), the place values of the different digits constituting the number, and the maximum numbers that can be written with the given number of digits.
Octal numbers: These numbers use digits from 0 to 7, total of 8 digits, and hence they are called octal number system. Octal numbers have base 8.
Hexadecimal numbers: The numbers which have base 16. It uses 16 different digits to represent the numbers. It is denoted as h16, where h is a hexadecimal number. It may be a combination of alphabets and numbers. Thus, it includes numbers from 0 to 9 and alphabets A to F.

Calculation:
Hexadecimal to Octal Conversion:
Given, B3416 is a hexadecimal number.
B → 1011, 3 → 0011, 4 → 0100
1011 0011 0100
Now group them from right to left, each having 3 digits.
101, 100, 110, 100
101 → 5, 100 → 4, 110 → 6, 100 → 4
Hence, B3416 = 54648

Test: Number System & Binary Codes - 2 - Question 5

Which of the following is an invalid state in 8-4-2-1 Binary Coded Decimal counter

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 5

Concept:

  • 8421 is also known as BCD code
  • BCD is a weighted code.
  • In weighted codes, each successive digit from right to left represents weights equal to some specified value, and to get the equivalent decimal number to add the products of the weights by the corresponding binary digit.

The following represents the 4-bit binary representation of decimal values: 

Test: Number System & Binary Codes - 2 - Question 6

2's complement of -7 is

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 6

Concept:

1. Signed magnitude representation uses the most significant bit (MSB) a sign bit.

  • If the sign bit is ‘0’ then the number is positive.
  • If the sign bit is ‘1’ then the number is negative.

The remaining bits represent the magnitude of the binary number.

2. 1’s complement representation:
It is a representation of a binary number obtained by toggling all bits in it i.e. transforming the 0 bit to 1 and the 1 bit to 0.

3. 2’s complement representation:
It is obtained by simply adding 1 to the 1’s complement of that binary number.

Calculation:
The binary form of 7 ↔ 0111
1's complement of -7 = 1(for sign) (000)(1's complement of 7) = 1000
2's complement of -7 = 1's complement + 1 = 1000 + 1 = 1001

Test: Number System & Binary Codes - 2 - Question 7

The hexadecimal representation of 6578 is 

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 7

Concept:
Hexadecimal number: In this, value of the base is 16. Each digit is represented by 4-bit binary no.
Octal number: For octal number, value of base is 8. Each digit of an octal number is represented by 3-bit binary no.

Explanation:
Octal number = 657
Binary representation for this number (each digit of a octal number is converted into 3 binary bits) 
So, 657 in binary is equivalent to 110 101 111
Now group this binary number into 4 bits starting from right to left. 
i.e. 0001 1010 1111
Hexadecimal representation for this number is : 1AF

Test: Number System & Binary Codes - 2 - Question 8

If (110)x = (132)4, then x =

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 8

Concept:

Another number system to Decimal
In each and every representation of numbers with different bases, the maximum value in a number system with the base ‘r’ is r – 1. Since numbers vary from 0 to r – 1.
To convert any number which is in the different base to decimal number system we use binary-weighted representation.
Eg: let the number be ( abc⋯ ⋯ yz)r
Now to convert the above number into the decimal number system

If we convert all numbers into decimal then we can perform normal addition and subtraction etc.

Application:
Given:
(110)x = (132)4,
The decimal equivalent of this number will be:
On solving this quadratic equation we'll get:
x = 5, -6
Base can't be a negative so;
x = 5

Test: Number System & Binary Codes - 2 - Question 9

In Binary-coded Decimal (BCD) systems, the decimal number 81 is represented as

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 9

In BCD each decimal digit is represented by a 4-bit binary number.
The binary representation of 8 → 1000
The binary representation of 1 → 0001
(81)10 = 10000001

Test: Number System & Binary Codes - 2 - Question 10

Which of the following is not an invalid BCD Code?

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 10

Binary Coded Decimal (BCD) code:

  • BCD is a way to express each of the decimal digits with a binary code.
  • In this code, each decimal digit is represented by its 4-bit binary equivalent.
  • Also, with four bits we can represent sixteen numbers (0000 to 1111)
  • But as there are 10 decimal digits from 0 to 9, BCD code uses only the first ten of these (0000 to 1001). The remaining six code combinations i.e. 1010 to 1111 are invalid in BCD.

Test: Number System & Binary Codes - 2 - Question 11

Convert (23)8 into its decimal number.

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 11

Octal to Decimal Conversion:

  • Step 1: Since an octal number only uses digits from 0 to 7, we first arrange the octal number with the power of 8.
  • Step 2: We evaluate all the power of 8 values such as 80 is 1, 81 is 8, etc., and write down the value of each octal number.
  • Step 3: Final step is to add the product of all the numbers to obtain the decimal number.

 
Application:

Step 1: Write 23 with the power of 8. Start from the right-hand side.
2 × 81 + 3 × 80

Step 2: Evaluate the power of 8 values for each octal number.
16 + 3 = 19 (Decimal Number)

*Answer can only contain numeric values
Test: Number System & Binary Codes - 2 - Question 12

If (154)b / (14)b =(8)10, then what is the radix b is _______?


Detailed Solution for Test: Number System & Binary Codes - 2 - Question 12

Convert the given b-radix into a decimal system.



 

b = 7 Here b value should be greater than 5 because it maximum digit in b radix.
Hence the correct answer is 7.

Test: Number System & Binary Codes - 2 - Question 13

Find the Octal equivalent of hexa decimal number (FB2)16?

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 13

Concept:

A number system includes the number of independent digits used in the number system (the base), the place values of the different digits constituting the number, and the maximum numbers that can be written with the given number of digits.
Octal numbers: These numbers use digits from 0 to 7, total of 8 digits, and hence they are called octal number system. Octal numbers have base 8.
Hexadecimal numbers: The numbers which have base 16. It uses 16 different digits to represent the numbers. It is denoted as h16, where h is a hexadecimal number. It may be a combination of alphabets and numbers. Thus, it includes numbers from 0 to 9 and alphabets A to F.

Calculation:
Hexadecimal to Octal Conversion:

Given, (FB2)16 is a hexadecimal number.
F → 1111, B → 1011, 2 → 0010 1111 1011 0010
Now group them from right to left, each having 3 digits.
111, 110, 110, 010
111 → 7, 110 → 6, 110 → 6, 010 → 2
Hence, FB216 = 76628

Test: Number System & Binary Codes - 2 - Question 14

In excess-three code, the 4-bit group that is used is ____.

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 14
  • Excess 3 code is a 4-bit code.
  • It can be derived from the BCD code by adding ‘3’ to each coded number. Thus, in excess 3 code 0011 is added to each BCD number.
  • It is an un-weighted code.
  • It is a self-complimenting code i.e. the 1’s complement of an excess three number is the excess 3 code for the 9’s complement of the corresponding decimal number.
Test: Number System & Binary Codes - 2 - Question 15

Convert BCD 0001 0010 0110 to binary

Detailed Solution for Test: Number System & Binary Codes - 2 - Question 15

Given BCD number = 0001 0010 0110
BCD is converted to a decimal by taking a pair of 4 and representing it in its equivalent decimal, i.e.
The decimal equivalent of the given BCD will be:
Decimal equivalent = 126
Converting this to an equivalent binary through successive division, we get:
Binary equivalent = 1111110

115 videos|71 docs|58 tests
Information about Test: Number System & Binary Codes - 2 Page
In this test you can find the Exam questions for Test: Number System & Binary Codes - 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Number System & Binary Codes - 2, EduRev gives you an ample number of Online tests for practice

Top Courses for Electrical Engineering (EE)

115 videos|71 docs|58 tests
Download as PDF

Top Courses for Electrical Engineering (EE)