Wednesday 9 April 2014

Interview Questions in VVDN Technologies, Chennai

Interview Process: 
First -Written test was about aptitude, basic electronics & C programming
second - Two Interviews was mostly focused on digital & analog electronics, C programming and basics questions on all embedded topics.
  
Interview Experience:
Two questions on c-programming 
1. Optimized code for multiplications of two numbers without using multiplication operator.
int xor, and, temp;
and = x & y;
xor = x ^ y; 

while(and != 0 )
{
 and <<= 1; 
 temp = xor ^ and;
 and &= xor; 
 xor = temp; 
}

Or
#include <stdio.h>

unsigned int add(unsigned int x, unsigned int y)
{
        unsigned int xor, and, temp;
        and = x & y;
        xor = x ^ y;
        while(and != 0 ) {
                and <<= 1;
                temp = xor ^ and;
                and &= xor;
                xor = temp;
        }
        return xor;
}

int main()
{
        unsigned int multiplicand = 41,
                     multiplier = 6,
                     res = 0;

        while(multiplier != 0) {
                if (multiplier & 1) {
                        res = add(res, multiplicand);
                }
                multiplier >>= 1;
                multiplicand <<= 1;
        }
        printf("6 times 41 equals %u\n", res);
        return 0;
}
2. Optimized code for expressing a number(n) in binary one's  and displaying it's equivalent in  integer. ( Example: if n = 4, then binary ones's[1111] and the integer equivalent is 15) 

3. More conceptual questions on basic (digital & analog) electronics and logical questions. (Example: Design a circuit when an input and output signals are provided using logic gates with propagation delay )

4. Implementations of logic gates using transistors & diodes. And filters using RLC components. 

Diode Logic Gates:
5. Questions on OP-AMP

Please do feel free to reach me out, if you have any questions regarding the interview and I wish you all best for you placements.