Interview Helper
Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese
  Number Times Read : 44      
  Go To Article# :  1 2 3 4 5  
Categories

Campus Interviews (99)
Career Helper (6)
Certification Dumps (9)
Code Samples (8)
Competitive Exams (49)
Interview Questions (349)
Walkin Interviews (20)
 
Stats
Total Articles: 566
Total Authors: 120
Total Downloads: 92864


Newest Member
Gagan Deep Sharma
 


   

Oracle Placement Paper 3

By : Nisha Sahni    29 or more times read
Submitted 2008-08-16 05:55:36 [Valid RSS feed]




Given a square matrix which consists only of 1 and 0......find which rows,which cols and which diagonals consist entirely of 1's.

Given an array of integers find all possible combinations of the numbers whose sum equal to 90.....
ans : knapsack problem (in data structures - aho ullman)

Note : for them solution was not the criteria.......but the approach was important......the solution
should be generalised and optimized........optimization was given the top priority........

Technical Papers

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 const 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

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

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?
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">Special: How the year passes away? Can u imagine a question related to this? January - Jan, February - Feb, March, April, May, June, July, August - Aug, September - Sep, October - Oct, November - Nov, December - Dec.

Author Resource:-
Article From Interview Helper
New Members
select
Sign up
select
learn more
Affiliate Sign in
Affiliate Sign In
 
Nav Menu
Home
Login
Submit Articles
Submission Guidelines
Top Articles
Link Directory
About Us
Contact Us
Privacy Policy
RSS Feeds

Actions
Print This Article
Add To Favorites

 
Sponsors

 

 

All Rights Reserved Interview Helper