Interview Questions and Answers - Order By Newest Q3001. What is the selector and template in a component ? Angular
Ans. Selector specifies the name which is to be used to refer to the component whereas template specifies the html that needs to be rendered.
So selector specifies the reference name whereas template specifies the template or html to be rendered. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3002. What are the different ways we can specify the selector for the component ? 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   Q3003. How dependency injection in angular helps with loose coupling in angular ? 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  Dependency injection Q3004. What are the spec.ts files in angular ? Angular
Ans. The spec files are unit tests for your source files. The convention for Angular applications is to have a .spec.ts file for each .ts file. They are run using the Jasmine javascript test framework through the Karma test runner Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3005. What are abservables in angular ? 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   Q3006. what is strict mode in javascript ? How is it used ? Javascript
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   Q3007. Can we apply strict mode to a function ? Angular
Ans. Yes Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3008. Design Parking Lot. Design
This question was recently asked at 'Visa'.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 Q3009. how did you handled your clients requests in your project ?
This question was recently asked at 'Wayzon'.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 This question was recently asked at 'Chase'.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 Q3011. What is the main difference between unique key and primary key ? Database
Ans. Primary key will not accept NULL values whereas Unique key can accept one NULL value.
A table can have only primary key whereas there can be multiple unique key on a table.
A Clustered index automatically created when a primary key is defined whereas Unique key generates the non-clustered index. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Unique Key  Primary Key Asked in 1 Companies Q3012. What are various design frameworks for Banking profile ? Design
This question was recently asked at 'IBM India'.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 Q3013. Which file holds the dependent package information ? Angular
Ans. package.json Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3014. Have you ever faced any problem due to package version incompatibility in angular ? How did you fix it ? 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   Q3015. Difference between ViewChild and ContentChild. Angular
Ans. Any directive, component, and element which is part of component template is accessed as ViewChild. Whereas, any element or component which is projected inside is accessed as ContentChild. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ViewChild  ContentChild   ViewChild vs ContentChild Q3016. Which change detection strategy do you use in your application and Why ? Angular
Ans. We use ChangeDetectionStrategy.Push
As the application grows bigger , The default change detection strategy could become a performance overhead and hence should be avoided. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ChangeDetectionStrategy Asked in 1 Companies Q3017. What are the different conditions that triggers view update in case of push ChangeDetectionStrategy ? Angular
Ans. 1. Any change in Input
2. Any even originating from the component or it's child components
3. Explicit trigger Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  ChangeDetectionStrategy Q3018. What is a component decorator ? 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   Q3019. What is interpolation in Angular ? 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  interpolation Q3020. Can we use interpolation with all data types ?
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  interpolation Q3021. What are the limitations with using interpolation ? Why do we need property binding ?
Ans. Interpolation can only work with String types and hence we need property binding while working with other data types. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  interpolation  property binding Q3022. Have you ever had any problem with asynchronous programming due to race condition ? 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  race condition Q3023. Have you ever used sessionStorage ? What is the better way to store session information - sessionStorage or session cookie ? Session Management
Ans. Session Cookie, because session storage can be accessed from XSS (Cross site Scripting) attacks but cookies (if set with "HttpOnly" and "Secure" flags) are more safer against these attacks. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  SessionStorage  session cookie  session management  javascript Q3024. What are the benefits of using UI framework like Angular , View js etc instead of plain vanilla js and html ? Javascript
Ans. These frameworks facilitates easier product development and enhancement and maintainability by having separation of concerns ( using oops ) and helps in development of reusable libraries / components. So in nutshell , they make development and maintenance of large scale application easier. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Javascript Frameworks  Angular  View js This question was recently asked at 'Ksolves'.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  overridding  polymorphism Asked in 1 Companies Ans. Console - GUI Interface
gsutil - Command Line Interface
Rest API - Using JSON or XML API Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  GCP Storage 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  Google Compute Engine 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  Google Compute Engine  Google App Engine 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  GCP Pricing ModelAns. MS active directory concept and in GCP its Cloud Identity Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Google Compute Engine API  GCP Authentication