![]() |
|
| ORACLE Placement Papers ORACLE profile pattern , ORACLE Latest placement papers and Updated ORACLE 2006 2007 placement papers . If you have attended recent test of ORACLE , kindly post the model paper in this forum. |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Super Moderator Join Date: Feb 2006 Age: 27
Posts: 4,502
Thanks: 25
Thanked 453 Times in 256 Posts
Rep Power: 0 | ORACLE placement paper 6 Test is 30 min,30 Quetions.Questions are simple. * some questions are Code Snippet based. * Some questions are compiler based i.e. given code snippet will compile or not, if not the reason. * some question are from the prfix/postfix inc/dec operation based code snippets. * More than 3 question are based on the sorting algorithms. * some questions are from the pointers based. * Code snippets involving memory allocation function. * All the questions are from c Some of the question ,i remember, are the following 1. #include #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x? a)4 b)5 c)None d)can not compile Ans: 5 2. what is the wrong in the following program? #define LBRACKET { #define RBRACKET } #define MAIN main int LBRACKET int x=2; printf("%d",x); RBRACKET a) This program will compile b) compilation error 3. #include int main() { int x=4; { { { int x=2; printf("%d",x); } } } } a) 4 b)2 c)Nesting not allowed d)dependent on the compiler 4. Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile? a) Compilation Error b) Strings are allowed in c but cannot be assigned directly. c) dependent on compiler d) will work fine. 5. the expression a+b*c should be conveted to +a*bc. Using tree structure, Which traversal is the correct one? a) Postfix traversal b) prefix traversal c) infix traversal d)None 6. what about brk, sbrk a) system calls b) function calls c) user defined functions 7. Why the use of alloca() is discouraged? 8. Macros support multiple arguments ? 9. the header file a) contains only compiler directives and extern variables b) contail only structures and unitions c) a & b 10. what about "char *(*(*a[])())();" these are the questions of technical paper conducted by oracle this saturday .the code of the paper is qp-9. i have tried to recollect as much as i can.Certain questions are incomplete.the total no. of questions were 30. 1. precedence of PL/SQL 2.in an employee table consisting of empid and supid to get supervisor id for employee (something like this related to ans. self join) we would use Intersect union join subquery 3.The order of execution in corelated queries Inner query executes first then outer query Outer query executes first then inner query each row of inner query is evaluated with outer query each row of outer query is evaluated with inner query 4.declare i Number j Number k Number begin i:=0 for j = 1..5 i:=i+1; j:=j+1;k:=i+j+k; .......... 5.function of ROLLUP and CUBE 6.Based on Group by clause rule that it should contain column found in select clause 7.Can procedure in a package be overloaded 8.public void static main(String []args) { String s1=new String("test"); String s2=new String("test"); if(s1==s2) System.out.println("Both are equal"); Boolean b1=new Boolean("true"); Boolean b2=new Boolean("false"); if(b1.equals(b2)) System.out.println("some message"); } output=? 9. x=7; y=0; if(x=y)y=7; else y=5; what is the value of y 10.Threading in java a prg was given in which it had no exceptions and run function had string as its parameter a.runtime error b.compile time error c. d. 11.what fuction can be repeated instead of comment .... { public void aMethod(String S,int i); //here .... } a.public void aMethod(int i ,String S); b.public void aMethod(String myobj,int j); c.public int aMethod(String S,int i); d.public void AMethod(String S,int i); 12.Encapsulation is implemented by a.private variables and public methods b.private variables and private methods c.public variables and public methods d.protected members 13.Based on scope of a variable 14.Recursive fuction are used to a.call itself b.call other functions c.return integers d.... 15. int a[]={0,1,2,3,4,5} int *pa=a; which of the following is not the correct way to access a.a[5] b.*(a+5) c.*(pa+5) d.*(*pa+5) 16. struct{ char emp[12]; int mpno; }e; struct e a[2]={{jack,2},{raj,8},{jill,2}} struct e *p; *p=a;p+=2 ...... 17.AVL tree is a balanced binary search tree 18.order of B+tree 19.Disadvantage of indexed sequential file 20.queue can be called as full even if its capacity is'nt |
| | |
![]() |
| Tags |
| oracle , paper , placement |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| which course is better in oracle | linas | ORACLE , SQL SERVER , SYBASE & Others | 7 | 24-08-08 01:04 PM |
| ORACLE India - Walk-In For BSc and BCA freshers of 2005 & 2006 (0-2 yrs.) | sridhar | Walk-ins | 2 | 04-08-08 10:49 PM |
| INFOSYS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 2 | 14-04-07 02:22 PM |
| ORACLE placement paper 5a | sridhar | ORACLE Placement Papers | 0 | 09-02-07 06:39 PM |
| CTS 2006 PLACEMENT PAPERS | sridhar | Companies Info & Recruitment Process | 0 | 09-10-06 05:24 PM |
| More Interview Questions Here... |