Bloomberg LP Interview Question for Financial Software Developers






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

1) Static vars ==> From DS memory of the proces
2) Straight forward
3)nope. Some extra mem is required for housekeeping
4)static from DS and local from stack
5) Straight forward

- days September 14, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

What does DS stand for?

- Anonymous November 16, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Data Segment

- Jinai November 26, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. From which memory do static variables get allocated??
data segment

2. Indirectly asking about virtual destructor?
balabala

3. If u have 1K as ur heap memory can a call to malloc(1 K) succeed??
no

4. what is the difference between static variable and local variable?
balabala

5. Hash a string of length 100 ? he was asking me a hash function?
simple hash, just divided by the size of hash table.

- Anonymous October 13, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Static var not in data segement .Data segment only for global variables . in factr there is adiffrent segment for it .Read some of Rational's documentation ...

- Arindam March 13, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

all uninitialized global and static goes into bss segment ( gets init to zero )
all initialized global and static goes into data segment.

- Anonymous November 17, 2009 | 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