0% found this document useful (0 votes)
21 views6 pages

Angular Interview Questions Guide

The document contains a comprehensive list of Angular interview questions covering various topics such as HTML, CSS, JavaScript, Angular concepts, and project-related inquiries. It includes questions about semantic tags, promises, routing, lifecycle hooks, and performance optimization. Additionally, it addresses practical scenarios and challenges faced in Angular projects.

Uploaded by

saurabhlodhi2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views6 pages

Angular Interview Questions Guide

The document contains a comprehensive list of Angular interview questions covering various topics such as HTML, CSS, JavaScript, Angular concepts, and project-related inquiries. It includes questions about semantic tags, promises, routing, lifecycle hooks, and performance optimization. Additionally, it addresses practical scenarios and challenges faced in Angular projects.

Uploaded by

saurabhlodhi2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Angular Interview Questions

1) what is doctype in html?

2) What is semantic and non-semantic tags?

3) Why are we using semantic tags?

4) What is meant by accessibility in html?

5) What is local storage? How does it differ from cookies?

6) What is block level and inline element?

7) Define positions in CSS.

8) Difference between relative and absolute positions?

9) Difference between flex box and grid layout?

10) What are the pseudo classes and pseudo elements?

11) How many ways to define CSS in HTML?

12) How do you make a webpage responsive?

13) How do you optimize web application?

14) How do you minimize CSS file?(If i have 500 lines of CSS file then how to optimize
CSS)

15) What is hosting in JS?

16) What is promise? What are the states of a promise?

17) Is JavaScript is case-sensitive?

18) Is HTML is case-sensitive?

19) What is event bubbling and event capturing?

20) What is CORS issue?

21) What is cross origin?

22) This cross rules implemented by JS or browser?

23) what is the output of every console -


[Link]("var:",x);

[Link]("let:",y);

[Link]("const:",z);

var x=10;

let y=20;

const z=30;

24) What is the output-

var x=10;

let y=20;

const z=30;

var x="block var";

let y="block let";

const z="block const";

[Link](x);

[Link](y);

[Link](z);

25) What is the output-

for(var i=0;i<3;i++)

setTimeout(()=>[Link](i),100);

26) If I want to print 0,1,2 than what we need to change in this code?

for(var i=0;i<3;i++)

setTimeout(()=>[Link](i),100);
}

27) what is the output of -

[Link](null===undefined);

28) Write a program to reverse a string in JS.

29) About Building tools- webpack and grunt?

30) You have to make a composite component and natively binding with a reactive from
then how would you achieve this?

31) Difference between Switch map and merge map?

32) How OnPush work?

33) You want to make own structure directive ngIf. how?

34) What is change detection and their types?

35) Difference between angular js and angular ts?

36) Difference between older version and new version of Angular?

37) What is the role of NgZone how to optimize it?

38) ACID properties in SQL

39) Can we use some library angular user to detect angular detect itself?

40) If I have one input parameter name, email, age and parent component pass and user
value during if i just change the user. Name property will it reflect in child component>

41) What is angular routing?

42) What is lazy loading? What if I use lazy loading in routing?

43) Difference between normal routing and lazy loading routing?

44) Use primary color

.shape:hover { cursor:pointer;}

45) What are CSS preprocessors?

46) Let const and var in JS?

47) Suppose componentA is parent component and component is child component


user having name, age, email and phone number, parent component need to change
age attribute, will it reflect to in child component?

48) {{dateValue}} need to transform into DDMMYY by using pipe


49) Difference between TS and JS?

50) Void tags in HTML

51) What is observables and promise?

52) What is stop propagation and event propagation in JS?

53) Difference between Undeclared and Undefined variables in JS?

54) Different types of ways to empty an array in JS?

55) Difference between Slice and Splice?

56) By using Slice how we can create empty array?

57) What is template in angular?

58) Is there is any case single component having multiple template?

59) What are decorators?

60) What is Annotation in angular?

61) What are the pipes in angular?

62) What is encapsulation?

63) What is bootstrap process in angular?

64) What is Eager loading?

65) How we can communicate between two components parent and child?

66) We have a unrelated component how we can communicate both of them without
using Event Emitter?

67) What are lifecycle hooks in angular?

68) What is the first Lifecycle hook?

69) What is reactive forms?

70) Different types of Forms?

71) How we can use Two-way binding in forms?

72) What is Fork join?

73) Difference between Fork join and concat operator?

74) What is content projection in angular?

75) Difference between rendering and element reference?


76) What is HTTP Interceptor?

77) Difference between Authorization and authguard ?

78) What is angular? Why we need angular framework?

79) What is NgModel in angular?

80) Write a function to reverse a string "WELCOME TO INTERVIEW" in javascript and


explain.

81) How we can check 5 is integer or not by using which methods?

82) Single page application means?

83) Basic building block in angular?

84) Difference between components and directives?

85) what is data binding in angular?

86) Let say I have existing angular app we need to improve performance so what should
we do to increasing the Performance?

87) Name of RxJs operator

88) How do you unsubscribe observables?

89) You have 2 API calls and you need the data from both API call simultaneously, So
what should be the RxJS operator to achieve this?

90) What is Interceptors? What interceptors does?

91) What are the Auth guard in angular?

92) You are on a page A you can navigate to page B before navigation need to hug the api
then we navigate to page B, how we can achieve this using route

93) What is shadow DOM?

94) You are using third party component need to change the style of third party
component how we can achieve this?

95) What is AOT(Ahead of Time) and JIT(Just In Time) compilation?

96) What is dependency injection?

97) What are services and how are they used?

98) What is directive? Types of directives?

99) How do you perform form validation in angular?


100) How can you pass data between routes?

PROJECTS Related-

1) Can you describe a recent angular project you worked on?

2) What challenges did you face while using angular and how did you solve them?

3) Have you worked with angular material or other UI libraries.

You might also like