-->



Motorola Placement Paper



1)Bubble sorting is ?
a)two stage sorting
b)Multiway sorting
d)none of the above

2)c++ supports
a) pass by value only
b) pass by name
c) pass by pointer
d) pass by value and by reference

3)Selection sort for a sequence of and elements
no of comparisons = _________
no of exchanges = ____________

4)Insertion sort
no of comparisons = _________
no of exchanges = ____________

5)What is a language?
a) set of alphabets
b)set of strings formed from alphabets
d)none of the above

6)Which is true about heap sort
a)two method sort
b)has complexity of O(N2)
c)complexity of O(N3)


7)In binary tree which of the following is true
a)binary tree with even nodes is balanced
b)every binary tree has a balance tree
c)every binary tree cant be balanced
d)binary tree with odd no of nodes can always be balanced

8)Which of the following is not conducive for linked list implementation of array
a)binary search
b)sequential search
c)selection sort
d)bubble sort

9)In c++ ,casting in C is upgraded as
a)dynamic_cast
b)static_cast
c)const_cast
d)reintrepret_cast

10)Which of the following is true abt AOV(Active On Vertex trees)
a)it is an undirected graph with vertex representing activities and edges representing precedence relations
b)it is an directed graph "" "" """ "" "" "" "" "" "



1) What is the error
struct { int item; int x;}
main(){ int y=4; return y;}
error:absence of semicolon

2)Which of the following is false regarding protected members
a)can be accessed by friend functions of the child
b) can be accessed by friends of child,s child
c)usually unacccessible by friends of class
d) child has the ability to convert child ptr to base ptr

3)What is the output of the following
void main()
{
int a=5,b=10;
int &ref1=a,&ref2=b;
ref1=ref2;
++ ref1;
++ ref2;
cout<<a<<b<<endl;
} value of a and b
a)5 and 12
b)7 and 10
c)11 and 11
d)none of the above


Motorola placement paper

Motorola
placement paper-1

Motorola placement paper

Motorola
placement paper-2

Motorola placement paper

Motorola
placement paper-4