SUN Placement Exam Test Questions are provided below:
Showing samples of the actual programs for the sun placement tests:
1. main()
{
int _=10;
printf(“%d”,_);
}
2. If you have developed an microprocessor by name JUGGI, how would you account for the JVM ?
a) Write/ Develop a new JVM by going through the SUN standards
b) Implement the same JVM that’s in windows , linux as JVM is platform independent.
c) Leave it to the SUN to write it for you
d) Need not write anything
sample questions and problems for sun developers placement – employment test / recruitment exam
3. Which server would you use to configure or set up a new IP address in Linux
a) DNS b) DHCP c) TCP d) …
4. Three friends divided some bullets equally. After all of them
shot 4 bullets the total no.of remaining bullets is equal to that of
one has after division. Find the original number divided. [Infosys paper & IBM]
shot 4 bullets the total no.of remaining bullets is equal to that of
one has after division. Find the original number divided. [Infosys paper & IBM]
a) 20 b) 22 c) 18 d) 19
5. A cube object 3″ * 3″ * 3″ is painted with green in all the outer surfaces. If the cube is cut into cubes of 1″*1″*1″, how many 1″ cubes will have at least one surface painted. [Caritor]
a) 8 b) 26 c) 27 d) None of the above
6. What is the protocol used for getting the physical address by supplying
IP address of a node ? [Wipro]
[i] ARP [ii] RARP [iii] BOOTP [iv] DHCP
IP address of a node ? [Wipro]
[i] ARP [ii] RARP [iii] BOOTP [iv] DHCP
7. How can a process be started automatically in UNIX ? [MBT]
a) CRONTAB b) INITTAB c) CONTROL d) FORK
8. Flow chart problem [Satyam]
let the value of N be 10
divide N by 10 to give quotient (Q) remainder(R)
diff=R-Q
if diff=1 then 6
go to step 7
display the value of N
add 1 to N
if N <100 go to step 2
the above logic will produce
divide N by 10 to give quotient (Q) remainder(R)
diff=R-Q
if diff=1 then 6
go to step 7
display the value of N
add 1 to N
if N <100 go to step 2
the above logic will produce
a) 11,12,13,14.. b)12,23,34,…. c)21,32,4,354…. d) none
9. What is the output of the Program? [Sasken]
#define SQ(x) x*x
main()
{
int a=SQ(2+1);
printf(“%d”,a);
}
#define SQ(x) x*x
main()
{
int a=SQ(2+1);
printf(“%d”,a);
}
a) 5 b) 6 c) 7 d) None
Such problems are given in the written test part of the sun placement papers and you have to find the correct output or in the technical interview, there can be a question in which you may have to find out the error.
10. There N stations on a railroad. After adding X stations on the rail route 46 additional tickets have to be printed. Find N and X. [Sify]
a) x=2 and N=11 b) x=2 and N=12 c) x=2 and N=13 d) x=3 and N=11
Also see Sun Placement Test Paper Pattern
11. How is an Non-maskable interrupt handled
a) The current program is executed & then handles the NMI
b) Handles the NMI first & then continues with the execution
c) Handles the interrupt based on the priority
d) Ignores the interrupt & continues with the program.
12. Problems like
If QWERT means 2513678397849 what does [some word] equal to ?
13. Simple program on fork system call
14. Simple problems on inheritance [Java]
15. Simple string assignment problems
16. If 8 butts of cigarette make 1 cigarette then how many will 64 butts make ?
Ans : 8
17. ICMP is used where
a) ICMP supports packets containing error, control, and informational messages.
b) The Ping / Command execution.
c) a&b both
Coming Soon: More Server side, client side program technical questions and server setup related latest 2008 questions.