Sunday, September 7, 2008

SUN Microsystems Sample Technical Questions

Here are some sample technical / tech questions from Sun Microsystem India Placement Paper

A program is given and a questions is asked:
1. For the following program.
struct XXX
{
int a;
float b;
char *s;
}X;If optimization :X not used in compiler then unused bits_________________.Give your assumption_______________.

Questions for finding output of programs:
2. Give the output of the following program
struct XXX
{
int a:6;
float b:4;
char s;
}
structure;
size of (structure);

Now, as you must be already familiar that JAVA related interview questions are most important for SUN Technical Written Test.

Again a Java language multiple choice type question:
3.Class used for the multiple inheritence in JAVA______
(a) anonymous class
(b) inner class
(c) abstreet class
(d) none

4. Which portion of the OS does the XDR fix?
The answer is stack

5. LDAP is_______service protocol.

6. Give a definition for a function which returns an array of pointers with argument of int*.

Arrays is an important topic.
7. Give a function declaration with no arguments which refers a two dimensional 2D array


8. Pick up the correct function declaration.
1. void *[] name();
2. void int[][] name();
3. void ** name();
4. None of these

9. Distinguish between monolithic and microlithic kernal: Pick the right one.
a. monolithic large
b. microlithic used in embedded systems.
c. none.

10. rPC coresponds to_______in OSI stack.

11. Find the number 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?

Now as you can see there are many sample Java related Interview and technical test question papers available here. So keep yourself updated with the latest questions asked about java language for engineers and developers.

No comments: