Home »
Placement Papers » Motorola
Placement Papers » Motorola Palcement Paper -2003
Motorola Placement Paper -2003
MOTOROLA Latest Fresher Placement Question Paper 1 2003
Interview Procedure
There was a Technical Interview, followed by personal interview. Mainly
concentrating on the interesting subjects.
Motorola
Technical
Q. write a C code
1.to reverse a string using a recursive function, without
swapping or using an extra memory.
2.To reverse a linked list as above.
Q. what will MAX(i++,j),MAX(i,j++) return.
Q. Difference between Macro and ordinary definition.
Q. Difference between Class and Struct.
Q. Give the outputs of a compiler and assembler and loader and linker etc.
Q. If a new data structure, suppose a queue is to be added like int, long etc.,
MOTOROLA Latest Fresher Engineer Placement Sample Question Paper 1 2003
where shall the changes be -- lex or yacc or where.
Q. what is a Real Time OS.
Q. Describe VRTX in few words.
Q. How does the scheduler know the time how it should be scheduled.
Q. Name some sockets, TLI, streams. and much about project.
Q. What is deadlock? How do you avoid it?
Q. What is a semaphore?
Q. What exactly happens after each system call in sockets, both at the client
and at the server.
Q. What is the difference between widget & gadget in XWindows?
Q. Tell about strtok & strstr functions.
Q. Matricide:Mother:: Homicide:? Ans Human
Q.20%loss;20 % gain Ans 4% loss
Q.Calls:Tissus::Atom:? Ans:Molecules
C Test
1. main()
{
int arr[100];
int c:
int N;
for(i=-:i<N;i++)
arr=i;
minvalue i = .....
Maxvalue i = .....
Ans 0,100 resp
2. for n=2 the following fn returning value is
int fun(int n)
{
for(i = 1;i<=n;i++)
for(j=i;j<=i;j++)
sum=sum+j;
return(sum);
}
Ans 6
4. Calculate sum=1+1+2+1+2+3+1......
Ans i<=x;j<=i
5. for x=2 y=3 z=1
the following fn return
int fun(int n; int y; int z)
{
int sum
for(i=x;i<=y;i++)
for(j=1;j<=z;z++)
sum=sum+z;
return sum
}
Ans 0(check)
6. The values of sum from above fn
for x=0; y=0;z=1 Ans 1
7.how can you insert the following values in stack and numbers
0,20,30,40,50.60
stack [][][][][][]
numb [][][][][][][]
Ans
60 50 40 30 20 10
10 20 30 40 50 60
check.
8. # if ndif XYZ
#include "XYZ.h"
#endif
what is meaning ?
Ans:
if XYZ is not defined then only include the header file XYZ.h.
9. p:malloc(int*sizeof(int));
ans: a
10.a=5 b=10 c=7
(a>c)?a(b>c)?b:c)
ans 10
11. debugging eliminates Ans[c]
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<N;i++)
for(j=1;j<N;j++)
sum=sum+A[j];
return sum;
}
what is wrong in the above function?
16. OTHER QUESTIONS ARE MAINLY CONCENTRATED ON ERRORS LIKE
(i)syntax (ii) runtime (iii) logical (iv) debugging.
17. A binary tree with depth of '3' has max kof 20 nodes ans: no.
18.. malloc ? 2. char * p =" hwllo world " , what is wrong?
19. char *(*(*a(N))())();?
20. *p++ = ?
21 int i=7
printf( "%d \n",i++ i++) o/p =? ans 56
22. n=2 pow((2.0,n),++n)?
23. #define macro for ( i,g) ?
24. int reg=2 is there any wrong ? write a reason
25. #define max 10
p=&(a+b);
q=*max;
} what is wrong
26. strcat( string,'O');
wrong? werite reason?
27.char *s=char * ....
else (string)....? wrong? write reason
Testing and Maintenance.(will you work in it and what are they)
Give the outputs of a compiler and assembler and loader and linker etc.
If a new data structure, suppose a queue is to be added like int, long
etc.,
where shall the changes be -- lex or yacc or where.
what is a Real Time OS.
Name some.
Describe VRTX in few words.
How does the scheduler know the time how it should be scheduled.
sockets, TLI, streams.
and much about project.
What is deadlock? How do you avoid it?
What is a semaphore?
What exactly happens after each system call in sockets, both at the
client and at the server.
What is the difference between widget & gadget in XWindows?
Tell about strtok & strstr functions.
There are three section . there are 44 question in all three section .the time
is 45 mainutes.it is suffucent.
section I -20 question.
section II-11 question . it is GRE resoning .you can easyly do these section.
section III-13 question
there is no time limitatioin in individual section .so do not bothere for that.
1. there is question on figure .it is easy.
ans d) correct
2. there are 1800 coins .one soin is defective in that .in how many minimum
times you can find that the coin is defective.
a)11
b)9
c)7
d)2
ans:7
3.there are two kind of professonal in a company software & personal.if the
personal are 15% of the total .a party is going .in a party if 50% of the
total professonal left and all are s/w then what is the ratio of the s/w
professonal left to total software professonal.
ans b) 10/17
4. what is the probability of the taking out two card one king and one quene
of black in a card packet.
ans d) 1/663 (ckeck)
5.1 1 2 3 5 ... 13
ans 8
6.there are two more question of series .they are easy.
7.there are two question of coding and decoding.they are also easy.
8.how many word are be formed by by a 5 alphbet ward in which one word is twice.
(I don't rembere the exact word)
ans 60 (correct)
9.there is one question on price rise and fall .
ans 1% decrese in price.
10. 1,7,17,31,--,71
ans 49
section II
in this there are easy question on reasoning like GRE .
I don't remember the passage and question.there are 11 question in this
sectioin.
moto99:-->>>
TOROLA 99 (46 questions , no -ve marking)
1. out of 1800 coins one is lighter than others and in howmany attempts u
can find that
odd one?
ans:7
2. out of 52 cards two are drawn consecutively. what is the probablility
to get black king &
black queen ? ans: 2/663
3. 1,2,3,5,8, ..?
ans: 13
4. out of 100 students in the class 60 take hindi ,55 social, 65 english.
Howmany students passed in atleast 2 subjects?
5. 3 4 13
- ? -
6 7 16
ANS: ? = 1
6. h i n d find the odd man out ?
ans: i (vowel)
7. word1: word2 then motorola: ?
ans: replace m o r l by respective letters in word2.
8. 6 1 2 7 12 ? 2 3 11 1
ans: add 1+2+11+7
9. O(n), O(n2), O(n3), O(n4) what is the overall complexity ?
Ans: orde of n power 4 O(n4).
10.for(i=0:!<m;i++) what is the expression to access the array from last
element ?
ans: a[m-i+1]
11. 2 4 6
6 10 ?
ans: 16
12. queston on floors in building. srinivas lives on .....
ans: 11 th floor.
13. BIRD:HIPK::EMCR: ?
ANS:ZLUP ( SEE THE VALUE IN WORD2.)
- - - -
14-16. There are 2 analytic questions (6marks each)
There are 3 drink items (c m t )& 5 food items (p q r s t u). one
has to take 2 drink items and 3 food items. The pairs that shuld not be
taken are given.(cp ps pt etc)
Q1) if he takes c what others can be taken ?
Q6)what he can take ?
ans: u (no condition is given on u)
20-25) Analytic question based on positions .
A is above c&d, Q is below c, Q is middle of r&c etc.
now u can answer the 6 questions once u find the corresponding
positions of letters.
Motorola 03
there are 45 question . no technical question are asked.time 45 mins.
2 reasoning question means total 11 questoins.reasoning is not from
GRE.
1. antonym
p.... ans. static
2.there are 1800 coins.one coin is counterfiet coin.how many minimum
weight is required to find counterfiet coin.
3. there are six question of series.
1 2 3 5 8 ? ans.
102 204 102 ans. 256
questions are very easy .you can solve easily there.
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 floor
|
|