Filter interviews by
Top trending discussions
posted on 29 Nov 2022
CSS3 flexbox is a layout module that provides a more efficient way to align and distribute space among items in a container.
Flexbox allows for flexible and responsive layouts without using floats or positioning.
It uses a parent container and child elements with flexible properties to create the layout.
Properties include justify-content, align-items, and flex-wrap.
Flexbox is supported by all modern browsers.
Example:
Position property in CSS3 is used to set the position of an element relative to its parent or the viewport.
The position property can take values like static, relative, absolute, fixed, and sticky.
Static is the default value and elements are positioned according to the normal flow of the document.
Relative positions the element relative to its normal position.
Absolute positions the element relative to its nearest positio...
Closure is a function that has access to its parent scope even after the parent function has returned.
Closure allows for private variables and functions in JavaScript.
It is created when a function returns another function.
The inner function has access to the outer function's variables and parameters.
Example: function outer() { let x = 10; return function inner() { console.log(x); } }
Example: const innerFunc = outer();
Prototype is a property of an object that allows adding new properties and methods to an object.
Prototype is a blueprint for creating objects
It allows inheritance by sharing properties and methods between objects
Modifying the prototype affects all objects created from it
Prototype chain allows accessing properties and methods of parent objects
Example: Array.prototype includes() method
Pipe is a feature in Angular that allows transforming data before displaying it in the view.
Pipes are used to format and manipulate data in Angular templates.
They can be used to filter, sort, and transform data.
Pipes can be chained together to perform multiple transformations.
Angular provides built-in pipes like DatePipe, CurrencyPipe, and LowerCasePipe.
Custom pipes can also be created to meet specific requirements.
A directive is a component that adds behavior to an existing element or component in Angular.
Directives are used to manipulate the DOM, add event listeners, and create reusable components.
There are three types of directives in Angular: component, attribute, and structural.
Examples of built-in directives in Angular include ngIf, ngFor, and ngStyle.
Custom directives can be created using the @Directive decorator.
A component in Angular is a reusable piece of UI that consists of HTML, CSS, and TypeScript code.
Components are the building blocks of Angular applications.
Each component has its own logic and view.
Components can be nested within other components.
Components can communicate with each other using @Input and @Output decorators.
Examples of components include a login form, a navigation menu, and a product list.
Observables are a way to handle asynchronous data streams in Angular using RxJS library.
Observables are similar to promises but can handle multiple values over time.
They can be used for handling events, HTTP requests, and other asynchronous operations.
Operators can be used to transform, filter, and combine observables.
Subscriptions are used to listen to observables and receive data.
Example: fetching data from an API us
Event loop is a continuous process that runs in the background and handles all the events in the application.
Event loop continuously checks for new events in the event queue.
It processes each event one by one in a synchronous manner.
If an event takes too long to process, it can block the event loop and cause the application to freeze.
Event loop can be controlled using setTimeout(), setInterval(), and setImmediate() met...
posted on 20 Sep 2023
I applied via Shine and was interviewed before Sep 2022. There were 3 interview rounds.
It is very easy. Practice daily on Indiabix
I was given 2-3mins yo speak on the topic. It was is Indian Education system needs modification. Be confident while speaking.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Handle exceptions by using try-catch blocks to gracefully manage errors in code execution.
Use try-catch blocks to catch exceptions and handle them appropriately.
Throw custom exceptions when necessary to provide more specific error information.
Use finally block to execute code that should always run, regardless of whether an exception is thrown.
Avoid catching generic exceptions like Exception class, instead catch specif...
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class inherits properties and behaviors of the base class
Supports the 'is-a' relationship, where a derived class is a specialized version of the base class
I applied via Walk-in and was interviewed in Nov 2023. There were 3 interview rounds.
It involves 2 problem solving logical questions
I applied via campus placement at CDAC, Noida and was interviewed in Jan 2022. There were 4 interview rounds.
Best way to prefer java, core java and most imp spring boot because many of companies required spring boot now a days
Path variable is used to locate executable files while classpath variable is used to locate Java classes.
Path variable is used by the operating system to locate executable files.
Classpath variable is used by Java to locate classes and resources.
Path variable is system-specific while classpath variable is Java-specific.
Path variable is set by the user while classpath variable is set by the developer.
Example of path vari...
Enum is a special data type in Java used to define a set of constants.
Enums are used to represent a fixed number of values that do not change.
They are declared using the enum keyword.
Each enum constant is an object of the enum type.
Enums can have constructors, methods, and fields.
Example: enum Color { RED, GREEN, BLUE }
Enums can also have values associated with them, like Color.RED(255, 0, 0).
2 phase commit is a protocol used to ensure distributed transactions are either committed or rolled back.
Used in distributed systems where multiple databases are involved in a transaction
Ensures all databases either commit or rollback the transaction
Involves a coordinator and multiple participants
Coordinator sends a prepare message to participants, who respond with either commit or abort
If all participants respond with...
Yes, Java is completely object oriented.
Java is designed to be completely object oriented.
All code in Java is written inside classes and objects.
Java supports encapsulation, inheritance, and polymorphism.
Java does have some non-object oriented features like primitive data types.
However, even these can be treated as objects using wrapper classes.
Exception is an event that occurs during the execution of a program and disrupts the normal flow of instructions.
Exceptions are objects that are thrown at runtime when an abnormal condition occurs
Java provides a set of predefined exceptions that can be used to handle errors
Exceptions can be caught and handled using try-catch blocks
Unchecked exceptions are those that are not checked at compile-time, while checked except
posted on 2 Dec 2015
posted on 1 Feb 2024
Use pagination, indexing, caching, and query optimization to fetch 1 lakh entries efficiently from the database.
Implement pagination to fetch data in smaller chunks
Create indexes on columns frequently used in queries
Use caching to store frequently accessed data
Optimize queries by avoiding unnecessary joins and using appropriate indexes
Consider using database-specific optimizations like query hints or stored procedures
Network Engineer
27
salaries
| ₹1.4 L/yr - ₹3.5 L/yr |
Associate NOC Engineer
11
salaries
| ₹1.3 L/yr - ₹3 L/yr |
L2 Network Engineer
7
salaries
| ₹1.2 L/yr - ₹4.5 L/yr |
Service Assurance Manager
6
salaries
| ₹3.5 L/yr - ₹8 L/yr |
Senior Network Engineer
6
salaries
| ₹2.3 L/yr - ₹4.1 L/yr |
Bharti Airtel
Vodafone Idea
Jio
Tata Communications