How will you test that there is increased probability of a user to stay active after 6 months given that a user has more friends now?
533What is the probability of pulling a different shape or a different colour card from a deck of 52 cards?
323You can roll a dice three times. You will be given $X where X is the highest roll you get. You can choose to stop rolling at any time (example, if you roll a 6 on the first roll, you can stop). What is your expected pay-out?
339You are at a Casino. You have two dices to play with. You win $10 every time you roll a 5. If you play till you win and then stop, what is the expected pay-out?
371Which technique will you use to compare the performance of two back-end engines that generate automatic friend recommendations on Facebook?
457You have two tables-the first table has data about the users and their friends, the second table has data about the users and the pages they have liked. Write an SQL query to make recommendations using pages that your friends liked. The query result should not recommend the pages that have already been liked by a user.
433How would add new Facebook members to the database of members, and code their relationships to others in the database?
367You are given two tables- friend_request and request_accepted. Friend_request contains requester_id, time and sent_to_id and request_accepted table contains time, acceptor_id and requestor_id. How will you determine the overall acceptance rate of requests?
354Post New Facebook Interview Questions
How will you handle java tree in qtp?
What is cell reference in excel?
hii exparts plz give me one example of business process of a company..plz plz.... kumarcrm11@gmail.com
What is normalization, first normal form, second normal form, third normal form?
What is the use of :: in java?
What are the difference between of the “HDFS Block” and “Input Split”?
How do you assess a patient's medical history, physical condition, and laboratory results to determine their suitability for anesthesia and surgery?
How can the users return to any particular area of a worksheet?
Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation
Is there a SourceSafe developers guide?
how will one take the order of fmcg products from one's distributor,when he has a stock of Rs 2 lakh AND monthly sales of product is of Rs 25000/-only?
Will upgrading to windows 10 delete files?
How do I project a slideshow on my laptop?
Expand HTML,DMA,FAT,LAN,WAN,FDD etc
how do I determine when the daos catalog needs resync?