i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via LinkedIn and was interviewed in Nov 2023. There were 3 interview rounds.
An abstract class is a class that cannot be instantiated and is used as a base for other classes to inherit from.
Cannot be instantiated on its own
May contain abstract methods that must be implemented by child classes
Can have both abstract and non-abstract methods
Types of Drupal entities include nodes, users, taxonomy terms, and custom entities.
Nodes: Basic content type in Drupal, can represent articles, pages, etc.
Users: Represents individuals who can log in and interact with the site.
Taxonomy terms: Used for categorizing content.
Custom entities: Entities created by developers for specific needs.
Custom form methods in Drupal allow developers to create and manipulate forms in unique ways.
Custom form methods can be used to alter form elements, validate form submissions, and process form data.
Examples include using hook_form_alter to modify existing forms, implementing custom form validation functions, and creating custom submit handlers.
Custom form methods can also be used to create entirely new forms from scrat...
MySQL types of Joins, Delete vs TRUNCATE
Types of Joins in MySQL: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN
DELETE statement removes specific rows from a table based on a condition
TRUNCATE statement removes all rows from a table without logging individual row deletions
Git commands include add, commit, push, pull, merge, branch, checkout, and clone.
git add - stages changes for commit
git commit - records changes to the repository
git push - uploads local changes to a remote repository
git pull - downloads changes from a remote repository
git merge - combines changes from different branches
git branch - lists, creates, or deletes branches
git checkout - switches branches or restores files
gi
T function is used in Drupal to translate text strings into the current language of the website.
T function is used to translate text strings in Drupal.
It is used to ensure that text displayed on the website is in the correct language.
Developers can use the T function in their code to make it multilingual.
Example: t('Hello world') will translate 'Hello world' into the current language of the website.
Event subscriber example in Drupal development
Event subscribers allow modules to subscribe to and respond to events triggered by the Drupal core or other modules
Event subscribers are defined in a module's services.yml file
Example: Creating an event subscriber to log user login events
To debug errors in production environment, follow these steps
Check error logs for specific error messages
Use debugging tools like Xdebug or Drupal's built-in debugging features
Review recent code changes that may have caused the error
Test the code on a local environment to replicate the issue
Consult with team members or online forums for assistance
I applied via Naukri.com and was interviewed before Jul 2021. There was 1 interview round.
I applied via Campus Placement
Testing the job for reference need to drop the message as it's fake content
The top valuation in the task refers to the highest possible value or rating that can be achieved.
Identify the criteria for evaluation and determine the maximum possible score or rating.
Ensure that all aspects of the task are thoroughly assessed to reach the top valuation.
Consider any bonus points or extra credit that may contribute to achieving the highest valuation.
Was it useful to the search if not reference to be matched in the code
Give it try for testing the scenario can't be adjusted
More valuable in the world group job
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
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 campus placement at SRM Institute of Science and Technology, NCR Campus, Ghaziabad and was interviewed in Nov 2024. There was 1 interview round.
I am a passionate software engineer with 5 years of experience in developing web applications using various technologies.
5 years of experience in software development
Proficient in developing web applications
Skilled in using various technologies
Passionate about software engineering
Developed a web-based student management system for tracking attendance and grades.
Used HTML, CSS, and JavaScript for front-end development.
Implemented backend functionality using PHP and MySQL database.
Incorporated user authentication and authorization features for secure access.
Tested the system thoroughly to ensure functionality and user-friendliness.
Graduated with honors, completed multiple internships, and won coding competitions
Graduated with honors in Computer Science
Completed internships at XYZ Company and ABC Corporation
Won first place in coding competition at university hackathon
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
I applied via Campus Placement
I am a passionate software engineer with a strong background in computer science and experience in developing innovative solutions.
Completed a Bachelor's degree in Computer Science from XYZ University
Proficient in programming languages such as Java, Python, and C++
Worked on projects involving web development, database management, and machine learning
Strong problem-solving skills and ability to work in a team environmen
I was responsible for designing and implementing new features, fixing bugs, and optimizing performance in various projects.
Designed and implemented new features based on client requirements
Fixed bugs reported by QA team or end users
Optimized performance by refactoring code or improving algorithms
Collaborated with team members to ensure project deadlines were met
Yes, I am open to relocating for the right opportunity.
I am open to relocating for the right job opportunity
I am flexible and willing to move for the right position
I have relocated for previous jobs and am comfortable with the process
posted on 12 Nov 2024
It was an aptitute round and 2 coding questions was there
based on 2 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
52k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
46k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.6k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
19.9k
salaries
| ₹3.5 L/yr - ₹12.2 L/yr |
Wipro
Accenture
Cognizant
TCS