Electronics and Communication Engineering (ECE) Exam  >  Electronics and Communication Engineering (ECE) Tests  >  Digital Circuits  >  Test: Binary Codes - Electronics and Communication Engineering (ECE) MCQ

Test: Binary Codes - Electronics and Communication Engineering (ECE) MCQ


Test Description

10 Questions MCQ Test Digital Circuits - Test: Binary Codes

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

One Binary Coded Decimal requires ______ bits to store.

Detailed Solution for Test: Binary Codes - Question 1

Binary Coded Decimal (BCD) is a type of binary encoding where each digit in a decimal number is represented in equivalent binary form.
In this code each decimal number is represented by 4-bit binary number.
Generally with the four bits we can represent sixteen numbers ranging from 0000 to 1111.
But in BCD only first ten of these are used (0000 to 1001) and remaining six combinations (1010 to 1111) are invalid.

Numbers greater than 9 are represented by digit by digit.
For instance, 962 in BCD can be represented by 12 bits which can be expressed as 1001 0110 0010.
Conclusion: option 4 is correct. One binary coded decimal requires 4 bits to store.

Test: Binary Codes - Question 2

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

Detailed Solution for Test: Binary Codes - Question 2

Concept:
BCD code (Binary coded decimal):
It is the 4-bit binary code representation of a decimal digit with each decimal digit replaced in the integer and fractional parts with its binary equivalent.
BCD Code uses four bits to represent the 10 decimal digits of 0 to 9 as shown in the below table.

Analysis
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

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

BCD equivalent of (345)10 is:

Detailed Solution for Test: Binary Codes - Question 3

A Binary Coded Decimal (BCD) is a type of binary representation for decimal values where each digit is represented by its 4-bit binary equivalent.
Binary-coded decimals are an easy way to represent decimal values, as each digit is represented by its own 4-bit binary sequence which only has 10 different combinations.
The following represents the 4-bit binary representation of decimal values: 

The BCD equivalent of 345 is 0011 0100 0101

Test: Binary Codes - Question 4

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

Detailed Solution for Test: Binary Codes - Question 4

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: 

  • A number with an 'n' decimal digit will require 4k bits in BCD.
  • Ex- Decimal 396 is represented in BCD with 12 bits as 0011 1001 0110, with each group of 4 bits representing one decimal digit.
  • As the decimal digits relating to 1010, 1011, 1100, 1101, 1110, and 1111 do not exist, these are invalid.

In BCD valid states are from 0 to 9. So 1100 is an invalid state.

Test: Binary Codes - Question 5

The four-bit Gray code corresponding to the binary code 0011 is

Detailed Solution for Test: Binary Codes - Question 5

Concept:
The procedure to convert a gray code to a binary one is as shown:

Given, B3 B2 B1 B0 = 0011
From the above circuit the binary equivalent =
A3 = B3 = 0
A2 = B3 ⊕ B2 = 0 ⊕ 0 = 0
A1 = 0 ⊕ B1 = 0 ⊕ 1 = 1
A0 = 1 ⊕ B0 = 1 ⊕ 1 = 0
So, A3 A2 A1 A0 = 0010

Test: Binary Codes - Question 6

A BCD decoder will have how many rows in truth table?

Detailed Solution for Test: Binary Codes - Question 6

In BCD to 7-segment Decoder, the outputs of a digital circuit are often displayed as decimal digits.
BCD to 7-segment decoder is a combinational circuit that converts a BCD number into signals that are required for the display of the value of that number on a seven-segment display.
The number of input lines is 4. 


Notes:
The decoder outputs are (a, b, c, d, e, f, g)
For the display of the digit 0, segments a, b, c, d, e, f will be lit as shown above.
A truth table can be formed for all digits from 0 to 9.

Test: Binary Codes - Question 7

What would be the gray code equal to the number 14?

Detailed Solution for Test: Binary Codes - Question 7

Concept:
The circuit for binary to gray code convertor is:

y1 = x1
y2 = x1 ⊕ x2
y3 = x2 ⊕ x3
y4 = x3 ⊕ x4

Calculation:
Let the input to the circuit be 14
Binary value of 14 is 1110
∴ For an input 1110, we get the output as :
y1 = 1
y2 = 1 ⊕ 1 = 0
y3 = 1 ⊕ 1 = 0
y4 = 1 ⊕ 0 = 1
Hence the gray code for 14 is 1001

Test: Binary Codes - Question 8

BCD equivalent of decimal number 43 is

Detailed Solution for Test: Binary Codes - Question 8

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: 

Application:
From the above Table:
4 = 0100
3 = 0011
43 = 0100 0011 in BCD

Test: Binary Codes - Question 9

If the constraint length of a (n, k, L) convolutional code is defined as the number of encoder output bits influenced by each message bit, then the constraint length is given by

Detailed Solution for Test: Binary Codes - Question 9
  • A convolutional code is a type of error-correcting code. For generating a convolutional code, the information is passed sequentially through a linear finite-state shift register.
  • An (n, k, L) convolutional code can be implemented with a k-input, n-output linear sequential circuit with input memory L.
  • The constraint length is defined as K = n(L + 1). 
  • Since each information bit remains in the encoder for up to (L + 1) time units, and during each time unit can affect any of the n encoder outputs.
  • Therefore, K can be interpreted as the maximum number of encoder outputs that can be affected by a signal information bit. 
Test: Binary Codes - Question 10

In CRC if the data unit is 100111001 and the divisor is 1011 then what is dividend at the receiver?

Detailed Solution for Test: Binary Codes - Question 10

CONCEPT:
CRC stands for Cyclic Redundancy Check, is an error-detecting code used to detect errors in the frame received.
CRC is used to detect errors in the Data link layer.

CALCULATION:
STEP1: 
No. of bits in divisor - 4 bits, append 3 0's to data bits
Data bits after appending 0's - 100111001000
STEP2:
Binary division of 100111001000 with 1011:

STEP 3:
Append CRC 011 at last of data unit → 100111001011.
Hence, the correct answer is "option 2".

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

Top Courses for Electronics and Communication Engineering (ECE)

6 videos|76 docs|52 tests
Download as PDF

Top Courses for Electronics and Communication Engineering (ECE)