Placement Papers - ORACLE

Why ORACLE Placement Papers?

Learn and practice the placement papers of ORACLE and find out how much you score before you appear for your next interview and written test.

Where can I get ORACLE Placement Papers with Answers?

IndiaBIX provides you lots of fully solved ORACLE Placement Papers with answers. You can easily solve all kind of placement test papers by practicing the exercises given below.

How to solve ORACLE Placement Papers?

You can easily solve all kind of questions by practicing the following exercises.

ORACLE PLACEMENT PAPER-2003 (TECHNICAL-C)

Posted By : Pradip Somase Rating : +11, -3

PAPER: ORACLE PLACEMENT PAPER-2003 (TECHNICAL-C)
 
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 MAIN()
 
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 snippet
 
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) contain only structures and union
 
c) a & b
 
10. what about "char *(*(*a[])())();"

Like this page? +11 -3




Companies List:

3i Infotech - AAI - ABACUS - ABB - Accel Frontline - Accenture - Aditi - Adobe - ADP - Agreeya - Akamai - Alcatel Lucent - Allfon - Alumnus - Amazon - Amdocs - AMI - Andhra Bank - AppLabs - Apps Associates - Aricent - Ashok Leyland - Aspire - Atos Origin - Axes - Bajaj - Bank of Maharashtra - BEL - BEML - BHEL - BirlaSoft - Blue Dart - Blue Star - BOB - BPCL - BPL - Brakes - BSNL - C-DOT - Cadence - Calsoft - Canara Bank - Canarys - Capgemini - Caritor - Caterpillar - CDAC - CGI - Changepond - Ciena - Cisco - Citicorp - CMC - Consagous - Convergys - CORDYS - Crompton - CSC - CTS - Cummins - Dell - Deloitte - Delphi-TVS - DeShaw - Deutsche - Dotcom - DRDO - EDS - EIL - ELGI - ELICO - ERICSSON - Essar - Fidelity - Flextronics - Freescale - FXLabs - GAIL - GE - Genpact - Geodesic - Geometric - Globaledge - GlobalLogic - Godrej - Google - Grapecity - HAL - HCL - Hexaware - Honeywell - HP - HPCL - HSBC - Huawei - Hughes - IBM - IBS - ICICI - iGate - Impetus - iNautix - Indian Airforce - Indian Airlines - Infosys - Infotech - Intec - Integra - Intergraph - IOCL - iSOFT - ISRO - Ittiam - JSW - Keane - Kenexa - L & T - L & T Infotech - LG Soft - Lifetree - LionBridge - Mahindra Satyam - Mastek - Maveric - McAfee - MECON - Microsoft - MindTree - Miraclesoft - Mistral - Motorola - Mphasis - MTNL - NIC - Nokia Siemens - Novell - NTPC - Nucleus - ORACLE - Patni - Perot - Polaris - Ramco - Robert Bosch - Samsung - SAP - Sapient - Sasken - SBI - Sierra Atlantic - Sonata - Sony India - Sutherland - Syntel - TCS - Tech Mahindra - VeriFone - Virtusa - Wipro - Zensar.