Senior Software Engineer
4500+ Senior Software Engineer Interview Questions and Answers

Asked in Publicis

Q. Write a program to read numbers from 1 to infinity and convert them to words. For example, 1 should be converted to 'one', 100 to 'hundred', and 1543 to 'one thousand five hundred forty-three'.
A program to convert numbers into their English word representation, handling numbers from 1 to infinity.
Use a recursive function to break down numbers into manageable parts.
Handle special cases for numbers like 11-19 (e.g., eleven, twelve).
Use arrays or dictionaries to map numbers to words for efficiency.
Example: 1543 is broken down into 1000 + 500 + 40 + 3, resulting in 'one thousand five hundred forty three'.

Asked in Brillio

Q. How would you dynamically implement a table view for different profiles that can have more than 60 columns?
Use dynamic SQL to create table view with more than 60 columns for different profiles
Use dynamic SQL to generate the CREATE VIEW statement based on the profile requirements
Iterate through the profile columns and add them to the CREATE VIEW statement dynamically
Consider using a loop or a mapping function to handle the large number of columns efficiently

Asked in Medusind Solutions

Q. Difference between asp .net Vs asp .net MVC? Explain benefits of MVC?
ASP.NET is a web development framework while ASP.NET MVC is a design pattern for building web applications.
ASP.NET is a web development framework that follows a Web Forms model, where the UI and logic are tightly coupled.
ASP.NET MVC is a design pattern that separates the UI and logic, providing better maintainability and testability.
MVC allows for more control over the HTML, CSS, and JavaScript, making it easier to create responsive and interactive web applications.
ASP.NET MV...read more

Asked in Publicis Sapient

Q. Given an unsorted array of numbers, find the duplicate numbers and return them in an array.
Find duplicate numbers in an unsorted array and return the array.
Iterate through the array and keep track of seen numbers using a hash table.
If a number is already in the hash table, it is a duplicate.
Add the duplicate number to a new array and return it.

Asked in HCLTech

Q. What issues have you faced while troubleshooting your applications, and how did you overcome them?
Troubleshooting application issues requires thorough analysis, communication, and collaboration.
Identifying the root cause of the issue by analyzing logs, code, and system configurations.
Communicating effectively with team members to gather information and brainstorm solutions.
Collaborating with other teams such as DevOps or QA to investigate potential infrastructure or testing issues.
Utilizing debugging tools and techniques to isolate and fix the problem.
Documenting the trou...read more

Asked in Ellucian Higher Education Systems

Q. Efficient Program to identify if a string is palindrome, program to identify missing number from sequential numbers, design patterns, disposable pattern, .net framework, website traffic handling, basic concepts...
read moreInterview question for Senior Software Engineer covering various topics.
Palindrome program using string reversal or iteration
Missing number program using arithmetic formula or iteration
Disposable pattern for managing resources
ASP.NET MVC basics including routing and controllers
SQL Server query optimization techniques
Scrum methodology and its ceremonies
Senior Software Engineer Jobs




Asked in Medusind Solutions

Q. What are the differences between an abstract class and an interface, and how have you used them in your projects?
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define the methods that a class must implement.
Abstract classes can have constructors while interfaces cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have instance variables while interfaces cannot
Interfaces can have default methods while abstract classes cannot
Abstract cla...read more

Asked in Brillio

Q. Scenario: A trigger makes one callout per record, and 1000 records are updated. How would you handle this?
To handle 1000 record updates with one callout each, use batch processing and asynchronous methods to optimize performance.
Use batch processing to group records and reduce the number of callouts.
Implement asynchronous processing (e.g., using future methods or queueable Apex) to handle callouts without hitting limits.
Consider using a scheduled job to process records in smaller batches over time.
Utilize error handling and logging to manage failed callouts and retries effectivel...read more
Share interview questions and help millions of jobseekers 🌟

Asked in OpenText Technologies

Q. Describe the step-by-step process for registering an XML Publisher Report in detail.
The process for registering XML Publisher Report
Create a data model for the report
Create a template for the report using RTF or XSL-FO
Upload the template to the server
Create a report definition using the data model and template
Register the report definition with the XML Publisher server

Asked in Zealogics

Q. Why are strings in C# immutable, and how can we resolve this?
Strings in C# are immutable to ensure data integrity and thread safety.
Immutable strings prevent accidental data modification, ensuring data integrity.
To resolve immutability, use StringBuilder class for mutable string operations.
Example: StringBuilder sb = new StringBuilder("Hello"); sb.Append(" World");

Asked in Mphasis

Index hunting helps improve query performance by reducing the number of rows that need to be scanned.
Indexes allow the database to quickly locate the rows that satisfy a query criteria.
By using indexes, the database can avoid scanning the entire table, leading to faster query execution.
Examples of indexes include primary keys, unique keys, and indexes on frequently queried columns.

Asked in LTIMindtree

Q. in Angular what is services and how to call service api, and how bind our data with in component.
Services in Angular are singleton objects that provide functionality to components. They can be called using dependency injection.
Services are used to share data and functionality across multiple components
They can be created using the 'ng generate service' command
Services can be injected into components using the constructor
To call a service API, use Angular's HttpClient module
Data can be bound to components using property binding or two-way binding

Asked in DXC Technology

Q. why java is preferred? whats the benefit of functional programming and why introduced in java. what are wrapper classes, fibonaaci series , whats the use of join? what is threadinterrupted exception ? how hashm...
read moreAnswers to various technical questions related to Java programming.
Java is preferred for its platform independence, object-oriented nature, and vast community support.
Functional programming in Java allows for more concise and readable code, and better support for parallel processing.
Wrapper classes are used to convert primitive data types into objects, and vice versa.
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Join is a met...read more

Asked in Cybage

Q. Write program to count frequencyOfChars(String inputStr) ex. abbcddda a:2 b:2 c:1 d:3 Write program to isPowerOf3(int n) ex. 3->true 27->true 30->false Write SQL query of Emp (emp_id, name) Country Sal (emp_id,...
read morePrograms to count frequency of characters in a string, check if a number is power of 3, and SQL query to get highest salary employees by country.
For frequencyOfChars, use a HashMap to store character counts and iterate through the string.
For isPowerOf3, keep dividing the number by 3 until it becomes 1 or not divisible by 3.
For SQL query, use a subquery to get max salary for each country and join with Emp table.
Example SQL query: SELECT e1.* FROM Emp e1 JOIN (SELECT Country, M...read more

Asked in EagleDrift Technologies

Q. Suppose you have a CSV file and you want to convert this to an Apache file and load this to an S3 bucket. How would you do it?
To convert a CSV file to an Apache file and load it to an S3 bucket, use Apache NiFi for data transformation and AWS SDK for S3 upload.
Use Apache NiFi to read the CSV file, transform it into Apache format, and write it to a local directory.
Configure an Apache NiFi processor to upload the transformed file to an S3 bucket using AWS SDK.
Set up appropriate permissions and credentials for the S3 bucket access.
Monitor the Apache NiFi flow for successful file conversion and upload t...read more

Asked in R Systems International

Q. Given the equity stock pricing for a week which is a list of 7 prices, representing the price of each day: prices = [2,1,4,5,7,3,6]. Find the maximum profit we can make from the data, if we can buy at the lowes...
read moreCalculate maximum profit from stock prices by buying low and selling high within a week.
Iterate through the prices while keeping track of the minimum price seen so far.
For each price, calculate potential profit by subtracting the minimum price from the current price.
Update the maximum profit if the calculated profit is greater than the current maximum.
Example: For prices [2,1,4,5,7,3,6], buy at 1 and sell at 7 for a profit of 6.

Asked in cloudEQ

Q. What is current project and what is tech stack used in it?
I am currently working on a web application for a retail company using React, Node.js, and MongoDB.
Developing a responsive UI using React and Redux
Implementing server-side logic using Node.js and Express
Storing and retrieving data using MongoDB
Integrating third-party APIs for payment processing and shipping
Writing automated tests using Jest and Enzyme

Asked in TCS

Q. What is the difference between an interface and an abstract class?
Interface defines only method signatures while abstract class can have method implementations.
An interface can be implemented by multiple classes while a class can extend only one abstract class.
An abstract class can have instance variables while an interface cannot.
An abstract class can have constructors while an interface cannot.
An abstract class can provide default implementations for some methods while an interface cannot.
Example: An interface for a shape can have a metho...read more

Asked in OpenText Technologies

Q. Write a Program to find a second max in the give list? and Time Complexity
Program to find second max in a list and its time complexity
Sort the list in descending order and return the second element
Traverse the list and keep track of the maximum and second maximum elements
Time complexity: O(n)

Asked in Citicorp

Q. Can exceptions be written in a catch block separated by commas?
Yes, multiple exceptions can be caught in a single catch block separated by commas.
Multiple exceptions can be caught in a single catch block separated by commas.
This can be useful when handling different types of exceptions in a similar way.
For example: catch (IOException | SQLException ex) { // handle exception }

Asked in Amdocs

The life cycle of a thread in Java involves creation, running, blocking, and termination.
A thread is created by instantiating a class that extends Thread or implements Runnable interface.
The thread starts running when the start() method is called, executing the run() method.
A thread can be blocked by calling sleep(), wait(), or join() methods.
A thread terminates when the run() method completes or when stop() method is called.

Asked in GlobalLogic

Use a common method like using CTE with ROW_NUMBER() function to delete duplicates from a table in SQL Server.
Use a common table expression (CTE) with ROW_NUMBER() function to assign a unique row number to each duplicate record.
Delete the duplicate records by filtering out rows with row number greater than 1.
Example: WITH CTE AS (SELECT *, ROW_NUMBER() OVER (PARTITION BY column1, column2 ORDER BY column3) AS rn FROM table_name) DELETE FROM CTE WHERE rn > 1;

Asked in LiteBreeze

Q. How would you respond if the client responds in the given scenario?
Acknowledge the client's feedback, clarify their concerns, and propose solutions to ensure their needs are met effectively.
Listen actively to the client's concerns to understand their perspective.
Ask clarifying questions to ensure you fully grasp the issue.
Provide potential solutions or alternatives based on their feedback.
Reassure the client that their satisfaction is a priority and you are committed to resolving the issue.

Asked in CitiusTech

Q. If an array is assigned null, does it still have an array length?
No, assigning null to an array makes it empty and its length becomes 0.
Assigning null to an array makes it empty.
The length of an empty array is 0.
Trying to access length property of null will result in an error.

Asked in YASH Technologies

Q. What is GCD? Explain it in detail.
GCD stands for Greatest Common Divisor. It is the largest positive integer that divides two or more numbers without leaving a remainder.
GCD is used to find the highest common factor between two or more numbers.
It is often used in mathematical calculations and algorithms.
GCD can be calculated using various methods like Euclidean algorithm or prime factorization.
Example: GCD of 12 and 18 is 6, as 6 is the largest number that divides both 12 and 18 without leaving a remainder.

Asked in Birlasoft

Clustered index physically reorders the data in the table while non-clustered index does not.
Clustered index determines the physical order of data in the table, while non-clustered index does not.
A table can have only one clustered index, but multiple non-clustered indexes.
Clustered index is faster for retrieval but slower for insert and update operations, while non-clustered index is the opposite.
Example: Primary key in a table is usually implemented as a clustered index, wh...read more

Asked in GlobalLogic

The command to import a pre-exported Docker image into another Docker host is 'docker load'
Use the 'docker load' command followed by the file path of the exported image tarball to import it into the Docker host
For example, 'docker load < my_image.tar.gz' will import the image from the file 'my_image.tar.gz'
Ensure that you have the necessary permissions to access the file and import images on the target Docker host

Asked in Manhattan Associates

Q. What is dependency injection in Angular?
Dependency Injection (DI) is a design pattern used to implement IoC, allowing for better code modularity and testing.
DI allows a class to receive its dependencies from an external source rather than creating them internally.
It promotes loose coupling between classes, making the code easier to manage and test.
In Angular, DI is implemented using the @Injectable decorator and constructor parameters.
Example: A service can be injected into a component, allowing the component to us...read more

Asked in Persistent Systems

Q. what is express js and why it is used in web apps and what is body parser
Express.js is a popular Node.js web framework used for building web applications. Body-parser is a middleware used to parse incoming request bodies.
Express.js is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
It provides a way to handle HTTP requests and responses, routing, middleware, and more.
Body-parser is a middleware used to parse incoming request bodies in a middleware before your handlers,...read more

Asked in CGI Group

interrupted() checks if the current thread has been interrupted, while isInterrupted() checks if a thread has been interrupted.
interrupted() is a static method in the Thread class, while isInterrupted() is an instance method.
interrupted() clears the interrupted status of the current thread, while isInterrupted() does not.
Example: Thread.currentThread().interrupt(); System.out.println(Thread.interrupted()); // prints true
Example: Thread.currentThread().interrupt(); System.out....read more
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Senior Software Engineer Related Skills



Reviews
Interviews
Salaries
Users

