i
Coforge
Work with us
Filter interviews by
Creating a custom Starter dependency involves defining a Spring Boot Starter for reusable configurations.
1. Define a new Maven or Gradle project for your Starter.
2. Create a 'spring.factories' file in 'src/main/resources/META-INF' to register auto-configuration classes.
3. Implement the necessary configuration classes that encapsulate your desired functionality.
4. Package your Starter as a JAR and publish it to a M...
YAML is a human-readable data serialization format, often used for configuration files.
YAML uses indentation to denote structure, similar to Python.
Key-value pairs are defined using a colon, e.g., 'name: John Doe'.
Lists are represented with a dash, e.g., '- item1'.
Comments can be added using the '#' symbol.
Example of a simple YAML file: version: '1.0' services: web: image: nginx ports: ...
A leap year is a year that is divisible by 4, except for end-of-century years, which must be divisible by 400.
Divisibility by 4: A year is a leap year if it is divisible by 4 (e.g., 2020, 2024).
Century Rule: Years that are divisible by 100 are not leap years unless they are also divisible by 400 (e.g., 1900 is not a leap year, but 2000 is).
Examples: 2000 and 2400 are leap years, while 1900 and 2100 are not.
Leap Ye...
A custodian is a financial institution responsible for safeguarding a client's assets and ensuring proper record-keeping.
Custodians hold securities and other assets for clients, ensuring their safety.
They provide services such as settlement of trades, collection of dividends, and interest payments.
Custodians also maintain accurate records of ownership and transactions.
Examples include banks and specialized firms l...
Discussing CV-based questions to highlight relevant skills and experiences for a Wealth Management Associate role.
Highlight relevant coursework in finance or economics, such as 'Completed advanced courses in portfolio management.'
Discuss internships or work experience, e.g., 'Interned at XYZ Wealth Management, assisting with client portfolio analysis.'
Mention any certifications, like 'Achieved CFA Level I, demonst...
Investment banking involves financial services that assist companies in raising capital and providing advisory services for mergers and acquisitions.
Investment banks help companies issue stocks and bonds to raise capital.
They provide advisory services for mergers and acquisitions (M&A), helping firms navigate complex transactions.
Investment banks conduct market research and analysis to guide clients on financi...
Derivatives are financial contracts whose value is derived from an underlying asset, index, or rate.
Types of derivatives include options, futures, forwards, and swaps.
Options give the right, but not the obligation, to buy/sell an asset at a predetermined price.
Futures contracts obligate parties to buy/sell an asset at a future date for a specified price.
Swaps involve exchanging cash flows or liabilities between pa...
Configuring SAP HR involves setting up modules for personnel management, payroll, and organizational management.
Understand the organizational structure: Define company codes, personnel areas, and subareas.
Configure employee master data: Set up infotypes for personal details, employment history, and payroll data.
Implement payroll processing: Configure wage types, payroll areas, and run payroll simulations.
Set up ti...
Coforge is a global IT services company specializing in digital transformation and technology solutions across various industries.
Founded in 1992, Coforge has grown to become a prominent player in the IT services sector.
The company offers services in areas like cloud computing, data analytics, and application development.
Coforge has a strong focus on industries such as insurance, banking, and travel, providing tai...
SQL query to retrieve the complete hierarchy of an employee in a single row from an employee table.
Use a Common Table Expression (CTE) to recursively fetch the hierarchy.
Example CTE: WITH RECURSIVE EmployeeHierarchy AS (SELECT * FROM employee WHERE id = ? UNION ALL SELECT e.* FROM employee e INNER JOIN EmployeeHierarchy eh ON e.manager_id = eh.id) SELECT * FROM EmployeeHierarchy;
Replace '?' with the employee's ID ...
I appeared for an interview in Feb 2025.
Apache Spark is a distributed computing system designed for fast data processing and analytics.
Spark operates on a master-slave architecture with a Driver and Executors.
The Driver program coordinates the execution of tasks and maintains the SparkContext.
Executors are worker nodes that execute tasks and store data in memory for fast access.
Spark uses Resilient Distributed Datasets (RDDs) for fault tolerance and parallel...
Spark optimization techniques enhance performance by improving resource utilization and reducing execution time.
1. Catalyst Optimizer: Automatically optimizes query plans in Spark SQL, improving execution efficiency.
2. Tungsten Execution Engine: Focuses on memory management and code generation for better performance.
3. Data Serialization: Use efficient serialization formats like Kryo to reduce data transfer time.
4. Bro...
SparkSession is the entry point for Spark SQL, while SparkContext is the entry point for Spark Core functionalities.
SparkSession encapsulates SparkContext and provides a unified entry point for DataFrame and SQL operations.
SparkContext is used to connect to a Spark cluster and is the primary interface for Spark Core functionalities.
You can create a SparkSession using: `SparkSession.builder.appName('example').getOrCreat...
Read and write modes define how data is accessed and modified in files or streams, impacting data integrity and performance.
Read Mode (r): Opens a file for reading only. Example: 'file = open('data.txt', 'r')'
Write Mode (w): Opens a file for writing, truncating the file if it exists. Example: 'file = open('data.txt', 'w')'
Append Mode (a): Opens a file for writing, appending data to the end without truncating. Example: ...
Faced challenges in data accuracy, stakeholder communication, and adapting to market changes in previous projects.
Data Accuracy: Encountered discrepancies in historical data which required extensive validation and cleaning before analysis.
Stakeholder Communication: Misalignment with stakeholders on project goals led to revisions; implemented regular updates to ensure clarity.
Market Changes: Rapid shifts in market trend...
Both Azure and GCP have unique strengths; preference depends on specific project needs and organizational goals.
Azure offers seamless integration with Microsoft products, ideal for enterprises using Windows Server and SQL Server.
GCP excels in data analytics and machine learning, with tools like BigQuery and TensorFlow for advanced data processing.
Azure has a strong hybrid cloud strategy, allowing businesses to integrat...
I appeared for an interview in Feb 2025.
Props are inputs to components, while state is a component's internal data that can change over time.
Props (short for properties) are read-only and passed from parent to child components.
State is mutable and managed within the component itself, allowing it to change over time.
Example of props: <ChildComponent name='John' /> where 'name' is a prop.
Example of state: this.setState({ count: this.state.count + 1 }) up...
The spread operator expands iterable elements into individual elements, simplifying array and object manipulation in JavaScript.
Syntax: The spread operator is represented by three dots (...).
Usage with arrays: It can be used to create a new array by combining existing arrays. Example: const newArray = [...array1, ...array2];
Usage with objects: It allows for shallow copying and merging of objects. Example: const newObje...
Optimize React by minimizing re-renders, using memoization, and leveraging code-splitting techniques.
Use React.memo to prevent unnecessary re-renders of functional components.
Implement useCallback and useMemo hooks to memoize functions and values.
Utilize React.lazy and Suspense for code-splitting to load components only when needed.
Avoid inline functions in render methods to reduce re-creation on each render.
Use the sh...
React hooks can replace Redux for state management in simpler applications, but Redux offers more structure for complex states.
React's useState and useReducer hooks can manage local state effectively.
For global state, useContext combined with useReducer can mimic Redux functionality.
Example: useReducer can handle complex state logic similar to Redux reducers.
Redux provides middleware support (like redux-thunk) for asyn...
ES6 introduces significant improvements to JavaScript, enhancing syntax and functionality for developers.
Arrow Functions: Shorter syntax for function expressions. Example: const add = (a, b) => a + b;
Template Literals: Multi-line strings and string interpolation. Example: const greeting = `Hello, ${name}!`;
Destructuring Assignment: Unpacking values from arrays or properties from objects. Example: const [x, y] = [1, ...
Default parameters in ES6 allow functions to initialize parameters with default values if no argument is provided.
Default parameters are defined in the function signature: `function multiply(a, b = 1) { return a * b; }`.
If no value is passed for `b`, it defaults to `1`: `multiply(5)` returns `5`.
Default parameters can be any expression, including function calls: `function greet(name = getDefaultName()) { ... }`.
They ca...
Design principles are fundamental guidelines that inform and shape software architecture and design decisions.
Separation of Concerns: Different functionalities should be separated into distinct sections, e.g., MVC architecture.
Single Responsibility Principle: A class should have one reason to change, like a User class managing user data only.
Open/Closed Principle: Software entities should be open for extension but clos...
Liskov Substitution Principle states that objects of a superclass should be replaceable with objects of a subclass without affecting functionality.
Subtypes must be substitutable for their base types without altering the correctness of the program.
Example: If 'Bird' is a superclass, 'Sparrow' and 'Penguin' should be subclasses that can replace 'Bird' without issues.
Violating this principle can lead to unexpected behavio...
The Interface Segregation Principle advocates for creating smaller, specific interfaces rather than large, general-purpose ones.
Clients should not be forced to depend on interfaces they do not use.
Example: Instead of a single 'Animal' interface with methods like 'fly', 'swim', and 'walk', create separate interfaces like 'Flyable', 'Swimmable', and 'Walkable'.
This reduces the impact of changes and promotes better code o...
A request delegate in ASP.NET Core handles HTTP requests and defines how to process them in middleware.
Request delegates are functions that take an HttpContext and return a Task.
They are used in middleware to process requests and responses.
Example: app.Use(async (context, next) => { await next(); });
Delegates can be composed to create a pipeline of request processing.
They allow for separation of concerns in handling...
I appeared for an interview before Aug 2024, where I was asked the following questions.
Network switching is the process of directing data packets between devices on a network using switches.
Switches operate at Layer 2 (Data Link) of the OSI model, forwarding frames based on MAC addresses.
They create a separate collision domain for each connected device, improving network efficiency.
Example: A managed switch can prioritize traffic for VoIP applications to ensure call quality.
Switches can be classified int...
Network routing is the process of selecting paths for data packets to travel across networks.
Routing determines the best path for data to travel from source to destination.
Routers use routing tables to make decisions about where to forward packets.
Dynamic routing protocols like OSPF and BGP adjust routes based on network changes.
Static routing involves manually setting routes, useful for small networks.
Example: A route...
Network security involves measures to protect data and resources from unauthorized access and cyber threats.
Firewalls: Act as barriers between trusted and untrusted networks, controlling incoming and outgoing traffic.
Intrusion Detection Systems (IDS): Monitor network traffic for suspicious activity and alert administrators.
Encryption: Secures data in transit and at rest, making it unreadable to unauthorized users (e.g....
I appeared for an interview in Feb 2025.
Manual Test Engineers ensure software quality through systematic testing and defect identification.
Understand requirements: Analyze specifications to create test cases.
Test case design: Develop detailed test cases for various scenarios.
Execution: Perform manual tests and document results.
Defect reporting: Log defects with clear reproduction steps.
Collaboration: Work with developers to resolve issues.
Manual Test Engineers focus on testing software manually to ensure quality and functionality before release.
Understand the software requirements and specifications thoroughly.
Create detailed test cases based on requirements; for example, testing user login functionality.
Execute test cases and document results; for instance, noting any discrepancies in expected vs. actual results.
Report bugs using a bug tracking tool li...
I appeared for an interview in Jan 2025.
Callback is a function passed as an argument to another function to be executed later. Callback hell is the nesting of multiple callbacks resulting in unreadable code.
Callback is a function passed as an argument to another function, to be executed later.
Callback hell occurs when multiple callbacks are nested, leading to unreadable and difficult to maintain code.
To prevent callback hell, use Promises, async/await, or mo...
Closures are functions that have access to their own scope, as well as the scope in which they were defined.
Closures allow functions to access variables from their parent function even after the parent function has finished executing.
Closures are created whenever a function is defined within another function.
Closures are commonly used in event handlers, callbacks, and in functional programming.
ES6 (ECMAScript 2015) introduced several new features to JavaScript, making the language more powerful and expressive.
Arrow functions for concise syntax: const add = (a, b) => a + b;
Let and const for block-scoped variables: let x = 5; const y = 10;
Template literals for string interpolation: const name = 'Alice'; console.log(`Hello, ${name}!`);
Destructuring assignment for easily extracting values from arrays or objec...
Yes, {cat, Act} & {mary, Army} are anagrams.
Convert both words to lowercase to ignore case sensitivity.
Sort the characters in both words alphabetically.
Check if the sorted characters in both words are equal.
var is function scoped, let is block scoped, and const is block scoped with read-only values.
var is function scoped, meaning it is accessible throughout the function it is declared in.
let is block scoped, meaning it is only accessible within the block it is declared in.
const is block scoped like let, but the value cannot be reassigned.
The Kth stair problem involves finding the number of ways to reach the Kth stair by taking 1 or 2 steps at a time.
Use dynamic programming to solve this problem efficiently.
The number of ways to reach the Kth stair is equal to the sum of ways to reach (K-1)th stair and (K-2)th stair.
Base cases: For K=1, there is only 1 way. For K=2, there are 2 ways.
Example: For K=4, there are 5 ways to reach the 4th stair - [1,1,1,1], ...
Discussing my GitHub projects showcases my Java skills and practical experience in software development.
Project 1: Inventory Management System - A Java application for tracking stock levels, orders, and sales.
Project 2: Online Banking System - A secure web application for managing bank accounts and transactions using Java Spring.
Project 3: E-commerce Platform - Developed a full-stack application with Java backend and R...
I appeared for an interview in Dec 2024.
Utilize Data Extensions and SQL queries to manage large amounts of data in Salesforce Marketing Cloud.
Use Data Extensions to store and organize large amounts of data.
Utilize SQL queries to extract, manipulate, and update data in Data Extensions.
Consider using Automation Studio to automate data management processes.
Implement best practices for data hygiene and segmentation to optimize performance.
OOP in C# is a programming paradigm that uses objects to design applications, focusing on data encapsulation, inheritance, and polymorphism.
OOP in C# involves creating classes and objects to represent real-world entities
It emphasizes data encapsulation, allowing data to be hidden and accessed only through methods
Inheritance allows classes to inherit properties and behaviors from other classes
Polymorphism enables object...
An example of a design pattern is the Singleton pattern.
Design patterns are reusable solutions to common problems in software design.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Other examples include Factory, Observer, and Strategy patterns.
I appeared for an interview in Jan 2025.
An interface in software development is a contract that defines the methods that a class must implement.
Interfaces allow for multiple inheritance in programming languages that do not support it.
Interfaces provide a way to achieve abstraction in code, making it easier to maintain and extend.
Interfaces are used to define a set of methods that a class must implement, ensuring consistency and interoperability.
Example: Java...
To initialize a WebDriver object for controlling the Chrome browser.
To interact with the Chrome browser using Selenium WebDriver
To perform automated testing on web applications
To access the browser's functionalities and manipulate web elements
Reverse a string while keeping numbers and symbols in their original positions.
Iterate through the string and store the positions of numbers and symbols.
Reverse the string using a two-pointer approach.
Place the numbers and symbols back in their original positions.
Top trending discussions
Some of the top questions asked at the Coforge interview -
The duration of Coforge interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 589 interview experiences
Difficulty level
Duration
based on 5.7k reviews
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹6.8 L/yr - ₹22.2 L/yr |
Technical Analyst
2.8k
salaries
| ₹17.9 L/yr - ₹32 L/yr |
Software Engineer
2.3k
salaries
| ₹3.6 L/yr - ₹8.9 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹5.9 L/yr - ₹17.1 L/yr |
Technology Specialist
1.3k
salaries
| ₹22 L/yr - ₹39 L/yr |
Capgemini
Cognizant
Accenture
Infosys