Juniper Networks Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

If the corruption was a wild value, I would most likely set a watch point which would watch stop the program for values outside what I considered a normal range for values in the structure.

- Anonymous May 04, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Little too subjective a question to answer

in my experience I never knew where the corruption was until it really made a mess ( a crash ), some times used to get core files with a little bit of stack trace and sometimes ( most occasions where I used to bang my head ) just core with absolutely no stack trace what so ever

and this is what it looks like
??
??
??

any way selection of frames in the core and printing the values carefully gives certain Idea on corrupted values but really what caused the corruption is again a mystery, solution of which depends on quite a few other factors like

reproducing the corrupt memory in test lab
using valgrind for better leak detection (a really good tool when it comes to identifying the corruptions)
most importantly read the code

suddenly i thought my answer is quite out of topic so here is a quick answer
we can see the corruption after the program actually corrupted by using print in gdb which probably say <invalid memory address>

P.S - use valgrind first and then if program crashes then gdb there is no gdb without crash

- Anonymous January 04, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
1
of 1 vote

Idiot, What did u want to prove ? that u know "lmgtfy" ?

- anonym September 26, 2009 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

idiot.what is this. u want do joke.

- gce.durai December 17, 2012 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More