Interview Question and Answers | Search Coding Interview Questions - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Rating

   next 30
 Q2041. How would you do an object oriented design on animals in a zoo ?Design
 This question was recently asked at 'Booking.com,InterContinental Hotels,Caissa,Workday'.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          Asked in 4 Companies


 Q2042. Write a method / program that will determine if the parenthesis are balanced in a given string.Core Java
Ans. https://www.geeksforgeeks.org/check-for-balanced-parentheses-in-an-expression/

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

   Like         Discuss         Correct / Improve     string  code  coding     Asked in 14 Companies


 Q2043. Why is it important to close files and streams ?Core Java
Ans. Optimizing Resource utilization. When you open a file using any programming language , that is actually a request to operating system to access the file. When such a request is made , resources are allocated by the OS. When you gracefully close those files, those resources are set free.

In Java if you don’t close the streams and files, Garbage collection identifies the open files which have lost the reference and hence will close them.

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

   Like         Discuss         Correct / Improve     file handling


 Q2044. What is the parent child relationship in Maven ?Maven
Ans. Maven provides a facility to have a structure of inheritance relationship between modules / projects through parent tag in POM file. When we try building the parent project , all its child modules are built first in the order specified in the parent POM file.

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

   Like         Discuss         Correct / Improve     maven     Asked in 1 Companies


 Q2045. What is the difference between && and & in Java ?Core Java
Ans. && is a Logical whereas & is a bitwise operator

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

   Like         Discuss         Correct / Improve     operators  logical vs bitwise operator


 Q2046. Why don't Java objects have destructors ?Core Java
Ans. Java manages memory using built-in garbage collector

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

   Like         Discuss         Correct / Improve     destructor  garbage collection


 Q2047. Write a Java program to print 10 random numbers between 1 to 100?Core Java
 This question was recently asked at 'karya technology'.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     coding  code     Asked in 1 Companies


 Q2048. Ho do you share / transfer variables between JSP pages ?Java EE
 This question was recently asked at 'UC Davis'.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     jsp     Asked in 1 Companies


 Q2049. Tell us something about Spring framework ?Spring
Ans. Spring is a lightweight framework which gives in-build DI(Dependency injection) and IOC(Inversion of control) features. Where DI is used for injecting one bean into the another bean like Inheritance in Java and IOC is a controller which will control the flow of the bean like bean creation and so on. We will use Bean Factory and Application Context for configuring.

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

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q2050. How to find the median number in an array of integers ?Core Java
Ans.

Arrays.sort(numArray);
double median;
if (numArray.length % 2 == 0)
   median = ((double)numArray[numArray.length/2] (double)numArray[numArray.length/2 - 1])/2;
else
   median = (double) numArray[numArray.length-1/2];

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

   Like         Discuss         Correct / Improve     coding     Asked in 2 Companies


 Q2051. Write a Program to find the missing integer in an array of consecutive numbers?Core Java
 This question was recently asked at 'Knight Capital'.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          Asked in 1 Companies


 Q2052. What is acugload?IBM WCS
Ans. acugload is the utility to load the user access group in the appropriate database.

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

   Like         Discuss         Correct / Improve     acugload


 Q2053. What are the tag libraries used in WCS ? IBM WCS
Ans. Core tags, sql , xml and fmt tags.

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

   Like         Discuss         Correct / Improve     wcs tag libraries


 Q2054. Is it necessary to register controller command in CMDREG table ? IBM WCS
Ans. It is not necessary to enter data in the CMDREG table, but an entry should be made in the struts-config.xml. The controller command can be registered in the CMDREG table by xml and SQL query.

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

   Like         Discuss         Correct / Improve     controller commands  CMDREG


 Q2055. Describe Catalog subsystem and the tables used in WCS for managing this ?IBM WCS
Ans. The catalog subsystem or Catalog Management provides online catalog navigation, partitioning, categorization, and associations. In addition, the catalog subsystem includes support for personalized interest lists and custom catalog display pages. The catalog subsystem contains all logic and data relevant to an online catalog, including catalog groups (or categories), catalog entries, and any associations or relationships among them.

Tables used for Catalog subsystem

1. CATENTRY
2. CATENTREL

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

   Like         Discuss         Correct / Improve     catalog subsystem


 Q2056. Describe Marketing subsystem and What WCS components are part of this system ?IBM WCS
Ans. The Marketing subsystem is a component of the WebSphere Commerce Server, and provides numerous marketing concepts to your site, designed to increase brand awareness, and to attract and retain customers. Components of the marketing subsystem provide functionality to create marketing campaigns, including customer segments and advertising; and e-mail activities.

Various components are -

1. Promotions
2. Auctions
3. eSpots
4. e Mail Campaigns
5. Hubs and Extended sites for affiliates

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

   Like         Discuss         Correct / Improve     marketing subsystem


 Q2057. What are the benefits of Smart bean ?IBM WCS
Ans. A smart data bean uses a lazy fetch method to retrieve its own data. This type of data bean can provide better performance in situations where not all data from the access bean is required, since it retrieves data only as required.

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

   Like         Discuss         Correct / Improve     


 Q2058. What is a retriable command ?IBM WCS
Ans. A retriable command is a controller command that can re-execute itself after encountering a system-level exception during the command execution.

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

   Like         Discuss         Correct / Improve     wcs commands


 Q2059. What is cross-selling ?ECommerce
Ans. Selling of Merchandise across stores. For example - Store A selling Store B's merchandise.

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

   Like         Discuss         Correct / Improve     cross selling  order management  ecommerce


 Q2060. What is backorder ?ECommerce
Ans. The status of an ordered product when inventory allocation has determined that the product is not available.

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

   Like         Discuss         Correct / Improve     order management  back order  ecommerce


 Q2061. What is suborder ?ECommerce
Ans. Part of the order that needs to be shipped to a particular Address. There could be an Order where different portions needs to be delivered to different addresses. Each portion in such case is a suborder.

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

   Like         Discuss         Correct / Improve     order management  sub order  ecommerce


 Q2062. What is SAR file ?IBM WCS
Ans. Its the Store Archive that holds the store Assets in the compressed form.

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

   Like         Discuss         Correct / Improve     SAR file  store archieve


 Q2063. Whats is a starter store ?IBM WCS
Ans. Its the default store that comes in built with WCS.

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

   Like         Discuss         Correct / Improve     


 Q2064. What is ETL ?Process
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     


 Q2065. What is an Attribute Dictionary and What are its benefits ?IBM WCS
Ans. Attribute dictionary is a set of common attributes that can be reused by multiple products.

The attribute dictionary provides a central place to manage shared attributes, with the following features:
The ability to standardize attributes.
The ability to easily compare attributes shared by products and SKUs.
The ability to quickly change attributes in one place to affect all catalog entries.

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

   Like         Discuss         Correct / Improve     Attribute dictionary


 Q2066. What is an Asset store ?IBM WCS
Ans. Asset stores are collections of sharable resources (business artifacts, business processes and storefront assets) that can be leveraged in other stores.

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

   Like         Discuss         Correct / Improve     asset store


 Q2067. How to enable Cross Site scripting protection in WCS ?IBM WCS
Ans. By specifying XSiteScriptingProtection within wc-server.xml. Prohibited characters and attributes are specified within XSiteScriptingProtection to protect the application from any XSS attach.

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

   Like         Discuss         Correct / Improve     Cross site scripting  XSS attack  XSS  XSiteScriptingProtection  wc-server.xml


 Q2068. Can we see objects cached in Dynacache ?IBM WCS
Ans. We can see , monitor and can even change dynacache manually but for that we need to install a seperate application provided by WCS.

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

   Like         Discuss         Correct / Improve     Dynacache


 Q2069. What is dynacache and role of cachespec.xml in WCS ?IBM WCS
Ans. Dynacache in WCS is the object cache. Instead of creating objects again and again , the store objects are rendered on the basis of matched rules. Caching rules are stored in a configuration file called cachespec.xml.

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

   Like         Discuss         Correct / Improve     dynacache  cachespec.xml


 Q2070. Difference between Singleton and Factory Design Pattern ?Design
Ans. Both are creational design patterns but singleton facilitates in creation and reuse of single object whereas Factory deals with creation of multiple objects.

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

   Like         Discuss         Correct / Improve     Design pattern  singleton  factory  singleton vs factory     Asked in 4 Companies


previous 30   next 30

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: