Photon Technologies
Citicorp Interview Questions and Answers
Q1. HOW CAN WE TRANSFER DATA FROM ONE COMPONENT TO ANOTHER ?
Data can be transferred between components using props, state, context, or Redux.
Props: pass data from parent to child components
State: manage data within a component
Context: share data between components without passing props
Redux: manage global state for the entire application
Examples: passing user data from a login component to a dashboard component using props, managing form data within a component using state, sharing theme data between components using context, managing...read more
Q2. WHAT ARE INLINE ELEMENTS AND BLOCK ELEMENTS IN HTML ?
Inline elements are elements that do not start on a new line and only take up as much width as necessary. Block elements are elements that start on a new line and take up the full width available.
Inline elements include <span>, <a>, <strong>, <em>, <img>, <input>, <button>
Block elements include <div>, <p>, <h1> - <h6>, <ul>, <ol>, <li>, <table>, <form>
Q3. WHAT IS LAZY LOADING ? HOW CAN WE CALL HTTP REQUESTS FROM ONE COMPONENT TO ANOTHER COMPONENT ?
Lazy loading is a technique to defer loading of non-critical resources until they are needed.
Lazy loading improves page load time and performance.
It is commonly used for images, videos, and other media files.
To call HTTP requests from one component to another, we can use Angular's HttpClient service.
We can inject the HttpClient service in the constructor of the component and use its methods to make HTTP requests.
We can also use Angular's @Input and @Output decorators to pass ...read more
Q4. WHAT IS THE DIFFERENCE BETWEEN ANGULAR AND ANGULAR JS ? WHAT ARE THE MODULES IN ANGULAR ?
Angular is a complete rewrite of AngularJS with improved performance and features.
Angular is a TypeScript-based framework while AngularJS is a JavaScript-based framework.
Angular has a more component-based architecture while AngularJS uses a controller-based architecture.
Angular has better performance and improved features like server-side rendering and lazy loading.
Modules in Angular are used to organize code into separate, reusable pieces. Examples include FormsModule for ha...read more
Q5. WHAT IS ROUTING HOW CAN WE USE THAT ? WHAT ARE COMPONENT SERVICES ?
Routing is the process of selecting a path for network traffic. It is used to direct users to different pages in a web application.
Routing is used in web development to navigate between different pages or views in a web application
It involves defining routes and mapping them to specific components or views
Routing can be used to pass parameters and data between different components
Component services are reusable services that can be injected into components to provide function...read more
Q6. WHAT IS SYMANTIC TAG IN HTML?
Semantic tags in HTML are special tags that provide meaning and structure to the content, making it easier for search engines and screen readers to understand.
Semantic tags help define the structure of a web page, such as <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>, etc.
They improve accessibility by providing context to screen readers and assistive technologies.
Using semantic tags can also improve SEO as search engines can better understand the content an...read more
Interview Process at Citicorp
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month