SUN MICROSYSTEMS PAPER - JUNE 2006

Answer Posted / prashant swamy

60 questions 60 marks
Everything is multiple choice. NEGATIVE MARKING .

Section 1 : Operating Systems 20 questions
Section 2 : Technical Programming 25 questions
Section 3 : Aptitude 15 Questions

Section 1 : Operating Systems

all the unix commands & some basic networking concepts like DHCP, Dynamic
NAT, RARP, ARP, UDP, DNS. Unix : Grep, sed, basic perl program whose o/p
is to be predicted. Pipes.

Section 2 : Programming part

C programs & Java programs. Programs were on Fork, PID, Basic C syntax,
Basics of Java, Exception handling, Inheritance, Strings, Cast conversion,
Object linking etc .


Section 3 : Aptitude

Most of the questions can be found from other placement papers like
Sonata, TCS, Caritor.

The cut-off marks will be decided by the evaluators at that time. The
next rounds are technical interview followed by HR interview. This
interview call was purely on referral basics.




Questions:

# main()
{
int _=10;
printf("%d",_);
}

# 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

# Which server would you use to configure or set up a new IP address in
Linux
a) DNS b) DHCP c) TCP d) blah blah blah .....

# 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.
a) 20 b) 22 c) 18 d) 19

# 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.

a) 8 b) 26 c) 27 d) None of the above

# 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

# How can a process be started automatically in UNIX ?
a) CRONTAB b) INITTAB c) CONTROL d) FORK

# 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
a) 11,12,13,,14.. b)12,23,34,..... c)21,32,4,354...... d) none

# What is the output of the Program?
#define SQ(x) x*x
main()
{
int a=SQ(2+1);
printf("%d",a);
}
a) 5 b) 6 c) 7 d) None of the Given Answers

# 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.
a) x=2 and N=11 b) x=2 and N=12 c) x=2 and N=13 d) x=3
and N=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.


# Problems like
If QWERT means 2513678397849 what does [some word] equal to ?

# Simple program on fork system call

# Simple problems on inheritance [Java]

# Simple string assignment problems

# If 8 butts of cigarette make 1 cigarette then how many will 64 butts
make ?
Ans : 8

# ICMP is used where
a)ICMP supports packets containing error, control, and informational
messages.
b)The Ping / Command execution.
c)a&b both

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

3901


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

1601


What were the occupations of the people who lived within the Mauryan Empire?

587


Recently conducted Apptitude test

1413


i want the sample placement paper of goldman sachs urgently. please send it to me

3931






What are the frequently asked questions for interview in capital iq company ?

1330


what is bidirectional?

1395


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?

607


speak 1min on topic Travelling,memorable moment ,memorable day?

1743


my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef output file: 8765_____ abc*$#1___ 1_2_3_4__ cdef____ghi h_k_z_a__ a_z_k_h___ ihg____ghi 4_3_2_1___ 1#$*cba__ ______5678 fedcb4321

1300


email me previous question papers of bob bank for po exams

2066


how did you celebrate your last birthday?

1281


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.

1426


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

1150


why didn't get placed so far?

1198