Electronics Engineering

  Home  Engineering  Electronics Engineering


“Electronics Engineering frequently Asked Questions in various Electronics Engineering job Interviews by interviewer. Get preparation of Electronics Engineering job interview questions.”



185 Electronics Engineering Questions And Answers

181⟩ Tell us Design gray to binary code converter?

Binary of 1011 -

1101

Steps

1. write the msb as itseif (here retain fourth bit say 1 ) and it will be the

msb of binary.

2. add the msb of binary (say 1) with next bit of gray (say 0 ie third bit )and

the sum (1) becomes next bit of binary. note: if any carry generated just discard

it.

3. previous sum (1) is again added with next bit of gray(1 ie second bit) and

this sum(0) becomes second bit of binary .

4. previous sum (0) is again added with next bit of gray (1 ie first bit) and

the sum (1) becomes first bit of binary.

 184 views

182⟩ What is function of ALE in 8085 microprocessor?

AlE stands for the address latch enable

it 's working is that it differentiate the address and data bus in microprocessor.

when it is high it select address bus .

when it is low it select data bus.

 174 views

184⟩ How to convert a binary number into BCD number directly and vice-versa, without converting it into any other number system?

It depends on the range. An algorithm can be used.

For a number in the range of 0 to 19 (decimal), the following algorithm can be used:

if a<10

a_BCD=a;

else if a<20

a_BCD=a+0x06;

end

for example if a=0x0E, then a_BCD=0x0E+0x06=0x14, which is the BCD representation of 0x0E.

This could be generalized for a number in the range of 0 to 99: a_BCD=a+n*0x06, where 10*n<=a<10*(n+1).

 212 views