Skip to content

Commit 837bef6

Browse files
committed
updating intermediate level questions
1 parent 19b0956 commit 837bef6

File tree

1 file changed

+20
-34
lines changed

1 file changed

+20
-34
lines changed

README.md

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,15 @@ For the beginners level an interviewer wants to know whether this interviewee is
8787

8888
### Understanding Basic Concepts Questions
8989
1. Why would you use angular over some other framework like react?
90-
2. Difference between promise and observable?
90+
2. What is the difference between an observable and a promise?
9191
3. Tell me the difference between a component and a directive?
9292
4. Why would you use typescript aka benefits of typescript?
9393
5. Why different life cycle hooks is needed for a component/directive?
94-
6. Why angular uses rxjs
95-
7. what is the purpose of using zone js
94+
6. Why angular uses rxjs?
95+
7. What is the purpose of using zone js?
96+
8. What is the difference between ngOnInit() and constructor() of a component?
97+
9. When will ngOnInit be called? How would you make use of ngOnInit()?
98+
9699

97100

98101

@@ -102,67 +105,50 @@ Answers link coming soon
102105

103106
## Intermediate Level
104107

105-
you built angular2 you played with routing, https, different built process, unit test, etc. here are the questions you could expect
108+
In the intermediate level, you built medium size angular app and you played with routing, https, different built process, unit test, etc. here are the questions you could expect
106109

107-
In the intermediate level you are very comfortable with angular. Hence there is no what questions. Actually you know all of them by now. Hence there will be only how and why type questions
108110

109111

110112
### Essential Terminology Questions
113+
1. How will you protect a route for authorized user only?
114+
1. What is a custom pipe and how will you use it?
115+
1. What is a structural directive?
111116
1. What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
112-
1. What is the difference between an observable and a promise?
113-
1. What are some of the angular apis that are using observables?
114117
1. What is the difference between a module's forRoot() and forChild() methods and why do you need it?
115-
1. What is a structural directive?
116-
1. What pseudo-class selector targets styles in the element that hosts the component?
117118
1. What's the difference between dirty, touched, and pristine on a form element?
118-
1. What is a structural directive?
119-
1. What is an async pipe?
120-
1. What kind of data can be used with async pipe?
121-
1. What is the difference between ngOnInit() and constructor() of a component?
122-
1. When will ngOnInit be called?
123-
1. How would you make use of ngOnInit()?
124-
9. What is authGuard
119+
1. What is an async pipe? What kind of data can be used with async pipe?
125120
1. What is injectable? Give me some example.
126121
9. What is a pure pipe?
127-
122+
1. How will you create two way data binding in Angular?
128123

129124

130125

131126
### Comfortability to Build Medium Size App Questions
132127
1. How do components communicate with each other?
133-
1. How do you create two way data binding in Angular?
134-
1. What is the purpose of NgModule?
135128
1. How do you decide to create a new NgModule?
129+
1. How will you inject custom header in your http call?
136130
1. How do you identify a structural directive in html?
137-
1. How would you select a custom component to style it.
131+
1. How would you select a custom component to style it?
138132
1. How would you select all the child components' elements?
139-
1. How would you make use of ngOnInit()?
140133
1. How would you cache an observable data?
141-
1. How will you inject header
142-
7. How you create custom pipes
143-
1. How would you create a custom pipe?
144-
1. How would you pass data from a parent component to a child component?
145-
1. How would you pass data from a child component to a parent component?
146134
1. How would you cache observable data?
147135
1. How do you mock a service to inject in a unit test?
148-
1. How do you mock a module in a unit test?
149136
6. How would you run unit test?
150-
2. How will you protect a route for authorized user only
137+
151138

152139

153140
### Core Concepts Understandability Questions
154-
1. Why angular2 uses decorator
155-
1. When will ngOnInit be called?
141+
1. Tell me about feature module and shared module?
142+
1. What would you not put shared module?
143+
1. Why angular uses decorator?
144+
1. What is async validation and how is it done?
156145
1. Why do you need type definitions?
157146
1. Which components will be notified when an event is emitted?
158-
1. Why would you create shared module?
159-
1. What would you not put shared module?
160147
1. Why would you export from ngModule?
161148
1. Why is it bad if SharedModule provides a service to a lazy loaded module?
162-
1. What is the difference between an observable and a promise?
163149
1. Can you explain the difference between ActivatedRoute and RouterState?
164150
1. which service will you put in the module and why
165-
1. What is async validation and how is it done?
151+
166152

167153

168154

0 commit comments

Comments
 (0)