Home
 
View all Placement Papers          
 

Sap Labs Placement papers.

Sap Labs Placement Paper 1 Sap Labs Placement Paper 2 Sap Labs Placement Paper 3
Sap Labs Placement Paper 4 Sap Labs Placement Paper 5 Sap Labs Placement Paper 6
Upload Paper
 

SAP Labs placement Paper


1. x% of y is y% of ?

(A) x/y
(B) 2y
(C) x
(D) can't be determined

2. Which of the following is not correct about an Exception ?

a] Raised automatically / Explicitly in response to an ORACLE_ERROR
b] An exception will be raised when an error occurs in that block
c] Process terminates after completion of error sequence.
d] A Procedure or Sequence of statements may be processed.

Ans : C

3. Which of the following is not correct about User_Defined Exceptions ?

a] Must be declared
b] Must be raised explicitly
c] Raised automatically in response to an Oracle error
d] None of the above

Ans : C

4. SUBSTR(SQUARE ANS ALWAYS WORK HARD,14,6) will return

a] ALWAY
b} S ALWA
c] ALWAYS

Ans : C

5. REPLACE('JACK AND JUE','J','BL') will return

a] JACK AND BLUE
b] BLACK AND JACK
c] BLACK AND BLUE
d] None of the above

Ans : C

6. What is the output of the program
void main()
{
int j[10]={9,7,5,3,1,2,4,6,9};
int i=1;
clrscr();
for(;i<9;i++)
printf("%d ",--j[i++]);
getch();
}

// A. 6,2,1,5
// B. 6,2,1,5,7
// c. Error Message
// D. core dump
Ans: A. 6,2,1,5

7. Identify the pseudocolumns

a. rowid
b. sysdate
c. rowval
d. dual

8. select deptno, count(empno) from emp

where count(empno)>=5
group by deptno;
identify the line no which contains the error


a. 1
b. 2
c. 3
d. 1,3

9. choose the group function that can be used with any data type

a. sum()
b. min()
c. avg()
d. all

10. How many mashes are there in 1 square meter of wire gauge if each mesh is 8mm long and 5mm wide ?
(A) 2500
(B) 25000
(C) 250
(D) 250000

11. Find if any error in the code
main()
{
int i=1;
for(;;)
{
printf("%d",i++);
if (i>10)
break;
}
}

a)two semicolon
b)for should be replaced by a while loop
c)complilation error
d)no error

12. when is index of a table used

a)when table is less range of values
b)when table is used frequently
c) when the table is small
d)when we use join statement with select and where clause

13. What is the output of the following
main()
{
int i=-3, j=2, m, k=0;
m=++i && ++j || ++k
printf("%d %d %d %d", i, j, m, k);
}

a)-2 3 1 1 b) -2 3 0 1 c) -3 2 1 1 d)2 -3 0 1

14. What is the output of the program
void main()
{
char s[]="oracle is the best";
char t[40];
char *ss,*tt;
while(*tt++=*ss++);
printf("%s",t);
getch();
}

// A. oracle is the best
// B. Core dump
// c. Error Message
// D. Goes into infinite loop
Ans: B. core dump (Garbage value)

15. If a 4inch cube is painted on all the sides. If it is cut into 1 inch cubes, how many cubes are not painted at all.

16. What is the value of (0.75*0.75*.075-0.001) / (0.75*.75-0.075+0.01)

a)0.845 b)2.45 c)0.75 d)1

ans a

17. Abode means

a)  b)dwelling

ans b

18. Ovation

a)applause b)guesture c) d)

ans a

19. If body: helmet:: finger:?

a)nail b)glove c)cannot be determined d)

 
 
See Also
 
Java Interview Questions
C Interview Questions
C++ Interview Questions
Embedded Interview Questions
.net Interview Questions
C# Interview Questions
PHP Interview Questions
Aptitude Questions and Tips

Bank exams
 
Reasoning
English
Computer Knowledge
 
 
Best Viewed in 1024*768 pixcels. with IE 5+,FF 1.5+ All Rights Reserved.2010
Powered By :   TECHNOY
Sevyam
Education