Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Need scenario based interview questions

 
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am a j2ee developer with 4 year of experience.I want to prepare for interview.Does anyone knows scenario based java/j2ee/database interview questions on the internet?please provide me the pointer if any body knows.

Thanks
Raj
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shouldn't your 4 years of experience have prepared you for most questions you are likely to encounter? Assuming you were truthful in stating your qualifications, you shouldn't get too many questions that are outside of your area of expertise. And those that are, well, you can't fake those convincingly anyway.
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by raj malhotra:
Hi I am a j2ee developer with 4 year of experience.I want to prepare for interview.Does anyone knows scenario based java/j2ee/database interview questions on the internet?please provide me the pointer if any body knows.

Thanks
Raj



You should'd be asking this when you claim that you are 4+ years experienced.
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a friend with 10 years of experience who turns to me for interview help. She's been wit one company since college and while very competent in her job, is a little uncertain and insecure when it comes to interviews.

Someone may be a competent developer, but may not be comfortable or experienced in interviews and may be looking for information before interviewing.

--Mark
 
Author
Posts: 3450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Mark. It is always a good idea to prepare prior to an interview.

Some accomplish great results in their career, but fail to communicate that effectively in their resumes (i.e. so called quiet achievers) and interviews, whilst others have accomplished ordinary results, but make an effort to communicate that more effectively to stand out from their competition




Reflect back on your 4 year experience and list down your accomplishments using SAR (Situation Action Result) statements. Here is an extracted example


Q Give me an example of a time when you set a goal and were able to achieve it? Give me an example of a time you showed initiatiative and took the lead? Tell me about a difficult decision you made in the last year? Give me an example of a time you motivated others? Tell me about a most complex project you were involved in?

A :
Situation: When you were working for the ZCC Software Technology Corporation, the overnight batch process called the �Data Pacakager� was developed for a large fast food chain which has over 100 stores. This overnight batch process is responsible for performing a very database intensive search and compute changes like cost of ingredients, selling price, new menu item etc made in various retail stores and package those changes into XML files and send those XML data to the respective stores where they get uploaded into their point of sale registers to reflect the changes. This batch process had been used for the past two years, but since then the number of stores had increased and so did the size of the data in the database. The batch process, which used to take 6-8 hours to complete, had increased to 14-16 hours, which obviously started to adversely affect the daily operations of these stores. The management assigned you with the task of improving the performance of the batch process to 5-6 hours (i.e. suppose to be an overnight process).

Action: After having analyzed the existing design and code for the �Data Packager�, you had to take the difficult decision to let the management know that this batch process needed to be re-designed and re-written as opposed to modifying the existing code, since it was poorly designed. It is hard to extend, maintain (i.e. making a change in one place can break the code some where else and so on) and had no object reuse through caching (makes too many unnecessary network trips to the database) etc. The management was not too impressed with this approach and concerned about the time required to rewrite this batch process since the management had promised the retail stores to provide a solution within 8-12 weeks. You took the initiative and used your persuasive skills to convince the management that you would be able to provide a re-designed and re-written solution within the 8-12 weeks with the assistance of 2-3 additional developers and two testers. You were entrusted with the task to rewrite the batch process and you set your goal to complete the task in 8 weeks. You decided to build the software iteratively by building individual vertical slices as opposed to the big bang waterfall approach [Refer subsection �Enterprise � Software development process� in Enterprise � Java section]. You redesigned and wrote the code for a typical use case from end to end (i.e. full vertical slice) within 2 weeks and subsequently carried out functional and integration testing to iron out any unforeseen errors or issues. Once the first iteration is stable, you effectively communicated the architecture to the management and to your fellow developers. Motivated and mentored your fellow developers to build the other iterations, based on the first iteration. At the end of iteration, it was tested by the testers, while the developers moved on to the next iteration.

Results: After having enthusiastically worked to your plan with hard work, dedication and teamwork, you were able to have the 90% of the functionality completed in 9 weeks and spent the next 3 weeks fixing bugs, tuning performance and coding rest of the functionality. The fully functional data packager was completed in 12 weeks and took only 3-4 hours to package XML data for all the stores. The team was under pressure at times but you made them believe that it is more of a challenge as opposed to think of it as a stressful situation. The newly designed data packager was also easier to maintain and extend. The management was impressed with the outcome and rewarded the team with an outstanding achievement award. The performance of the newly developed data packager was further improved by 20% by tuning the database (i.e. partitioning the tables, indexing etc).



This approach is not only useful at interviews, but also helps immensely to write outstanding resumes. For example



Situation: Java code that is hard to maintain and reuse. Changes to one module may break another module.

Action:Refactored the code with OO concepts and design patterns in a test driven manner.

Result:The application becomes easier to maintain, extend, and reuse.

You can now construct the sentence as shown below:
  • Re-architected, refactored, and performance tuned a Websphere and JEE based online insurance application, which previously came down almost daily, became a true 24x7 application.

  •  
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    arulk pillai wrote:I agree with Mark. It is always a good idea to prepare prior to an interview.

    Some accomplish great results in their career, but fail to communicate that effectively in their resumes (i.e. so called quiet achievers) and interviews, whilst others have accomplished ordinary results, but make an effort to communicate that more effectively to stand out from their competition




    Reflect back on your 4 year experience and list down your accomplishments using SAR (Situation Action Result) statements. Here is an extracted example


    Q Give me an example of a time when you set a goal and were able to achieve it? Give me an example of a time you showed initiatiative and took the lead? Tell me about a difficult decision you made in the last year? Give me an example of a time you motivated others? Tell me about a most complex project you were involved in?

    A :
    Situation: When you were working for the ZCC Software Technology Corporation, the overnight batch process called the �Data Pacakager� was developed for a large fast food chain which has over 100 stores. This overnight batch process is responsible for performing a very database intensive search and compute changes like cost of ingredients, selling price, new menu item etc made in various retail stores and package those changes into XML files and send those XML data to the respective stores where they get uploaded into their point of sale registers to reflect the changes. This batch process had been used for the past two years, but since then the number of stores had increased and so did the size of the data in the database. The batch process, which used to take 6-8 hours to complete, had increased to 14-16 hours, which obviously started to adversely affect the daily operations of these stores. The management assigned you with the task of improving the performance of the batch process to 5-6 hours (i.e. suppose to be an overnight process).

    Action: After having analyzed the existing design and code for the �Data Packager�, you had to take the difficult decision to let the management know that this batch process needed to be re-designed and re-written as opposed to modifying the existing code, since it was poorly designed. It is hard to extend, maintain (i.e. making a change in one place can break the code some where else and so on) and had no object reuse through caching (makes too many unnecessary network trips to the database) etc. The management was not too impressed with this approach and concerned about the time required to rewrite this batch process since the management had promised the retail stores to provide a solution within 8-12 weeks. You took the initiative and used your persuasive skills to convince the management that you would be able to provide a re-designed and re-written solution within the 8-12 weeks with the assistance of 2-3 additional developers and two testers. You were entrusted with the task to rewrite the batch process and you set your goal to complete the task in 8 weeks. You decided to build the software iteratively by building individual vertical slices as opposed to the big bang waterfall approach [Refer subsection �Enterprise � Software development process� in Enterprise � Java section]. You redesigned and wrote the code for a typical use case from end to end (i.e. full vertical slice) within 2 weeks and subsequently carried out functional and integration testing to iron out any unforeseen errors or issues. Once the first iteration is stable, you effectively communicated the architecture to the management and to your fellow developers. Motivated and mentored your fellow developers to build the other iterations, based on the first iteration. At the end of iteration, it was tested by the testers, while the developers moved on to the next iteration.

    Results: After having enthusiastically worked to your plan with hard work, dedication and teamwork, you were able to have the 90% of the functionality completed in 9 weeks and spent the next 3 weeks fixing bugs, tuning performance and coding rest of the functionality. The fully functional data packager was completed in 12 weeks and took only 3-4 hours to package XML data for all the stores. The team was under pressure at times but you made them believe that it is more of a challenge as opposed to think of it as a stressful situation. The newly designed data packager was also easier to maintain and extend. The management was impressed with the outcome and rewarded the team with an outstanding achievement award. The performance of the newly developed data packager was further improved by 20% by tuning the database (i.e. partitioning the tables, indexing etc).



    This approach is not only useful at interviews, but also helps immensely to write outstanding resumes. For example



    Situation: Java code that is hard to maintain and reuse. Changes to one module may break another module.

    Action:Refactored the code with OO concepts and design patterns in a test driven manner.

    Result:The application becomes easier to maintain, extend, and reuse.

    You can now construct the sentence as shown below:
  • Re-architected, refactored, and performance tuned a Websphere and JEE based online insurance application, which previously came down almost daily, became a true 24x7 application.



  • Hi,

    I do not agreed with you. Any way, your ideal make me thinking about some thing for my project.

    Please try to keep posting. Tks and best regards
     
    Ranch Hand
    Posts: 117
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    You say that you have been a developer for the past 4 years.. That should be very easy for you to clear scenario based interview
    questions unless otherwise you fake your experience (Working as a tester.. and faking as developer) which i hope is not the case with you.. Considering myself who has been in production support for the past 4 years, i myself dont find very tough while attending interviews if one has done enough ground work. Also, you can google for scenario based interview questions

    Also,remember there is nothing in the internet like a master repository of scenario based Java/J2ee interview questions (Maybe you can create one if you want , no offence intended) which is going to be asked by the interviewer. So prepare yourself well and be confident in your skills and not to forget the communication and the presentation skills which are equally important.

    All the best
     
    jerry vn
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    jerry vn wrote:

    arulk pillai wrote:



    Results: After having enthusiastically worked to your plan with hard work, dedication and teamwork, you were able to have the 90% of the functionality completed in 9 weeks and spent the next 3 weeks fixing bugs, tuning performance and coding rest of the functionality. The fully functional data packager was completed in 12 weeks and took only 3-4 hours to package XML data for all the stores. The team was under pressure at times but you made them believe that it is more of a challenge as opposed to think of it as a stressful situation. The newly designed data packager was also easier to maintain and extend. The management was impressed with the outcome and rewarded the team with an outstanding achievement award. The performance of the newly developed data packager was further improved by 20% by tuning the database (i.e. partitioning the tables, indexing etc).



    This approach is not only useful at interviews, but also helps immensely to write outstanding resumes. For example



    Situation: Java code that is hard to maintain and reuse. Changes to one module may break another module.

    Action:Refactored the code with OO concepts and design patterns in a test driven manner.

    Result:The application becomes easier to maintain, extend, and reuse.

    You can now construct the sentence as shown below:

  • Re-architected, refactored, and performance tuned a Websphere and JEE based online insurance application, which previously came down almost daily, became a true 24x7 application.



  • Hi,

    I do not agreed with you. Any way, your ideal make me thinking about some thing for my project.

    Please try to keep posting. Tks and best regards



    Apart from that, this link below may be useful: Building interview questions
     
    author
    Posts: 23906
    142
    jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    "jerry vn",

    You have been warned numerously about your screen name. Please comply prior to your next post, or your account will be locked.

    Henry
     
    It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
    the value of filler advertising in 2021
    https://coderanch.com/t/730886/filler-advertising
    reply
      Bookmark Topic Watch Topic
    • New Topic