Java - Interview Questions and Answers for 'Process' | 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

   



Interview Questions and Answers for 'Process' - 26 question(s) found - Order By Newest

Almost sure to be asked in every company using any Dependency Injection framework ( Spring, Guice etc )
  Q1. What is Dependency Injection or IOC ( Inversion of Control ) ?Design

Ans. It is a Design Pattern that facilitates loose coupling by sending the dependency information ( object references of dependent object ) while building the state of the object. Objects are designed in a manner where they receive instances of the objects from other pieces of code, instead of constructing them internally and hence provide better flexibility.

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

   Like      Discuss      Correct / Improve     design patterns   ioc ( Inversion of Control )  dependency injection     Nucleus Software Exports  HCL Technologies  Tata Consultancy (TCS)  HCL  Infosys  Cognizant (CTS)  Barclays  General Electric  Infosys Technologies  Elsevier  Sabre  ZapCom  Nike  Sogeti  CSG International  Lowes  DWS  Mitsui Bussan Logistics  Payment Processing Partners  Liquidnet  AmTrust Financial  VectorForm  Cybage  Vanderbilt University  Cigniti  Accenture  Ball Aerospace  GE Healthcare  1-800 Contacts  VinSolutions  Arrow Electronics  Monitise  Avenue Code  Thetus Corporation  Shodogg  Levi9  BuildLinks  Suyati Technologies  Kanerika Software  Alliance Inspection Management  Promega  Victorious  Zoll Data Systems  Parkmobile  PerceptiMed  Crate and Barrel  Carbonite  Concur  Codazen  GlobalLogic  AccuSoft  Attinad  Tillster  AppRiver  TrustPilot  Pearson  Kony  Art Technology Group  VeriSign  Accion Labs  IGS Energy  National Bankruptcy Services  RealPage  Green Dot  Indecomm Global  bebo Technologies  Open Solutions  Xoriant  NCR  Macmillan Cancer Support  NetSuite  Asynchrony Labs  DealDash  Vizio  Fiserv  Federal Reserve Bank of Minneapolis  Tinder  FICO  Trustwave      intermediate        frequent


 Q2. What is JAXP ?Xml
Admin
info@buggybread.com
Ans. Stands for Java API for XML Processing. This provides a common interface for creating and using SAX, DOM, and XSLT APIs in Java regardless of which vendor’s implementation is actually being used.

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

   Like      Discuss      Correct / Improve     java   java api   xml   xml processing   jaxp   abbreviation   technologies


Frequently asked to fresh graduates.
 Q3. What are the difference between Threads and Processes ?Operating System
Anonymous
Ans. 1. when an OS wants to start running program it creates new process means a process is a program that is currently executing and every process has at least one thread running within it.
2). A thread is a path of code execution in the program, which has its own local variables, program counter(pointer to current execution being executed) and lifetime.
3. When the JavaVirtual Machine (JavaVM, or just VM) is started by the operating system, a new process is created. Within that process, many threads can be created.
4. Consider an example : when you open Microsoft word in your OS and you check your task manger then you can see this running program as a process. now when you write something in opened word document, then it performs more than one work at same time like it checks for the correct spelling, it formats the word you enter , so within that process ( word) , due to different path execution(thread) all different works are done at same time.
5. Within a process , every thread has independent path of execution but there may be situation where two threads can interfere with each other then concurrency and deadlock come is picture.
6. like two process can communicate ( ex:u open an word document and file explorer and on word document you drag and drop another another file from file explorer), same way two threads can also communicate with each other and communication with two threads is relatively low.
7. Every thread in java is created and controlled by unique object of java.lang.Thread class.
8. prior to jdk 1.5, there were lack in support of asynchronous programming in java, so in that case it was considered that thread makes the runtime environment asynchronous and allow different task to perform concurrently.

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

   Like      Discuss      Correct / Improve     java   operating system   threads   processes     Ciena  Walt Disney        frequent


 Q4. What are the phases of the JSP life cycle ?Java EE
Admin
info@buggybread.com
Ans. Translation of JSP PageCompilation of JSP PageClassloading (class file is loaded by the classloader)Instantiation (Object of the Generated Servlet is created).Initialization ( jspInit() method is invoked by the container).Reqeust processing ( _jspService() method is invoked by the container).Destroy ( jspDestroy() method is invoked by the container).

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

   Like      Discuss      Correct / Improve     j2ee   servlets   servelets   web application   jsp   jsp life cycle   mindtree     Span Infotech  PTC  Cybage  iNautix Technologies  TechAspect  Brillio  Modus Information Systems  SAG Infotech   TechProcess Payment Services


 Q5. Should good code be self-documenting, or is it the responsibility of the developer to document it?Process
Admin
info@buggybread.com
Ans. Open ended Questions.

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

   Like      Discuss      Correct / Improve     java   open questions   code review   documentation


 Q6. What are use cases?Process
Admin
info@buggybread.com
Ans. It is part of the analysis of a program and describes a situation that a program might encounter and what behavior the program should exhibit in that circumstance.

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

   Like      Discuss      Correct / Improve     use cases   design   high level design   testing   test driven development   software system analyst   project lead      basic        frequent


 Q7. Which Software Development methodology is being used in your current Job ?Process
Admin
info@buggybread.com
Ans. We are using Agile methodology. I attend daily stand up where the development leads takes the status of assigned stories, achievements, any bottlenecks or challenges. We follow iteration of 2 weeks.

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

   Like      Discuss      Correct / Improve     sdlc   agile methodology   software system analyst   software developer interview   development lead   project lead interview


 Q8. How do you coordinate and communicate with the team developers ?Process
Admin
info@buggybread.com
Ans. We as a team of developers , testers , analyst , lead and architect sit close to each other. Most of the time I would just jump to their seat and talk to them ( if required ). We have daily stand up where we discuss things that needs team attention.

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

   Like      Discuss      Correct / Improve     system software analyst   technical architect   technical lead   project lead   development lead


 Q9. How would you react if you understand that there have been business loss due to some problem with the software ?Process
Admin
info@buggybread.com
Ans. I will first try to find the problem that resulted in the loss and its magnitude. Will try to find the root cause, how long the bug is in production. In the meantime , will check with business how much loss this has resulted. Once the fix has been identified and urgency for the release has been identified, Will get necessary approvals for an emergency release and will try to deploy the fix in minimal possible time. After the release, Will schedule a meeting with team to do an RCA ( Root Cause Analysis ) and procedures that should be in place to avoid such mistakes.

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

   Like      Discuss      Correct / Improve     software project lead   software project manager



Do you think these are the Best Java Frameworks ?

OpenXavaSPRING MVCApache StripesCheck everything
that is Best in Java

Click Here



 Q10. What is continuous integration ?Process

Ans. Continuous integration or CI is the practice, of merging all developer working copies to a shared mainline several times a day.

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

   Like      Discuss      Correct / Improve     continuous integration   jenkins  hudson   build tools


 Q11. What are the phases in Software Testing process ?Process2016-10-17 12:03:16

Ans. Test Planning -> Test Design -> Test Execution -> Evaluating Exit Criteria and Closure

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

   Like      Discuss      Correct / Improve     testing   testing phases   process


 Q12. What is a Database Procedure ?Database2016-10-18 11:27:59

Ans. Stored procedures are a batch of SQL statements along with programming constructs ( if else, loops etc ) and stored as a single program that can be called by different clients and hence reused.

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

   Like      Discuss      Correct / Improve     database  stored procedure     Cognizant (CTS)      basic        frequent


 Q13. Can there be a Thread without a Process ?Core Java2016-11-30 20:50:27

Ans. No.

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

   Like      Discuss      Correct / Improve     Thread  Process     Goldman Sachs      Basic


 Q14. Explain Agile Software Development Methodology ?Process2016-11-30 16:00:02

Ans. https://en.wikipedia.org/wiki/Agile_software_development

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

   Like      Discuss      Correct / Improve     software development process  agile     Elsevier  Lexis Nexis  Cerner  IBM  Deegit        frequent


 Q15. 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


 Q16. How should we handle errors while writing or accessing Stored Procedures?Database2017-01-19 13:55:55

Ans. Store Procedure returns the error code. Moreover we can put the call withing try block and catch SQL Exception.

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

   Like      Discuss      Correct / Improve     stored procedure  exception handling


 Q17. What is archiving ?Process2017-01-23 12:54:07

Ans. It's the process of preserving the state of an object and then restoring it.

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

   Like      Discuss      Correct / Improve           basic


 Q18. What is the difference between authentication and authorization ?Process2017-01-23 12:56:23

Ans. Authentication is the process of verifying the identity and credentials of the user to authenticate him into the system.

whereas

Authorization is the process by which access to a segment , method or resource is determined.

Authorization is usually a step next to authentication.

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

   Like      Discuss      Correct / Improve     authentication  authorization  authentication vs authorization      basic        frequent


 Q19. What is cascade or cascading delete ?Process2017-01-23 12:58:08

Ans. A deletion that triggers another deletion

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

   Like      Discuss      Correct / Improve     



Do you think these are the Best Java Frameworks ?

OpenXavaSPRING MVCApache StripesCheck everything
that is Best in Java

Click Here



 Q20. What is ETL ?Process2017-02-02 14:46:33

Ans. ETL is Extract , Transform and Load. As the name suggest , it is the process of Data extraction , fabrication and then transfer to Database. Data Migration is one case of ETL.

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

   Like      Discuss      Correct / Improve     


 Q21. Can you explain System Development Life Cycle or SDLC.Process2017-03-14 08:49:23

 This question was recently asked at 'The Bank of New York Mellon (BNY Mellon)'.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     sdlc     The Bank of New York Mellon (BNY Mellon)


 Q22. What are the four situations that are required for deadlock to happen ?Operating System2017-05-07 16:38:57

Ans. mutual exclusion i.e the resource is not shareable and hence a process should have exclusive access to it at a particular time

Hold and Wait i.e the process doesn't release all existing resources held by it before requesting for another one.

No preemption i.e noone can forcefully release a resource held by another process and the process should voluntarily release the resource held by it.

Circular Wait - For ex, P1 is waiting on resource to be released by P2, P2 is waiting on resource to be released by P3 and P3 is waiting on the resource to be released by P1

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

   Like      Discuss      Correct / Improve     deadlock  process


 Q23. What is the difference between latency, response time and processing time ?Web Service2017-06-02 12:49:11

Ans. Latency is the delay incurred while communicating a message i.e the time took the message in transit over network.

processing time is the delay it took for the server to process the request.

Response time is the sum total of latency and processing time.

For example -

Let's say it takes 1 ms for the request to reach from client to server and similar 1 ms for the response to come back to client. Moreover it takes approx 10 ms for the application to process the request. So The response time would be outward latency + processing time + inward latency = 12 ms

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

   Like      Discuss      Correct / Improve     latency   response time    processing time


 Q24. Solve the producer and consumer problemOperating System2017-06-15 08:18:53

 This question was recently asked at 'Dell'.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     producer consumer problem  multi-process synchronization problem     Dell


 Q25. What is the difference between SDLC and Agile ?Process2017-08-28 19:37:08

 This question was recently asked at 'Ancestry,HCL Technologies,Infosys'.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     sdlc  agile  adlc vs agile     Ancestry  HCL Technologies  Infosys


 Q26. What is the difference between Kan Ban and Agile ? Which one do you prefer ?Process2017-08-28 19:37:30

 This question was recently asked at 'Ancestry'.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     kanban  agile  kanban vs agile     Ancestry




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

3 person from are looking for questions for 'Process'. Connect with them to better prepare for your interview.
X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: