Filter interviews by
I applied via Apna Jobs and was interviewed in Jul 2020. There were 3 interview rounds.
Composer is a dependency manager for PHP.
Composer manages packages and their dependencies for PHP projects.
It allows easy installation and updating of packages.
Composer uses a composer.json file to define project dependencies.
Packages can be sourced from Packagist or other repositories.
Composer is widely used in the PHP community for managing project dependencies.
Gate is a Laravel feature that provides a simple way to authorize user actions.
Gate allows defining authorization policies for specific actions or resources.
It can be used to check if a user is authorized to perform a certain action.
Gate can be used in controllers, views, and other parts of the application.
Example: Gate::allows('update-post', $post) checks if the user is authorized to update the given post.
PHP code can be written in Blade templates using the @php directive.
Use the @php directive to write PHP code in Blade templates
Wrap the PHP code in opening and closing PHP tags
Use Blade syntax to output the result of the PHP code
Example: @php echo 'Hello World'; @endphp
MVC stands for Model-View-Controller, a software design pattern used for developing web applications.
Model represents the data and business logic
View displays the data to the user
Controller handles user input and updates the model and view accordingly
Separation of concerns makes it easier to maintain and modify code
Used in popular PHP frameworks like Laravel and CodeIgniter
Postman is a popular API development tool used for testing, documenting, and sharing APIs.
Postman allows developers to easily make HTTP requests and view responses.
It also provides features like automated testing, mock servers, and collaboration tools.
Postman can be used for REST, SOAP, and GraphQL APIs.
It has a user-friendly interface and is available as a desktop application or a web-based tool.
The .env file needs to be updated with production-specific configurations.
Update the APP_ENV variable to 'production'
Set the APP_DEBUG variable to 'false'
Update the database connection details
Update the cache and session drivers
Set the log level to 'error' or 'warning'
Update any other environment-specific configurations
SCD Type 2 implementation involves tracking historical changes in data by creating new records for each change.
Identify the columns that need to be tracked for changes
Add effective start and end dates to track the validity of each record
Insert new records for changes and update end dates for previous records
Maintain a surrogate key to uniquely identify each version of the record
I can join the team within 2 weeks.
I can start within 2 weeks of receiving the offer.
I need to give notice to my current employer.
I may need to relocate, which could affect my start date.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Nov 2024. There were 3 interview rounds.
Coding questions on java
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
Its very easy
Basic maths questions learned up to 10
Basic Apptitude questions
I applied via Company Website and was interviewed in Nov 2024. There were 4 interview rounds.
It was a simple Aptitude test designed to test your english proficiency and your quantitative skills.
There were 2 coding questions. The level of questions were not very high. The languages available for the round were Python, Java, C++, C, C#.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
display none hides the element completely, visibility hidden hides the element but still takes up space, opacity 0 makes the element transparent.
display none removes the element from the layout
visibility hidden hides the element but it still occupies space
opacity 0 makes the element transparent but still occupies space
Example: display: none; visibility: hidden; opacity: 0;
Polyfill for JavaScript method 'filter'
Create a function called 'filter' that takes a callback function as an argument
Loop through the array and apply the callback function to each element
If the callback function returns true, add the element to a new array and return it
Shadow DOM is a way to encapsulate the styling and structure of a web component, preventing styles from leaking out and clashing with the rest of the page.
Shadow DOM allows for creating self-contained components with their own DOM tree and styling.
It helps in preventing styles from the main document affecting the component and vice versa.
Shadow DOM can be created using the 'attachShadow' method in JavaScript.
It is comm...
Currying is a technique in JavaScript where a function with multiple arguments is transformed into a sequence of functions, each taking a single argument.
Currying allows you to create reusable functions with partial application of arguments.
It helps in creating more flexible and composable functions.
Example: const add = (a) => (b) => a + b; const add5 = add(5); console.log(add5(3)); // Output: 8
Event delegation in JavaScript is a technique where a single event listener is attached to a parent element to handle events for multiple child elements.
Event delegation helps improve performance by reducing the number of event listeners.
It is useful for dynamically created elements or elements with similar behavior.
Event delegation works by utilizing event bubbling, where events on child elements bubble up to the pare
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
Interview questions for Software Engineer position covering OOPS concepts, exception handling, SOLID principles, Java 8 features, and Streams.
Abstraction in OOPS: Hiding implementation details. Example: Abstract class Shape with method draw().
Encapsulation in OOPS: Bundling data and methods that operate on the data. Example: Class Employee with private fields and public getters/setters.
Inheritance in OOPS: Reusing code...
The interview questions cover various topics related to Spring framework, REST vs SOAP, JPA repository, Feign client, circuit breaker, and Spring Security.
Spring Boot provides a simpler and faster way to set up and run Spring applications compared to traditional Spring.
Common annotations in Spring include @Controller, @Service, @Repository, @Autowired, @Component, @RequestMapping, @GetMapping, @PostMapping, @PutMapping...
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Java 8 introduced several new features including lambda expressions, streams, and functional interfaces.
Lambda expressions: Allow for more concise and readable code by enabling functional programming.
Streams: Provide a way to work with collections of objects in a more functional style.
Functional interfaces: Interfaces with a single abstract method, used to enable lambda expressions.
Optional class: Helps to avoid null p...
Spring boot annotations are used to simplify the development process by providing metadata to the Spring framework.
1. @SpringBootApplication - Main annotation to indicate the main class of a Spring Boot application.
2. @RestController - Annotation for RESTful web services.
3. @Autowired - Dependency injection annotation.
4. @GetMapping, @PostMapping, @PutMapping, @DeleteMapping - Annotations for mapping HTTP requests to c...
String Builder is not synchronized and faster, while String Buffer is synchronized and slower.
String Builder is not thread-safe, while String Buffer is thread-safe.
String Builder is faster due to lack of synchronization, while String Buffer is slower due to synchronization.
String Builder is recommended for single-threaded operations, while String Buffer is recommended for multi-threaded operations.
String pool is a storage area in memory where strings are stored to optimize memory usage by reusing common strings.
String pool helps in reducing memory usage by storing only one copy of each unique string.
Strings created using double quotes are stored in the string pool.
Strings created using new keyword are not stored in the string pool.
There are two main types of memory in a computer system: stack memory and heap memory.
Stack memory is used for static memory allocation and is managed by the compiler. It is typically faster but limited in size.
Heap memory is used for dynamic memory allocation and is managed by the programmer. It is slower but has a larger size.
Examples: C programming language uses stack memory for function calls and heap memory for dy
Program for duplicate removal and sorting
TCS
Accenture
Wipro
Cognizant