Java - Interview Questions and Answers for 'Alibaba' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2137 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



Alibaba


   




Interview Questions and Answers for 'Alibaba' - 5 question(s) found - Order By Newest

 Q1. Difference between Factory and Strategy Design Pattern ?Design
Anonymous
Ans. Factory is a creational design pattern whereas Strategy is behavioral design pattern. Factory revolves around the creation of object at runtime whereas Strategy or Policy revolves around the decision at runtime.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   design pattern   factory   strategy   creational design pattern   behavioral design pattern     Alibaba      expert


Frequently asked in Alibaba (Based on 2 feedback)
 Q2. What is the best Memory setting for JVM ?Core Java2016-12-13 10:18:56

 This question was recently asked at 'Alibaba'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     jvm  memory management  jvm best memory setting     Alibaba      intermediate


 Q3. Design an online shopping site system ?Design2016-12-13 11:06:10

 This question was recently asked at 'Alibaba'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          Alibaba


 Q4. Difference between relational databases and NoSQL databases ?Database2016-12-13 11:06:42

Ans. https://www.mongodb.com/scale/nosql-vs-relational-databases

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     database management  nosql database  relational database     Alibaba        frequent


 Q5. How would you process a 20 gb file with an application only having access to 4gb memory ?BigData2016-12-13 11:07:23

Ans. Load the file in chunks and then process. If we need to do analytic, we can process analytic information for those chunks and then reprocess the processed information from each chunk.

For example - we need to average all marks in the file. We can divide the file and load into 5 chunks and calculate average for each chunk. Then we can collect averages for all 5 chunks and then calculate the final average.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     bigdata  processing big data     Alibaba




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

1 person from Ashburn are looking for questions for 'Alibaba'. Connect with them to better prepare for your interview.Click here and post a message

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: