Showing posts with label interview questions. Show all posts
Showing posts with label interview questions. Show all posts

Friday, 9 August 2013

Unix FAQ's - Embedded Trainees have to know this.



1. About socket programming

2. Difference between tcp and udp in programming

3. How to know list of files available in a directory

4. What are the extra options that can possible to give "ls"

5. How to know how many threads are running

6. Difference between semaphore and mutex

7. About compilers that we use.

Autoliv India PVT LTD Interview Process and Questions - Held on July 2013

Whole Interview Process conducted in total 3 Rounds.
  • Round 1 : Written Test
  • Round 2 : Technical Interview
  • Round 3 : HR Interview
Written Test: 
Grouped into 3 parts consisting of Basic Electronics, C language and aptitude reasoning.
 
Basic Electronics Questions on following topics  

Voltage gain
Amplifier circuits
Transistor Characteristics.

Technical Round: (Also looking at H.R skills) 

Questions on Academic Project
C Language questions on storage classes, operators, structures.

Sample questions:
1.     Write a program for swapping without using temporary variable.
2.     Write a program using functions to perform both addition and subtraction and print the value in main function.
3.      Bitwise operators, XOR table.

HR Round:
1.     Explain yourself and family background.
2.     Past experiences and hobbies.
3.     How you measure 45 minutes if your given with 2 candles each can burn upto 30mins.

Saturday, 27 July 2013

VVDN Technologies Interview Process and Interview Topics Held at Banglore on June 2013

Written Test

I- 20 questions on aptitude.
II-20 questions on electronics.
III-20 questions on C.

The level of questions was average.
Following are the Topics covered from Electronics
  • Unit of magnetic field.
  • Unit of resistivity.
  • Thevenin's equivalent of the circuit.Find the voltage across the load,the figure will be provided.
  • Find the equivalent capacitance,through the figure provided.
  • Find the equivalent gate,gate will be made by BJT.
  • Find the equivalent gate,gate will be made by Diode.
  • One multiplexer question.
    value of charge on electron.
    More question regarding the charge.
  • Questions on BJT circuit. 
    Effect of temperature on conductivity of the semiconductor.
    Effect of temperature on conductivity of the conductor.
    Find the resistance of the long wire.
    Some Questions on transformer(simple), steady state, 
  • Questions on majority carriers & minority carriers in BJT.

Technical Interview 
  1. It was mostly concentrated on some of the questions from the written test i.e. how you solved them.
  2. Rectifier circuit (HalfWave, FullWave, bridge.)
  3. How to filter pulsating DC from full wave rectifier with circuit
  4. Capacitor alone as a filter.
  5. Your favorite subject and some questions from it. 
 
Technical Interview (2nd round):-    PART- 1
  1. This interview started with electronics i.e. the same rectifiers and diodes.
  2. Then switched onto some digital electronics questions like making gates using transistors, 
    black boxes with input/output conditions given input polarity changed then too output polarity remains same.
  3. Changing duty cycle of pulse
  4. Making Band pass and bandstop filters using low pass and high pass.
  5. C programs:
  6. Multiplication.
  7. Power of 2.  (without loops)

Technical Interview (2nd round):-    PART- 2
  1. Embedded C (KEIL IDE) concepts
  2. Explaining project (B. Tech)
  3. Explain UART protocol.
  4. Write a C program for removing line from a file (For Embedded system)
  5. Explain Termios.

HR Round:
 
It was not a formal HR round as many companies do conduct. Usually there is no HR round here. They just inform us regarding the salary and the date of joining.

Wednesday, 17 July 2013

AMI selection procedure - July 2013

SELECTION PROCEDURE:

There were three rounds:

Written test on C and JAVA(objective+programming)

DURATION: 3hrs
PATTERN:


First 20 questions on C(objective) + 2 C programs(mandatory)
C programs Questions are:
  1. Write a program to find out whether the machine follows little or big endian byte ordering.
  2. Write a program to remove extra spaces in a file.

20 questions on JAVA(objective) + 2 JAVA programs(mandatory)

Questions on JAVA programming as follows:
  1. Implement array list.
  2. What is immutive and explain with a program.
  3. 20 questions from aptitude.
  4. 10 questions from IQ.(mandatory).

Written test on C and C++ (theory+programming)
4 reasoning and 15 C and C++ questions and 1 program.

HR round.
  1. Explain personal background
  2. Why should I hire you?
  3. What are your short and long term goals.
  4. What are the qualities should be there in a project manager(as I told my goal is project manager).
  5. Apart from these, basic APTITUDE was also there.
  

NCR Corporation Interview Process - Held on July 2013 | NCR Corporation Interview Questions


Written test: 

It includes 4 section that covered the following topics
  • C output of programs
  • writing programs in C
  • English section
  • logical question section.
Group discussion : 

There were general topics given followed by 2 min self introduction round.

1st Technical round:

Focused on CPP, questions  like
  1. What are access specifier?
  2. Explain constructor, destructor, friend class,static class , exception handling?
And from C  
Write a program to explain the
  1. Structure concept
  2. Difference between structure and enum
  3. Dynamic memory allocation
  4. Some networking question and project.

2nd technical and HR interview: 
  1. Asked some question on CPP, dynamic library (.dll), link list question, debugging technique,project explanation. 
  2. HR question were like if you are kept in a room for 6 to 7 hr what will you do?, 
  3. If you have deadline for a work and a friend came  for help then  what will you do?, 
  4. Real time example of team work, 
  5. Best moment in life, 
  6. Turnoff time in your life,hobbies etc..

Thursday, 16 May 2013

SAFRAN Recruiting Process -Interview process @ Safran


  Following rounds are conducted at Safran Recruiting Process

Written Test:

C & APTITUDE are the Topics Covered in the Written Test mostly

Techinical Rounds:

 2 rounds of Technical panel.


The main Focus is on C Language ...
Learn the concepts in depths, where they mainly focus much on the indepth topics like pointer & Arrays,structure,functions.

Inorder to understand your learning involvement they ask topics other than C (like UNIX etc.) 

Puzzles will be involved in their questionnaires...

After all this there will be a dedicated HR round in Which they test your confidence and Communication skills...

All the Best.....

Sunday, 12 May 2013

Campus DXCorr: Skills Required & Previous Interview Questions Pattern



DXcorr is an IP design house and gives all round development and learning opportunity to candidates in VLSI domain.

Skills: VLSI Topics, Digital, CMOS, Project

Previous Interview Questions:

75% of the questions asked were on Project, Apart from that, here are some extra questions that were asked,
1.  Define Setup Time and Hold Times.

2.  Difference between Flip-Flop and Latch.

3.  Techniques to overcome Setup/hold time violations.

4.  Define Threshold Voltage.

5.  Layout precautions to be observed for Analog/Mixed Signal Layout.

6.  A few questions on Operational Amplifiers.

7.  Define DRC and LVS.

8.  ASIC Design Flow.

9.  Flash A/D converters (Since this was one of my projects)

Tools to be familiar with Cadence Virtuoso and Diva.

SYNFOSYS Previous Papers



 MARKS-75                              TIME :90 MINS                                                
                      SECTION <A>           PUZZLES                     MARKS(2*10)                                            

1>Given a number x, less than 100. How will you generate true with probability x/100. So if x = 65, how will you generate true with probability 65/100. You can represent true by 1 and false by 0.

SOL:     void foo(  )
               {
                   int X=65,NUM;
                   NUM=rand( )%100 + 1;
                   if(NUM<=X)
                     printf("true");
                  else
                     printf("false");
           }

2>  Given 50 red pens and 50 blue pens, two jars(A,B) initially empty. These 100 pens are to be distributed b/w the jars such that the probability of picking a red pen is maximum.
               
SOL:
              We need to add the probability of finding a red pen in one jar and add it to the probability of finding it in the other.
So the probability would  b:
  0.5x0.5 (probability of picking Jar A)x(probability of picking red pen in that jar) + 0.5x0.5 (probability of picking Jar b)x(probability of picking red pen in that jar) = 0.5
But there exists a distribution in which the probability of picking one color pen can be increased and i.e. put 1 red pen in jar A and other 49 red and 50 blue in jar B.
 This gives us the probability of picking red pen as 0.5x1 (probability of picking Jar A)x(probability of picking red pen in that jar) + 0.5x(49/99) (probability of picking Jar b)x(probability of picking red pen in that jar) = .7474 ANS

                 
                  SECTION<B>                MULTIPLE CHOICE          MARKS (1*10)              

1> void main()
    {
   int i=320;
   char *ptr=(char *)&i;
   printf("%d",*ptr);
}                       ANS-64

2>#define x 5+2
  void main()
  {
    int i;
    i=x*x*x;
    printf("%d",i); ANS 27
}

3>void main(){
char c=125;
    c=c+10;
    printf("%d",c);  ANS -121
}

4>void main(){
   float a=5.2;
  if(a==5.2)
     printf("Equal");
  else if(a<5.2)
     printf("Less than");
  else
     printf("Greater than");  ANS- less than
}

5>void main(){
  int i=4,x;
  x=++i + ++i + ++i;
  printf("%d",x);       ans-in gcc-18 in turbo c-21
}
6>  void main(){
 int a=2;
 if(a==2){
   a=~a+2<<1;
   printf("%d",a);   ans-compiler error
 }
 else{
  break;
 }
}

7>void main(){
  int a=10;
  printf("%d %d %d",a,a++,++a);ans-12,11,11
}


8>void main(){
   char *str="Hello world";
   printf("%d",printf("%s",str)); ans-hello world11
}

9>void main(){
   char *str=NULL;
   strcpy(str,"cquestionbank");  ans-turbo c-(null)i.e null ptr assignment
   printf("%s",str);                 gcc-runtime error
}

10>void main(){
  int i=0;
  for(;i<=2;)
   printf(" %d",++i); ans 1,2,3
}

                                        SECTION<C>                                          MARKS(3*5 )                                                                    

1> Explain the memory representation of int a=7;

ANS:        if binary num is in form-    ABCD          00000000|00000000|00000000|00000111
         then  memory representation is -CDBA          00000000|00000111|00000000|00000000                                    
                                                   

2>Explain floating point representation of real numbers:?
sol:
      float num: 1.46    by IEEE STD: sign bit:      1
                                      expo bit:       8
                                     significant bit:23
     bias value:127
         try urself

3>find the size of function?

  sol: there is no predefined operator or any library function to calculate the  size of any userdefined function:we can calculate size of fn by finding the size of each variables
encountered in that function;
example:
         void foo()
         {
           int arr[20];
            int x=10;
            int *ptr=&x;
}                             ANS>>   SIZE= sizeof(arr)+ sizeof(x)+sizeof(ptr);

4>convert integer to string??
  main()
{
 int num=6;
  char buf[10];
 sprintf(buf,"%d",num);
 printf("%s",num);
}
5>compare two strings which are present in different memory location??
 void cmp(char *str,char *ptr)
{
  if(strcmp(str,ptr)==0)
    printf("equal")
else
    printf("not equal");
}


                                            SECTION<D>                          MARKS(7.5 * 4)                              

1>REVERSE THE NUMBER USING POINTER ex inp-109012 o/p 210901?
 
SOL: int rev(int *num)          main()
                                 { int num=12345;
                              pf("%d",rev(&num));
                                  }
      {
       int r,sum=0;
         while(*num)
         {
            r=*num%10;
            sum=sum*10 + r;
           *num/=10;
       }
         return sum;
}

2>string uppercase to lowercase and vice versa?
sol:main()
   {
    char str[100],buff[100],ch;
     int i,j,k=0;
   printf("enter str:");
    gets(str);
      for(i=0;str[i];i++)
       {
            ch=str[i];
            if(ch>='A'&&ch<='Z')
            buff[k]=ch+32;
            else if(ch>='a'&& ch<='z')
             buff[k]=ch-32;
              k++;
      }
          puts(buff);
}

3>find the location of substring in a given string:if string is "synfosyssolution" and sub string is
  "sol" :then output will b 9 ?
main()
{
char  str[]="synfosyssolution";
char sub[]="sol";
int i,j,cnt=0;
for(i=0;str[i];i++)
{
  if(str[i]==sub[0])
   {
     for(j=1;sub[j];j++)
      {
        if(str[i+j]!=sub[j])
         {
           break;
         }
      }
   }
     if(sub[j]!='\0')
      cnt++;
}
printf("sub str found at pos :%d\n",cnt+1);
}

5>Reverse word of a sentence??if input is "synfosys business soln ltd" than output will be "ltd soln business synfosys"??
       void xrev(char *,char *)
sol:   main()
       {
          char str[]="synfosys business soln ltd";
           char *ptr=0,*x=0,*y=0;
          for(ptr=str;*ptr;ptr++);//move ptr to last
            xrev(ptr-1,str)
            x=str-1;
           
            y=str;
      while(x++<ptr)
        {
       if(*x=='0'||*x==' ')
        {
            xrev(y,x-1)
            y=x+1;
         }
}
void rev(char *l,char *r)
{
 char t;
while(l<r)
{
t=*l;
*l++=*r;
*r--=t;
}
}

Sunday, 14 October 2012

AMI interview Questions


for me they asked only C

1) on libraries (all commands for creation , linking and all)
2) on makefile and make commmand 

3) study the concept of inclusion of header file and standard header file n all related 

4) on pointers 

5) all linked list concepts and related logics ........


             he covered all concepts in C for me ?

ALL THE BEST !..

UTC interview questions


First 3 rounds:
1. volatile. purpose? avoiding time optimization or Memory optimization?
2. What are the synchronisation mechanisms used? 
    semaphores vs Mutex? Question extended to processes waiting on semaphore?
3. How shared memory is implemented?
Adv and disadv of shared memory?
4. Have u ever worked on pipes?
5. Working mechanism of message Queues. Disadv of message queues?
6. different storage sections 
7. protected vs private?
8. what is polymorphism? How do u achieve it?
9. Late binding vs Early binding?
10. What is the mechanism involved in late binding? (VTABLE concept) 
11. Single ton pattern
12. OS vs RTOS
13. what is Priority Inversion?
14. How do u achieve class behavior(data members + Member functions) in C? Similar to the lines of how to declare a function in structure in C?
       Write a small piece of code to do it and access it? 
15.  What is an Exception? Why we can't handle asynchronous exceptions in C++?
16. write the syntax for copy constructor and Assignment operator?
17. (i)A ob1 = ob2;  which one is called ? copy contructor or Assignment operator?
       (ii)A ob1; A ob2;
       ob2 = ob1; which one is called?
18.  What is Context switching? what OS do while switching?
19. Few questions on structure padding. 
20. Program to interchange elements in a Matrix?
21. Reversing a Linked List.
22. Write a pgm to know whether a system is little endian or big endian? extended the question to are there any alternate methods?
23. memory leaks?
24. select() system call? 
25. Purpose of virtual destructor?
26. Can we have virtual constructor?
27. Have u worked on UML? Represent diagramatically a composition?
28. Questions on Inheritance Acess specifier modes? 
How the base class members are inherited, When the acess specifier is public/private/Protected?
29. Abstract classes? When do u go for an abstract class?
30. What happens when u don't define a pure virtual function in the derived class?
31. Interrupt Handling mechanism(RTOS)?
32. Explain the mechanism of RS232?
33. Overloading postfix and prefix operators?
34. system calls on Client side and server side(Socket Programming)?
35. Different states of a Process?
36. Syntax of function pointers?
37. What is preemptive based scheduling?(RTOS)
38. What is encapsulation? What is data abstraction?
39. Shallow copy vs Deep copy?
40. What do the C++ compiler provide u by default?
41. Size of an empty class?
42. Object Slicing in C++?
43. Stack Unwinding in C++?
44. What is Segmentation fault? Questions related to Core dump.
45. diamond problem in C++? How to resolve it?
46. questions related to malloc(), calloc()  and realloc()
47. const char*p;
       char const *p;
       char *const p;
48. Overloading new operator?
49. what is a Smart pointer in C++?
50. how do u allocate memory for a double pointer?
51. What is a Race Condition? extended the question to thread-safety?
52. Indirect question referrring to Reference Counting in C++?
53. What is double buffering technique?
54. fork() system call?
55. What is Deadlock? How do u prevent it?

4th Round - All Process related 
1. Have u worked on Interrupt Handlers?
2. What are the design methodologies used?
3. Different diagrams in UML?
3. How do the Code Review process is done?
4. He has given a scenario and asked me to design it.