Subscribe:Posts Comments | Read Articles on Various Topics - Pro Articles

You Are Here: Home » Oracle Test Papers, Sample Placement Papers » Oracle Placement Paper Programs

Oracle Campus Interview Conducted in Surathkal on 11th July -2003 Placement Paper

The placement Test was of 1 hour 30 questions. g aptitude and 30 of technical. 15 questions from arithmetic and rest 15 logical, statement interpretation, arrangement, tense correction, etc.

Given a square matrix which consists only of 1 and 0. Find which rows, which columns and which diagonals consist entirely of 1′s.

You have an array of integers. Find all possible combinations of the numbers whose sum is 90.
Answer: knapsack problem (in data structures – aho ullman)

Note : The problem solving approach is more important that the answer. Optimization is given the top priority.

Oracle Technical Question Paper section:

A program:

const int MAX=10;
main()
{
enum a {a,b,MAX};
print MAX;
}
ans. 2

enum variable is a const variable which can only be assigned a value at initialization or a non constant variable which can be assigned any value in the middle of the program?
ans. const variable

void *p; what operation cannot be performed on p? ans : arithmetic operation unless it is properly typecasted

char **p=”Hello”;
print p,*p,**p
ans. Hello (null)
warning: suspicious pointer conversion

Another program:

main()
{
char str[]=”Geneius”;
print (str);
}
print(char *s)
{
if(*s)
print(++s);
printf(“%c”,*s);
}
ans. suiene

What does the function fcloseall() does ?
ans. fcloseall() closes all open streams except stdin,stdout,stderr,stdprn and stdaux

The oracle placement papers test real program approach and technical ability in the questions. So be better prepared.

Program:
main()
{
printf(“Genius %d”,fun(123));
}
fun(int n)
{
return (printf(“%d”,n));
}
ans. 123genius3

difference between definition and declaration. ans. definition once while declaration more than once

find the error in the program
main()
{
void fun();
fun();
}
void fun()
{
int i=10;
if(i<10) a=”9,b=”5,c=”3,d;” d=”(b-c)<(c-a)” 1=”?” i=”4;” i=”i/4);” cols=”?” size=”5″>

See more oracle placement test question papers and hr, technical / tech interview questions with GD group discussion topics and tips totally free online for latest 2007 2008 papers only on LatestExams.com   Good luck!  Do post your papers on the site or email us.

Related Posts

Leave a Reply

© Copyright 2010 Latestexams. All Rights Reserved | Privacy Policy | Terms & Conditions