SAP Whole Testpaper |   24018

SAP Whole Testpaper

                                        SAP Labs Aptitude Placement Paper

 

The paper was set by merittrac. There were 2 sections.

 

1st section had general aptitude questions and the 2nd section had ques based on C and data structures.

 

Section 1:30 ques :30 mins(time was not sufficient)

 

1. Sheela gets  salary, along with an increment given at the end of each year.After 4 years from her date of joining she gets Rs.15,000 and after 10 years she gets Rs.18000.wat is her salary when she joined?

 

2. There were few elephants and an equal number of mahouts.Half of the mahouts were sitting on the elephants and half were walking.Totally there was 84 legs,hw many elephants were there?

 

3. some data sufficiency question.

 

4. one question based on venn diagram

 

5. Usual merittrac pattern,some 7 ques like, if * stands +,- stands for /,+ stands for * and / stands for –,then 24+7-6*8/2=?

 

Section 2:

 

1).main()

{

int  i =0;

printf(“In the name of lord”);

for(i =0;i<5;i++)

main();

}

 

2)struct one

{

int j;

char m;

union two

{

int a;

char b;

float c;

struct three

{

int x;

float y;

char z;

};};};

wat is the size of union?

 

3).fun( int a,int b)

/*some code*/

}

fun (a.b)

int a,b;

{

/*some code*/

}

 

a)Both functions are in ANSI notation

b)1st one in ANSI & 2nd in K& R notation(Ans)

c)1st in K&R,2nd in ANSI

d)Both in K&R

 

4).An array of numbers were given and sorted using insertion and selection sort, options will b given, correct one has to be chosen

 

5)Programs based on Binary search tree,binary tree were given

feedback