SUN PLACEMENT PAPERS --------------- Placement Paper 1
Answer Posted / guest
SUN Placement Papers | SUN Interview Procedure | SUN
Aptitude Questions | SUN TechniSUNl Questions | SUN
Interview Questions
1.struct XXX
{
int a;
float b;
char *s;
}X;
If optimization :X not used in compiler then un used
bits_________________. give your
assumption_______________.
2.struct XXX
{
int a:6;
float b:4;
char s;
}structure;
size og (structure);
3.class used for the multiple inheritence in
yava_________________
(a) Anonymous class
(b) inner class
(c) abstreet class
(d) none
4. XDR fixes in which part of OS1 stack.
5. LDAP is____________service protocol.
6. Given definition for a function which returns a array of
pointers with
argument of int*.
7.Give a function declaration with no arguments which
refers a two dimensional
array
8.Pick up the correct function declaration.
1.void *[] name();
2 void int[][] name();
3 void ** name();
4 none of the above.
9.Give the difference between monolithic and microlithic
kernal:
a mololic large
b micro used in embedded systems.
c.none.
10.rPC coresponds to_______________in OSI stack.
SUN Placement Papers | SUN Interview Procedure | SUN
Aptitude Questions | SUN TechniSUNl Questions | SUN
Interview Questions
11.find the no.of page faults using LRU stack.
eg.3 4 4 6 7 8 1 2 .. ..
12.the inorder representation of a tree 41523 and preorder
is 211513 Draw it?
13. when does a stack member will be initialised
(a) when object is created
(b) when object is initialised.
(c) doesnot depend on object.
(d) none.
14 no.of CPU in a multiprocess is contrassed by
(a) RISC nohere of CPU
(b) memory
(c)___________
(d)_____________
15 main()
{
char *s;
s="hot java";
strcpy(s,"solarrs java")
}
16 main()
{
printf("hot java");
fork()
exit(0);
}
1. when redirected to a sreen what will be printed.
2 when redirected to file what will be printed.
17.main()
{
int ret;
ret=fork();ret=fork();ret=fork();ret=fork();
if(!ret)
printf("sun");
else
printf("solaris");
how many sun 4 solaris will get printed
18. main()
{
char *p='a';
int *i=100/*p;
}
what will be the value of *i= 1
1.03
cannot be defined.
19 which data structure gives efficient search
1 B-tree
2 binary tree
3 array
4 linked list
20. struct point
{
struct point *next;
int data;
}x;
main()
{
int i;
for(x=p;x!=0;)
x=x->next,x++;
freelist(x);
}
freelist(x)
{
free(x);
return
}
find error?
SUN Placement Papers | SUN Interview Procedure | SUN
Aptitude Questions | SUN TechniSUNl Questions | SUN
Interview Questions
21. mutex and _________are similar locking mechanisms.
22.nextt question on from pointers and functions( highfy)
take care.
23. SNMP and SMIP transport layer protocols for TCP/IP&OSI.
24 unix : difference between select and poll
interview questions were mainly on data structures,
computer architecture ( very imp) , os and networks
SUN Placement Papers | SUN Interview Procedure | SUN
Aptitude Questions | SUN TechniSUNl Questions | SUN
Interview Questions
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
why didn't get placed so far?
What were the occupations of the people who lived within the Mauryan Empire?
Sks Microfinance
my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef abc*$#1___ cdef____ghi a_z_k_h___ 4_3_2_1___ ______5678 output file: 8765_____ 1_2_3_4__ h_k_z_a__ ihg____ghi 1#$*cba__ fedcb4321
i want the sample placement paper of goldman sachs urgently. please send it to me
Do we have vacancy for HR RECRUITER ?
Danlaw placement questions and answers
A frog wants to climb a pole which is 15 feet in height, frog can jump 3 feet every minute after which he rests for a minute where he slips down 2 feet. How much time will the frog take to reach the top of the pole?
your project to describe and tell about : 1. My favorite things 2. My favorite places at home 3. Animals *Choose one of them to describe *Write on your paper *If you done, Send me *Did you get it
What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.
What are the frequently asked questions for interview in capital iq company ?
printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output
what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region
HI SIR I WANT PREVIOUS QUESTION PAPER OF HPCL I M CHEMICAL ENGG.
Hi.. Guys Im pranitha, presently im working in a organisation & im look for job at MNC's like DELL, Delloitte, Bank of America, Genpect, etc., I have completed B.com . Pls help me...