nikhilboorla Posted April 9, 2013 Report Posted April 9, 2013 [b]Please help me with the following questionaire.I need to submit to client by tonight.Please give your answers as soon as possible.[/b] [b]Question1:[/b] a) When is a Document.ready() function called in JQUERY? Consider the following code: <html><body> [b]<form:form method="post" action="formsubmit" id="demoform"> [/b] [b] <input id="inputField" type="text" size="12"/>[/b] [b] <input type="button" id=”Button1” value=”ShowValue” />[/b] [b] <input class="submit" type="submit" value="Submit" />[/b] [b]</form>[/b] </body></html> Write a function in document.ready which would alert the value of the input field when the button “[b]ShowValue[/b]” is clicked. c) Create a validation rule in document.ready which would check if the inputfield text box has some text when form submit is clicked. [b]Question2:[/b] There is a legacy application which does the job of parsing and importing log file contents to a DB. All activities of the application are logged. The application processes millions of files per day and has multiple threads working simultaneously. One particular day, you find that the application is no longer parsing and importing files to the DB. How do you approach to find the root cause of the problem? [b]Question3:[/b] Write a simple GWT application which sets/unsets label text when a button is clicked repetitively. (Only the Java class is sufficient) [b]Question4:[/b] You have been entrusted with the task of creating a parking lot application. These are the conditions: a) There are slots by vehicle types like car, truck, bike etc The slot has a different amount based on the vehicle type. The application has to: a) Keep track of empty slots by type Keep track of time each slot has been occupied. c) It has to be notified when a slot is empty Design n parking lot application in an Object oriented way. Use class diagrams to depict object hierarchy. Use sequence diagrams to explain flows. (In addition, a brief point based explanation of flow would be great) [b]Question5[/b] There is a typical banking application which allows a user to do inter-bank transfer. Once user enters details of transfer, he pushes the transfer button. The bank has identified a potential risk of the user pressing the transfer button twice sending 2 identical requests to the server. You are entrusted the task of making sure this risk is mitigated. What possible solutions can you come up to the problem? [b]Question6[/b] There are 7 identical pool balls in size and weight. However, it was detected that one of the balls weighs more. A see-saw weighing scale has been provided to check if 2 balls are identical in weight. Using only 2 weighing’s, how can you identify the abnormal ball. [b]Question7[/b] A Pizza Company has approached you to help them create a robust pizza building solution. They are starting off with [indent=1]- New York Style Pizza[/indent] [indent=1]- Veggie Lovers Pizza[/indent] The pizzas are available in the following crust – Pan, Thin. You have to make sure that the design is robust and flexible. How would you go around building them using design patterns?
randomguy Posted April 9, 2013 Report Posted April 9, 2013 [quote name='pinky123' timestamp='1365541958' post='1303573350'] [/quote]
Recommended Posts