Bloomberg LP Interview Questions
- 0of 0 votes
AnswersThe private member in derived class
- WinXP July 16, 2010
Answer: Can be inherited only if the derived class is inheriting from base class with private access level
This is an on-line test. I don't know what the answer means.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswerUsing pointers to call a function is called as Answer: call by reference
- anonymous July 16, 2010
This is a multiple-choice question from on-line test. The statement above is a correct answer but I don't know why it is called call by reference.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersThe private member in derived class can be inherited only if the derived class is inheriting from base class with private access level
- anonymous July 16, 2010
This is a multiple-choice question from on-line test. The statement above is a correct answer but I don't know what it means.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswerUsing pointers to call a function is called as Answer: call by reference
- anonymous July 16, 2010
This is also multiple-choice question from on-line test. Anyone knows why it is called call by reference?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersThe private member in derived class can be inherited only if the derived class is inheriting from base class with private access level.
- anonymous July 16, 2010
This is a on-line test. The statement above is a correct choice. But I don't understand what it means.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersA Jar
- Siva July 15, 2010
A fly that replicates at 1:2 (One fly becoming 2}
Takes a minute for replication.
If the jar is filled(100%) in 60 Mins.
At what time it will be filled with 75%.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersB-Trees
- Siva July 15, 2010
- Their Structure
- Search Complexity| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Data Structures - 0of 0 votes
AnswersC++ Variable Scoping
- Siva July 15, 2010
- Local
- Global
- Dynamic| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer C++ - 0of 0 votes
AnswersWhat is stack. what are the things that go in stack and in which order??
- asd June 26, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat are zombie processes. how can we create a zombie process.
- asd June 26, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersAsked about zombie processes. What happens underneath when a unix shell executes a command in background (e.g., "gcc foo.c &")
- callbacker June 25, 2010
(Hint: we talked about SIGCHLD signal, signal handler, waitpid, return value of a process, etc)| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersWhat is bridge pattern? Asked me to write skeleton of bridge pattern.
- callbacker June 25, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersThere are different types of GUI themes, and there are different types of buttons. When a user pushes a button, its outcome depends on the type of GUI theme selected, and the type of button pressed. Discuss your design approach.
- callbacker June 25, 2010
(Hint: double dispatch)| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersAsked a design problem where observer pattern fits perfectly.
- callbacker June 25, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersAsked about RAII, auto_ptr, shared pointer.
- callbacker June 25, 2010
Can we have containers of std::auto_ptr?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersWhats the use of reserve() method in vector? How does vector compare to a deque in terms of performance of push_back()'s.
- callbacker June 25, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersLets say you have a unix shell, and you type a unix command, say, for example "ls". What happens at the system level? (basically asking about fork() and exec() )
- callbacker June 25, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answers1. A* a=new A();
- Xinyu Huang June 22, 2010
2. A b;
A *c=&b;
What is the difference between 1 and 2?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
Answersvoid foo(A a){}
- Xinyu Huang June 22, 2010
A* a =new A();
foo(*a);
A b=*a;
b=*a;
How many copy ctors of class A are called?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersYou have 1 white & 1 black container. White container contains 3 white balls and black container contains 4 black & 1 white ball. You remove one ball from black container and put it in white container. Now when you pick one ball from white container, what is the probability that it's a white ball.
- sum June 19, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Probability - 0of 0 votes
Answershow do you find the shortest distance (find a formula) for two points on the opposite vertices of a cube (shortest distance is actually sqrt(3) but can't cut through interior, must go along surface of cube)
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
Answers8 ball question with a 9 ball variation. don't know if ninth ball is lighter or heavier (max 3 weighings).
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 1of 1 vote
Answershow would you create the index for a book
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
Answers3 ants are on different vertices of an equilateral triangle and can walk along the edges to any other vertex. what's the probability that any 2 of them will collide
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersReverse an array of char in place.
- ekinrf June 04, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
AnswersFind the first unique number in an array of char.
- ekinrf June 04, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm