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 Newest

   next 30
 Q3241. Why would you use XML over JSON when using ajax ?JSON
 This question was recently asked at 'SoftLayer'.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     xml  ajax  json     Asked in 1 Companies


 Q3242. What is the difference between inheritance in PHP vs. Javascript?JavaScript
 This question was recently asked at 'WePay'.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     php  javascript     Asked in 1 Companies


 Q3243. Write a method to track every click on a page.JavaScript
 This question was recently asked at 'LinkedIn'.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


 Q3244. Have you had to work with memory leak problems in javascript ?JavaScript
 This question was recently asked at 'RockYou'.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


 Q3245. Create a component and sort the data to show specific information.React JS
 This question was recently asked at 'Egen Solutions'.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


 Q3246. prototypal inheritance in JavascriptJavaScript
 This question was recently asked at 'RocketMiles'.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


 Q3247. CSS Box ModelCSS
 This question was recently asked at 'RocketMiles'.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


 Q3248. Develop an address form in React js.React JS
 This question was recently asked at 'PayPal'.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


 Q3249. Difference between Span and Div ?Html
 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     html span  html div


 Q3250. Can we check two html radio buttons together ?Html
 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     html radio


 Q3251. What is the advantage of moving text messages to a separate properties file , like message.properties instead of hard defining it on the html ?Design
 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     


 Q3252. What is the use of defining equals , compareTo and hashcode methods in a class ? Where are they used ?Core Java
Ans. equals, compareTo and hashcode are of use when the objects are used within collections.

Equals helps with collections that helps maintaining only unique objects ( like Set )

compare and compareTo helps with collections that helps maintaining objects in order ( TreeSet, TreeMap etc )

hascode helps with collections that facilitates hash searching ( like hashSet, hashMap etc )

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

   Like         Discuss         Correct / Improve     equals    compareTo   hashcode method


 Q3253. Can we pass the junit test if the tested method throws the exception ? and Should we do that ?Junit
Ans. Yes, We can pass the test even if the tested method throws an exception.

One way is know as exception testing in which the tested method is expected to throw exception and hence the expectation is set accordingly.

@Test(expected = IndexOutOfBoundsException.class)
public void test(){}

Other way is to just ignore if the tested code throws an exception. In that case , we can enclose the tested method call in the try block and within exception block, we just return gracefully.

Exception testing is perfectly ok to be done as we would like test code in case an exception occurs and if the code is handling the exception properly. Ignoring the exception by putting the tested method call within try block isn't something normal and should be avoided.

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

   Like         Discuss         Correct / Improve     Junit exception testing


 Q3254. How does cloud computing helps saves cost ?Cloud Computing
Ans. Cloud computing helps saving overall cost for infrastructure and service usage through following -

1. On demand Services and elasticity - You only pay for what you use. Less Ideal time.

2. Resource Pooling

3. Self Service - Less involvement of human resources

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

   Like         Discuss         Correct / Improve     Google Cloud Platform (GCP)  Amazon Web Service (AWS


 Q3255. What is the difference between Co Location, Virtualization and Serverless ? Infrastructure
 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     


 Q3256. Which category of service , Google Search and Drive belongs to ?SAAS
Ans. They are SAAS ( Software as a Service )

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

   Like         Discuss         Correct / Improve     saas


 Q3257. Which category of service , Amazon EC2 and S3 belongs to ?Amazon Web Services (AWS)
Ans. They are IAAS ( Infrastructure as a service )

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

   Like         Discuss         Correct / Improve     iaas  aws ec2  aws s3


 Q3258. Which category of services, Amazon Lambda belongs to ? Amazon Web Services (AWS)
Ans. It's Serverless and PAAS ( Platform as a service )

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

   Like         Discuss         Correct / Improve     paas  serverless


 Q3259. What are the different types of Services GCP provides ?Google Cloud Platform (GCP)
Ans. Compute
Network
Storage
Big Data
Machine Learning

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

   Like         Discuss         Correct / Improve     


 Q3260. What is the difference between Billing Alerts and Budget Quotas in GCP ?Google Cloud Platform (GCP)
Ans. Alerts only let customer knows of any excessive usage whereas Quota restricts the usage beyond a certain point.

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

   Like         Discuss         Correct / Improve     GCP Billing


 Q3261. How Resource Pooling helps saving cost ?Cloud Computing
Ans. With resource pooling and Pay as per use , Bigger companies like Google and Amazon can buy Large physical hardware and employ economy of scale and hence resulting in cost saving for customers.

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

   Like         Discuss         Correct / Improve     Google Cloud Platform (GCP)


 Q3262. How On demand Self Service helps saving cost ?Cloud Computing
Ans. On Demand service restricts cost by paying only for the use and Self Service saves cost by reducing intermediary human resource cost.

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

   Like         Discuss         Correct / Improve     onDemand infrastructure  Google Cloud Platform (GCP)


 Q3263. What are some GCP Billing and Budgeting services ?Google Cloud Platform (GCP)
Ans. Budgets and Alerts
Reports
Quotas

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

   Like         Discuss         Correct / Improve     gcp billing


 Q3264. Explain AWS IAM.Amazon Web Services (AWS)
Ans. AWS Identity And Access Management (IAM) is a webservice provided by AWS platform that provides access control capabilities (authentication and authorization) to AWS resources.

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

   Like         Discuss         Correct / Improve     aws iam     Asked in 1 Companies


 Q3265. What is an AWS placement groupAmazon Web Services (AWS)
Ans. It is a logical grouping of instance with a single availability zone to prevent latency.

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

   Like         Discuss         Correct / Improve     aws placement group     Asked in 1 Companies


 Q3266. Name types of AWS Elastic Load Balancers.Amazon Web Services (AWS)
 This question was recently asked at 'EtQ'.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     aws elb     Asked in 1 Companies


 Q3267. How would you secure resources in Cloud ?Cloud Computing
Ans. There are multiple types of security GCP provides to every customer. Data, Network, Compute, and Services. Each service have its own security layer and Google provides clients to build as per the GCP best practices like building VPC, IAM, Firewall rules and so on

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

   Like         Discuss         Correct / Improve     Google Cloud Platform (GCP)     Asked in 1 Companies


 Q3268. how would you build application stack using Cloud Formation ?
Amazon Web Services (AWS)
Ans. Open the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation . Create a new stack by using one of the following options: Choose Create Stack. This is the only option if you have a currently running stack.

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

   Like         Discuss         Correct / Improve     aws cloud formation     Asked in 1 Companies


 Q3269. How can we protect an application from an XSS attack ?Security
Ans. By properly encoding data while persisting as well as retrieval.

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

   Like         Discuss         Correct / Improve     xss attack  web security     Asked in 3 Companies


 Q3270. Design Texas Hold Em poker gameDesign
 This question was recently asked at 'Alcatel Lucent'.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


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: