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?
536What 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?
343You 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?
373Which 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.
434How would add new Facebook members to the database of members, and code their relationships to others in the database?
368You 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
What is the difference between $(window).load and $(document).ready?
How do I connect outlook to my email server?
Mention what are the benefits for sap applications?
How do I debug weblogic server using visual cafe 4.1? : BEA Weblogic
What are j2ee concepts?
Advantages and limitations of declare page?
what should be the research and methodology of business taxation?
How secure is apache server?
Will chkdsk repair corrupt files?
3.2 Consider the following class: public class Point { protected int x, y; public Point(int xx, int yy) { x = xx; y = yy; } public Point() { this(0, 0); } public int getx() { return x; } public int gety() { return y; } public String toString() { return "("+x+", "+y+")"; } } Say you wanted to define a rectangle class that stored its top left corner and its height and width as fields. 3.2.1 Why would it be wrong to make Rectangle inherit from Point (where in fact it would inherit the x and y coordinates for its top left corner and you could just add the height and width as additional fields)? (1) 8 Now consider the following skeleton of the Rectangle class: public class Rectangle { private Point topLeft; private int height, width; public Rectangle(Point tl, int h, int w) { topLeft = tl; height = h; width = w; } public Rectangle() { this(new Point(), 0, 0); } // methods come here } 3.2.2 Explain the no-argument constructor of the Rectangle class given above. 3.2.3 Write methods for the Rectangle class to do the following: • a toString() method that returns a string of the format "top left = (x, y); height = h; width = w " where x, y, h and w are the appropriate integer values. • an above() method that tests whether one rectangle is completely above another (i.e. all y values of the one rectangle are greater than all y values of the other). For example, with the following declarations Rectangle r1 = new Rectangle(); Rectangle r2 = new Rectangle(new Point(2,2), 1, 4); the expression r2.above(r1) should give true, and r2.above (r2) should give false. (You can assume that the height of a rectangle is never negative.) (2) (5)
Tell something about history of NABARD?
How to create a user name in a database?
Explain about the debugging tools like clipboard, tracer etc?
What are the exception filters in mvc?
Why use internet access as the client for PeopleSoft application?