 Good morning guys. I hope everyone is doing good. Welcome back to our channel. So today in this video We will be talking about new gen software interview questions and these questions were shared by one of our subscriber friend So recently he got an opportunity to have an interview with new gen software So the same questions what he have experienced Like what he have encountered in the interview he has shared with us and we are talking about those questions In this video so before getting into that questions part we can have a look at the mail what we have angular interview questions New Gen software technologies. So we have received this mail on 12th, July So high drunken engineer team you're doing a fantastic job. It's really Helps in interview preparation below the questions that I encountered at new gen software technologies interview so Coming to the topics. So these were the topics on which the interview has happened angular basic and advanced RxJS and NGRX. So if you are looking out for Interview questions on the UI part of so this video will definitely be helping you out Before getting further into the video, let us talk about the current job openings in India's 5 top unicorns credit reservoir urban company 1mg digit insurance if your dream job is to get into this Companies then this is the golden opportunity for you Usually it is tough to get into this company as they mainly hire from tier 1 campuses like IIT IMS and Even for few opening they receive a lot of resumes and so Chances are your resume will be missed But now there is a easier hack to getting a job at India's top five unicorns You will not require your resume to sit for any interview with these companies Instead these companies have started hiring through tests We where candidate can sit for the test and get a score based on your score You will become eligible for the interview with these companies So let us have a look at the current openings In the credit currently there are openings in the credit razor pray urban company 1mg and Digit insurance so coming to credit credit was founded by Kunal Shah credit is one of the fastest growing unicorns in India with a Valuation of 2.2 billion dollars credit is hiding for back-end and front-end developer rose CDC being offered is 14 to 26 Lacks per annum. I like ideal candidates are passing out in 2021 batch or zero to three years of experience preferred skills and competencies are given in the description and You can visit the real well certain to apply for the same. See this is a golden opportunity for two zero to three years and 2021 passing out batch 14 to 26 lakhs package coming to razor pack So razor pay was founded in 2014 Reservoir is a new age well-founded startup in the payments and finance industry Reservoir is hiring for back-end development roles CDC being offered is 20 to 24 lakhs package ideal candidates passing out in 2021 Zero to one years of experience preferred skills and competencies are given in the description Coming to next that is urban company It is most of you know like it is largest online services company with valuation of over two billion dollars Urban company is hiring for business development rose CDC offered is three to six lakhs per annum Ideal candidate zero to one years of experience in the field experience graduation any field is preferred preferred skills and Competencies are given in the description and next company is 1mg. This is India's leading integrated consumer health platform So one and you is hiring for back-end developer roles It is being offered is 10 to 30 lakhs per annum ideal candidate zero to one years of experience or one to three years of experience Prefer skills and competencies are given in the description and the final company that is digit insurance is India's first unicorn in 2021 valued over $1.9 billion. It is one of the largest insurance online insurance providers So this is insurance is hiring for a front-end and back-end developer rose CDC offered is zero to sorry two to seven lakhs per annum Ideal candidate zero to one years of experience or one two three Prefer skills and competencies are given in the description. So how to apply for this you can visit the Side which is being displayed on the scale that is a real level go to the job section view all the jobs and skills and the skills required Register for the test by paying rupees one triple line. You can use our coupon And available 10% discount at the time of registration Book the slot of your choice and take your test to get the real world score You should hurry because slots are getting really filled fast Once you receive your real-world score create your candidate profile real level will guide with the process Sit back and sit back and relax Companies will reach out to you based on your profile the better your real-world score The more companies will reach out. So what are you waiting for grab this golden opportunity to get a chance to work in India's top five Unicorns and all the best for that So coming to the questions part guys, this was the first question. Can you explain some important angular hooks? So these are the listed of Lifecycle hookups of Angler so in your on-genius and your on-init and you do check and you after content in it After content check and the after viewing it and the after view checked and you on this one And we have to explain in detail about the process or at least on those life cycle hookups Which we frequently use our at least what you have worked on so the questions were shared answers but I have added for just for the reference Coming to the next question. What is the difference between constructor and ng on in it? So the constructor is a default method of the class that is executed when the class is instantiated and ensures proper initialization of fields in the class and its subclasses coming to ng on it This is a life cycle hookup hook Called the angular to indicate that angular is done creating with the component. So this is a basic difference. We can say Can you explain the difference between component and directives using help of some example? So basically components have their own view Directive like doesn't have in in fact component is in indeed a directive So you can have your own differences that I have listed out one sample difference here components basically extends directive Coming to the next question. What is metadata in angular? So to keep it simple made metadata is used to declare a class so that it can configure the expected behavior of the class What is dependency injection in angular so dependency injection is a design pattern in which a class request Dependencies from external sources rather than creating them anglers dependency injection framework provides dependencies to the classes upon Instance creation you can use angular dependency injection to increase flexibility and modularity in your application Coming to the next question. What is the purpose of ng for directive? Can you write some code snippet for the same? So basically for iteration purpose we go for ng for so the ng for directive is used to repeat a portion of html template once per each item for an iterable list or collection The engine for is an angular structural directive and it is similar to ng repeat in angular and one more thing guys Please do have hands-on experience on this because lot of the questions have like can you write some code snippet for me? like they were expecting The code Maybe this was happened through a virtual because all the interviews are happening virtually these days So maybe we have to share our screen and write the code Coming to the next question. What happens if you see scripting tag in set template? So to be honest, I am not sure of this so you can search for it You can Google it for the answer or you can provide if you know the answer You can comment it out in the comment section so that even everyone come can be aware of it like at this At least we will learn from that What are the various security context in angular? So these are the few listed out security concepts You can go through it in detail afterwards But at short we can give a preventing cross-site scripting angular cross-site scripting security model Sanitization and security concept sanitization Example trusting safe values content security policy enforcing tested type direct use of DOM APIs and explicit Sanitization calls so here are the few that are listed out So it's up to your project to how to follow and how to implement which one to implement again that varies There can be extra things as well Coming to security especially in the banking domains. There are there is a huge security involved there So that can be different the answer can vary there again So that was about the security context in angular coming to the next question. How do you support server side? Production in angular application So server side access of production is supported in an angular application by using a Templating language that automatically escapes the value to prevent Excesses vulnerabilities on the servers, but don't use a templating language to generate Angler templates on the server side which creates a high risk of introducing template injection vulnerabilities to be honest Even I am not sure about this. What is server side access protection in angular? so Google the answer and So took help from one of the site and answering this I may be wrong on this How can we implement lazy loading in angular? Can you write code snippet for this? So you have to explain in detail like how if you have worked on it would be very easy for you to What I can say write the code snippet to for implementing the lazy loading process So how you load modules how you load classes based on what? So this is very interesting question Coming to the next question. What practices could you adopt to share data to another component elsewhere in the component stream? So basically how? Sharing data between angular components have four ways like all of us know parent to child child to parent child child to parent sharing way output and event emitter child to parent using view child or parent to child using data in like in that input unrelated components sharing with service What are the most outstanding features of RxJ? So here are few I have listed it out like observer observable subscription operators subject schedulers So coming to observer the observer is an object with next error and complete methods coming to observable in RxJs An observable function is used to create an observer and attaches to the source where values are expected Like for example clicks mouse events from a DOM element or hdb request, etc Subscription the role of subscription comes in the scene when the observable Observable is created to execute the observable. We need to subscribe to it It can be also be used to cancel the execution operators Operators are very important part of RxJs and operators a pure function that takes observable input and emits a result in the output form input and output both are observables your Subject a subject is observable again that can multicast that is talk to many observers Suppose we have a button with an event list and the function attached to that event using add list There is called every time the user clicks on the button similar functionality goes for the subject schedulers scheduler controls the execution of when the subscription has to start and Be notified. So these were the few of the outstanding features of RxJs I know there are many other features extraordinary features of RxJs You can mention out your own outstanding features what you feel which are outstanding next question what is the difference between behavior subject and Observable in RxJs. So here are the few differences that I have listed out you can wait for a moment and Go through those things if you are well aware of it or you can skip and go to the next question Coming to the next question How RxJs observable is different from promise. So here are the again listed out few differences here Observables are lazy promises are not lazy. You have to subscribe to Observable can be cancelled promises cannot be cancelled. So there are few differences here if you know others you can see that that that as well When we should use merge map switch map and concat mapping RxJs this again depends upon like the scenario Depending upon the scenario we go with either switch map of merge map or concat map. So It varies the answer varies from person to person here again What do you understand by reactive programming and what is the biggest disadvantage of reactive programming? So basically reactive program is a style of of micro micro architecture involving Intelligent routing and consumption of events. So and coming to like the disadvantages more memory intensive to store to stream of data Most of the times might feel unconventional to learn that certain needs everything to be a stream Most complexities have to be dealt with the time of declaration of new services Lack of good and simple resources to learn. This is one thing often confused to be equivalent to functional reactive programming So these are few disadvantages that I could found of reactive programming Coming to the next questions These are these were the questions like what is the flow or steps performed within the reducer method in Angular? What is the flow or steps performed within the luxury same question? What are the states of NGRX? What is the difference between NGRX and RXJS? So these were the questions that were asked asked in the Nugent software interview So this is the mail that we got from our subscriber friend Okay, one question that I missed was what is the flow or steps performed? Within the reducer method this was covered. Do we need to send a payload in reducer? So this was the question that we missed So this is the mail you can go this was for 4.2 years of experience candidate and We don't know about the outcome of the interview whether the candidate was selected or not because we haven't we have replied to this Mail, but we haven't got any reply on top of that So thought of sharing it might help for definitely for Angular developers like full stack developers These are very good questions To brish up before taking up an internet as a full stack developer So thought of sharing this with you all guys so that's it in this video and If you're wondering if you're watching our channel for the for on a video for the first time you might be wondering Who are we and what we do? So we are basically a bunch of software engineers who attend interviews and share our real-time interview experiences through these videos So even if you we share our subscriber friends who share their interview experiences with us And if you want to share your interview experience You can reach at the email ID that is given in the description and one more thing In the description we have given links to re-level and as a coupon course you can use it and get benefit out of it So these companies are you can visit our channel and get There are a lot of videos that we have already shared and you can get benefit out of it And if you haven't subscribed us, please do subscribe. Please like the video if you like the content Provide the feedback in the comment section share it to other technical platforms so that it might helpful to others and All the best for your interviews if you are preparing for I hope you are preparing that's the reason you're watching and Thank you for watching and thank you for your time