Motorola Placement Paper

Motorola Interview.

1.Write a C code
i.To reverse a string using a recursive function, without swapping or using an extra memory.
ii.To reverse a linked list as above.

2.Given a macro
#define MAX(A,B) {to return that is larger}
What will MAX(i++,j),MAX(i,j++) return.
3.Difference between Macro and ordinary definition.
4.Difference between Class and Struct.
5.What is a Real Time OS.Name some.
6.Describe VRTX in few words.
7.How does the scheduler know the time How it should be scheduled.
8.What is deadlock? How do you avoid it?
9.What is a semaphore?
10.What exactly happens after each system call in sockets,both at the client and at the server.
11.What is the difference between widget & gadget in XWindows?
12.Tell about strtok & strstr functions.
13. Matricide:Mother:: Homicide:? Ans Human
14.All men are vertebrates. Some mammals are vertebrates.
Some Vertebrates are.

Motorola placement paper

placement paper-2

Motorola placement paper

placement paper-3

Motorola placement paper

placement paper-4