Company: Motorola

Motorola candidate experience By Mudit Verma Bangalore

Motorola Sample test papers

C TEST

1. main()

{

int arr[100];

int c:

int N;

for(i=-:ic)?a:((b>c)?b:c)

ans 10

11. debugging eliminates

ans: both logical & ruin time errors.

12. int term (int x)

{ int sum=0;int i;

for(i=0;i<=5;i++) sum+=x; /*problel is wrong but Ans is 650.*/ return(sum); } Ans 650 the above fn value for x=150 13.int x; scanf(“%d”,x); ————- ————– what is error in the above program 14.int a[] = { 1, , 9,2…….} int *p; p=&a[2]; printf(“%s”,p); a)7 b)2 c)4407 d)none ans: d 15.a[][] = {1,2},{3,4} b[] [] ={ void fun(A,B) int i,j; for(i=1;i

6 PQRSTU->problem-> Verbal Reasoning -> …….do…….pg 430 : 5

question.

7 problem -> verbal reasoning -> rs aggrawal pg 207 Quest 17 to 21.

C TEST

1. malloc ?

2. char * p =” hwllo world ” , what is wrong?

3. char *(*(*a(N))())();?

4.*p++ = ?

5 int i=7

printf( “%d n”,i++ i++) o/p =? ans 56

6.n=2 pow((2.0,n),++n)?

7 #define macro for ( i,g) ?

8. int reg=2 is there any wrong ? write a reason#

9. #define max 10

p=&(a+b);

q=*max;

} what is wrong

10. strcat( string,’O’); wrong? werite reason?

11.char *s=char * ….

else (string)….? wrong? write reason?

PSG PAPER: ARITHMETICS

1. Venn diagram for white, clothes,flowers

2.Male members ABCDEF, female members PQRSTU

3. not clear.

4. IMS material A sales person problem.

[5 question] conditions: M must visit before P&Q

R ” ” ” MNOPQRS

5. A containor contains 40 lt milk, 8 lt water

ans:( 0.80)^3 * 40 = 20.41lts.

6. direction problem (playing cards)Ams south-west.

1. antonym

p…. ans. static

3. there are six question of series. 1 2 3 5 8 ?

ansans. 256

4. word1 : word2 = motorola :

ans . c

5 . this type are question are asked.

1 2 4

10 ?

3 4 …

6. instruction to add 3 …….

ans. 4

7.floor problem ……

ans. 11th floorThanks a lot Mudit Verma for sharing your experience of Motorola Bangalore with Searchcrone.