Interview.
There was a Technical Interview,followed by personal interview.
Mainly concetrating on the interesting subjects.
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.
given a macro like
#define MAX(A,B) {to return that is larger}
what will MAX(i++,j),MAX(i,j++) return.
Difference between Macro and ordinary definition.
Difference between Class and Struct.
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.
Motorola Interview.
There was a Technical Interview,followed by personal interview.
Mainly concetrating on the interesting subjects.
Motorola 99
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
There was a Technical Interview,followed by personal interview.
Mainly concetrating on the interesting subjects.
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.
given a macro like
#define MAX(A,B) {to return that is larger}
what will MAX(i++,j),MAX(i,j++) return.
Difference between Macro and ordinary definition.
Difference between Class and Struct.
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.
7.Interchanging strings and numbers
Ans C
8. Matricide:Mother:: Homicide:?
Ans Human
9.Some Mammels are Vertebrates
Some Vertebrates are.......
Ans d
10. Figure patteren: --|--.......etc. direction changes problem.
11. work problem.........etc. (not clear).
C TEST
1. main()
{
int arr[100];
int c:
int N;
for(i=-:i
arr[i]=i;
minvalue i = .....
Maxvalue i = .....
Ans 0,100 resp
2. Union Problem .....
Ans : a or c
3. 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
10,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 "
My Quote