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
 Q31. Which language is Git written in ? and What are it's benefits ?Git
Ans. GIT is fast because it's written in C.

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

   Like         Discuss         Correct / Improve     


 Q32. What does this warning message for the unit test means

WARN: 'Spec has no expectations.'
Angular
 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     Junit   Jasmine   Karma


 Q33. How can you delete a commit from a pull request ?Git
Ans. By rolling back that commit in the branch

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

   Like         Discuss         Correct / Improve     


 Q34. Do you ever merge changes from one feature branch to another ? Why ?SCM
 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     SCM  Source Code Management  Configuration Control  Git  Svn


 Q35. How do you merge changes from master to your feature branch ?Git
 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     


 Q36. How to you resolve merge conflicts in GIT ?Git
 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     


 Q37. Can we do a thread specific heap allocation ?Memory Management
 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     memory management  heap memory   heap allocation      expert


 Q38. What resources are shared between threads ?Threads
 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     


 Q39. Do threads have a distinct heap ?Memory Management
 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     memory management  heap memory      expert


 Q40. What does the pipe method return in Rxjs ?RxJs
Ans. Pipe method is performed on an observable with the argument as a function. It returns the transformed observable with transformation being done by the specified method.

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

   Like         Discuss         Correct / Improve     


 Q41. How can we sort an observable of a user array on user name ( name being one of the field of user ) ?RxJs
Ans. userArrayObservable.pipe(
map(userArray => {
return userArray.sort(comparator);
});
)

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

   Like         Discuss         Correct / Improve     Angular


 Q42. Can we specify multiple maps within pipe ?RxJs
Ans. Yes, it's same as passing multiple methods within pipe. Output of one map is passed to second and so on.

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

   Like         Discuss         Correct / Improve     Angular


 Q43. Can we specify multiple functions in the pipe ? What happens if we do it ?RxJs
Ans. Yes, We can specify multiple functions within pipe method. In that case first function get's called with the observable , the response if then passed to the second method and so on.

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

   Like         Discuss         Correct / Improve     Angular


 Q44. Why do we do transformation on the observable itself rather than doing it in the subscriber ? RxJs
Ans. Because that way we just need to do that transformation at one place and not within each subscriber. Single source of truth.

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

   Like         Discuss         Correct / Improve     Angular   Observable  Suscriber


 Q45. What do we specify within the pipe method ?RxJs
Ans. Operator function to which an observable is passed for transformation.

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

   Like         Discuss         Correct / Improve     Angular


 Q46. What does pipe does on an observable ?RxJs
Ans. With pipe we specify the operator function to which this observable is passed for transforming the observable.

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

   Like         Discuss         Correct / Improve     Angular   Observable


 Q47. Write a regex pattern that would validate if the sting has only alphanumeric characters and no consecutive spaces.Regex
Ans. ^([a-z,A-Z,0-9]*[ ]+)*$

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

   Like         Discuss         Correct / Improve     


 Q48. Write a regex pattern that would validate if the word starts with a alphabet and then alphanumeric thereafter or few special characters (let's say . and _ ).Regex
Ans. ^[a-z,A-Z][a-z,A-Z,0-9,._]*$

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

   Like         Discuss         Correct / Improve     


 Q49. Can you write a regex pattern that would validate if the word starts with a capital alphabet and then alphanumeric thereafter.Regex
Ans. ^[A-Z][a-z,A-Z,0-9]*$

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

   Like         Discuss         Correct / Improve     


 Q50. What is the difference between Merge and "Stash and Merge" ?Git
 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     


 Q51. What is the difference between Subject and Observable ?Angular
 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     subject vs observable


 Q52. What is the difference between subscribe and unsubscribe ?Angular
 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     RxJs   subscribe vs unsubscribe


 Q53. What is the difference between subscribe and emit ?Angular
 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     subscribe vs emit


 Q54. Have you ever faced problem because of some listener / observers / subscriber performing action on the subscription which you don't want ? How did you fix the problem ?Angular
 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     


 Q55. What is the difference between closing and completing the observer / listener ?Angular
 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     observer   listener


 Q56. What is a pseudo-class?CSS
Ans. It is a CSS technique that sets the style when an element changes its state. E.g. style changes when mouse hover, different styles for visited or unvisited links, etc.

There are four different types of pseudo-classes:

Links: These pseudo-classes are used to style the link both in its normal state by default and when it has already been visited
Dynamic: Dynamic pseudo-classes can be applied to any element to define how they are shown when the cursor is located on them, or by clicking on them or when they are selected
Structural: Structural pseudo-classes allow to style elements based on an exact numerical position of the element
Others: Some elements can be styled differently based on the language or what type of label they are not.
Format
Name
Elements are styled if
Compatibility
Link and Dynamic Pseudo-classes
: link   Link   the value of the href attribute is not in the history   IE4, FF1, O3.5, S1, CSS1
: visited   Link Visited   the value of the href attribute is in the history   IE4, FF1, O3.5, S1, CSS1
: target   Target Link   a targeted link   FF1.3, O9.5, S1.3, CSS3
: active   Active   the element has been clicked   IE7, FF1, O3.5, S1, CSS1
: hover   On   the cursor is over the element   IE4 *, FF1, O3.5, S1, CSS2
: focus   Focus   the element captures the focus of the document   IE7, FF1, O7, S1, CSS2
* Only available for the item before IE7
Structural and Other Pseudo-classes
: root   Root   is the main element of a document   FF1.5, O9.5, S3.1, C3, CSS3
: empty   Empty   does not have child nodes   FF1.5, O9.5, S3.1, C3, CSS3
: only-child   Only son   has no sibling nodes   FF1.5, O9.5, S3.1, C3, CSS3
: only-of-type   Type Only   has a unique selector among its siblings   FF1.5, O9.5, S3.1, C3, CSS3
: first-child   First son   is the first child node of another element   FF1.5, O9.5, S3.1, C3, CSS3
: nth-of-type (n)   Nth of Type   is the nth element with that selector   FF1.5, O9.5, S3.1, C3, CSS3
: last-child   Last son   is the last child node of an element   FF1.5, O9.5, S3.1, C3, CSS3
: first-of-type   First of the Kind   is the first element of its selector type in the parent element   FF1.5, O9.5, S3.1, C3, CSS3
: last-of-type   Last of the Type   is the last element of its selector type in the parent element   FF1.5, O9.5, S3.1, C3, CSS3
: lang   Language   has a specifically defined language code   IE8, FF1.5, O9.5, S3.1, C3, CSS2.1
: not   Denial   you are not using a specific selector   FF1.5, O9.5, S3.1, C3, CSS3

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

   Like         Discuss         Correct / Improve     


 Q57. What are the main features of Java?Core Java
Ans. a) Object Oriented
b) Simple
c) Platform Independent
d) Secured
e) Robust
f) Portable
g) Multithreaded
h) Distributed

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

   Like         Discuss         Correct / Improve     


 Q58. What are the fundamental principles of object oriented programming? / What are the OOPs concepts?Core Java
Ans. a) Inheritance
b) Abstraction
c) Polymorphism
d) Encapsulation

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

   Like         Discuss         Correct / Improve     


 Q59. What do you mean by inheritance in java?Core Java
Ans. Inheritance is one of the key principle of object oriented programming. Through inheritance, one class can inherit the properties of another class. The class from which properties are inherited is called super class and the class to which properties are inherited is called sub class.

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

   Like         Discuss         Correct / Improve     


 Q60. Which one of AWS Lambda or API Gateway is a compute service ?Amazon Web Services (AWS)
Ans. AWS Lambda

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

   Like         Discuss         Correct / Improve     aws lambda      basic


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: