Bloomberg LP Interview Question for Financial Software Developers






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

I wouldn't be surprised if they asked you
"what exceptions are thrown by the functions in Clause 28.8 to report errors?"

- anonymousse December 01, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

LOL.. i bet you just made a couple bloombergers spend time (effectively bloomberg's money) on searching for what is clause 28.8. (I did too)

- blueskin.neo December 01, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

ya... a typical bloomberg interview... not so different from what I had and what I heard.
if you read herb sutter's books then you can easily crack bloomberg's interviews, its probably a bible for them.lol
They are less concerned about how smart you are. all they want how much do you know about the language or technology

- Synonymous December 01, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Why do we need a private constructor?

It is used to stop creating instance directly through "new" like classA aObj = new classA(); from another class.
As the constructor is private it will through compile time error.

So in this case we can create a static method say .getInstance() where we can initialize the class
static classA getInstance() {
classA obj ;
if(obj == null) {
obj = new classA();
}
return obj;
}

Exactly as we name this as singleton pattern
en . wikipedia . org / wiki / Singleton_pattern

The disadvantage which i feel this has that it will always be existing in the heap and can never be garbage collected as the reference always exist once created.

So kind of good only if you know you are going to use this object at all places example the DB Connection object.
www . theserverside . com / discussions / thread . tss?thread_id=28184

- Anonymous December 03, 2010 | Flag Reply


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