Upload Button Icon Add office photos

Filter interviews by

Samasra Soft AI Engineer Interview Questions and Answers

Updated 24 May 2024

Samasra Soft AI Engineer Interview Experiences

1 interview found

AI Engineer Interview Questions & Answers

user image Anonymous

posted on 24 May 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before May 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Hackerearth coding round

Round 2 - One-on-one 

(2 Questions)

  • Q1. Describe your work experiences
  • Q2. Describe the projects you worked on

Interview Preparation Tips

Interview preparation tips for other job seekers - study basics of respective domains like computer vision, natural language processing etc

Interview questions from similar companies

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Questions about NLP and BERT
  • Q2. Basic Coding questions on OOPs concepts
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Nov 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Python, AI and ML algorithms, data sciences . Questions can be from any of the above. Since I had experience of Python , I was only asked for that . It went smooth.

Round 2 - Japanese language 

(1 Question)

  • Q1. We were asked to speak in Japanese
Round 3 - Behavioral 

(1 Question)

  • Q1. How well we manage situation and our attitude towards anything was judged.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident with your resume
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed in Jan 2025.

Round 1 - Interview Questions 

(15 Questions)

  • Q1. Explain the difference between ArrayList and LinkedList in Java. ArrayList is implemented as a dynamic array, while LinkedList is a doubly linked list. ArrayList provides fast random access (O(1) complexit...
  • Q2. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? The synchronized keyword ensures that only one thread can access a block of code at a time. It pre...
  • Q3. What is the difference between == and .equals() in Java? == checks for reference equality, meaning it compares memory addresses. equals() checks for value equality, which can be overridden in user-defined ...
  • Q4. How does the Java garbage collector work? Garbage collection in Java automatically reclaims memory occupied by unused objects. The JVM has different types of GC algorithms, including Serial, Parallel, CMS,...
  • Q5. What are the main features of Java 8? Java 8 introduced lambda expressions, enabling functional-style programming. The Stream API allows efficient data processing with map, filter, and reduce operations. D...
  • Q6. Describe the differences between checked and unchecked exceptions in Java. Checked exceptions must be handled using try-catch or declared with throws. Unchecked exceptions (RuntimeException and its subclas...
  • Q7. What is the Java Memory Model, and how does it affect multithreading and synchronization? The Java Memory Model (JMM) defines how threads interact with shared memory. It ensures visibility and ordering of ...
  • Q8. Can you explain the difference between method overloading and method overriding in Java? Method overloading allows multiple methods with the same name but different parameters. It occurs within the same cl...
  • Q9. What are functional interfaces in Java, and how do they work with lambda expressions? A functional interface is an interface with exactly one abstract method. Examples include Runnable, Callable, Predicate...
  • Q10. What is a Java Stream, and how does it differ from an Iterator? Streams enable functional-style operations on collections with lazy evaluation. Unlike Iterators, Streams support declarative operations lik...
  • Q11. Explain the concept of immutability in Java and its advantages. An immutable object cannot be changed after it is created. The String class is immutable, meaning modifications create new objects. Immutabl...
  • Q12. What is the difference between final, finally, and finalize in Java? final is a keyword used to declare constants, prevent method overriding, or inheritance. finally is a block that executes after a try-c...
  • Q13. Explain the Singleton design pattern in Java. Singleton ensures that only one instance of a class exists in the JVM. It is useful for managing shared resources like database connections. A simple implemen...
  • Q14. What are Java annotations, and how are they used in frameworks like Spring? Annotations provide metadata to classes, methods, and fields. @Override, @Deprecated, and @SuppressWarnings are common built-in ...
  • Q15. How do Java Streams handle parallel processing, and what are its pitfalls? Parallel streams divide data into multiple threads for faster processing. The ForkJoin framework handles parallel execution inter...
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed in Jan 2025.

Round 1 - Interview Questions 

(20 Questions)

  • Q1. Explain the difference between ArrayList and LinkedList in Java. When would you choose one over the other?
  • Q2. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? Can you explain how the ReentrantLock compares to synchronized?
  • Q3. What is the difference between == and .equals() in Java? When should each be used, and what issues can arise from improper usage?
  • Q4. How does the Java garbage collector work? Can you describe the different types of garbage collection algorithms available in Java?
  • Q5. What are the main features of Java 8? Can you explain how lambdas and the Stream API have changed the way Java applications are written?
  • Q6. Describe the differences between checked and unchecked exceptions in Java. Provide examples and explain how to handle them properly.
  • Q7. What is the Java Memory Model, and how does it affect multithreading and synchronization? How does volatile help ensure memory visibility?
  • Q8. Can you explain the difference between method overloading and method overriding in Java? Provide examples where each should be used.
  • Q9. What are functional interfaces in Java? How do they work with lambda expressions? Provide an example of a custom functional interface.
  • Q10. What is a Java Stream, and how does it differ from an Iterator? Explain how Streams can be used to process collections efficiently.
  • Q11. Explain the concept of immutability in Java. How does the String class achieve immutability, and what are the advantages of immutable objects?
  • Q12. What is the difference between final, finally, and finalize in Java? Provide examples to illustrate their usage.
  • Q13. Explain the Singleton design pattern in Java. How can you implement it safely to ensure thread safety?
  • Q14. What are Java annotations, and how are they used in frameworks like Spring? Explain the difference between built-in and custom annotations.
  • Q15. How do Java Streams handle parallel processing? What are the potential pitfalls of using parallel streams, and how can they be mitigated?
  • Q16. Explain the difference between ArrayList and LinkedList in Java. ArrayList is implemented as a dynamic array, while LinkedList is a doubly linked list. ArrayList provides fast random access (O(1) complexi...
  • Q17. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? The synchronized keyword ensures that only one thread can access a block of code at a time. It pr...
  • Q18. What is the difference between == and .equals() in Java? == checks for reference equality, meaning it compares memory addresses. equals() checks for value equality, which can be overridden in user-defined...
  • Q19. How does the Java garbage collector work? Garbage collection in Java automatically reclaims memory occupied by unused objects. The JVM has different types of GC algorithms, including Serial, Parallel, CMS...
  • Q20. What are the main features of Java 8? Java 8 introduced lambda expressions, enabling functional-style programming. The Stream API allows efficient data processing with map, filter, and reduce operations. ...
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(16 Questions)

  • Q1. What are custom hooks in React, and what are their use cases? Additionally, can you provide an example of a custom hook that performs an API call and utilizes the retrieved data?
  • Ans. 

    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...

  • Answered by AI
  • Q2. What is the difference between useMemo and useCallback in React?
  • Ans. 

    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.

  • Answered by AI
  • Q3. What is the difference between class-based components and functional components in React?
  • Ans. 

    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...

  • Answered by AI
  • Q4. How can you implement the lifecycle of a React component in a functional component?
  • Ans. 

    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

  • Answered by AI
  • Q5. What are the various state management techniques available in React?
  • Ans. 

    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

  • Answered by AI
  • Q6. What is the architecture of Redux, and what purposes do middlewares serve within it?
  • Ans. 

    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...

  • Answered by AI
  • Q7. What is hoisting in JavaScript?
  • Ans. 

    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.

  • Answered by AI
  • Q8. What is event bubbling in JavaScript?
  • Ans. 

    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().

  • Answered by AI
  • Q9. What are block scope and function scope in JavaScript?
  • Ans. 

    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...

  • Answered by AI
  • Q10. Have you had experience working with semantic tags in HTML?
  • Ans. 

    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.

  • Answered by AI
  • Q11. What are the various methods for creating an object in JavaScript?
  • Ans. 

    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

  • Answered by AI
  • Q12. What are the differences between shallow copy and deep copy in JavaScript?
  • Ans. 

    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(

  • Answered by AI
  • Q13. What will be the output of the following JavaScript code fragment: `const a; function test() { console.log(a); }; test();`?
  • Ans. 

    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.

  • Answered by AI
  • Q14. How can you use CSS to arrange elements in a row and column layout?
  • Ans. 

    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

  • Answered by AI
  • Q15. Have you utilized CSS preprocessors, and if so, which ones?
  • Ans. 

    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.

  • Answered by AI
  • Q16. If I have assigned different colors to an ID and a class and applied both to the same element, which color will be applied based on CSS specificity precedence?
  • Ans. 

    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

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Software Engineer interview:
  • Javascript
  • React.Js
  • HTML
  • CSS
Interview preparation tips for other job seekers - Possessing a deep understanding of JavaScript and React is essential. Interviewers may engage in mind games with candidates; therefore, we should remain calm and focused solely on the questions. Additionally, we need to be confident in our answers; otherwise, they may respond with doubt, asking, "Is that so?"

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
-
Result
Selected Selected
Round 1 - Aptitude Test 

There were a total of seven sections: verbal ability, logical reasoning, arithmetic problems, verbal reasoning, puzzles, pseudocodes, and essay writing, with each section having its own cutoff scores.

Round 2 - One-on-one 

(5 Questions)

  • Q1. What is the SQL query to retrieve the person with the highest salary?
  • Q2. Can you describe the projects you have worked on?
  • Q3. Write a query to merge 2 tables?
  • Q4. Tell me about the internship that you have done?
  • Q5. Behavioural questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I was interviewed in Dec 2024.

Round 1 - Technical 

(5 Questions)

  • Q1. Can you share your work experience?
  • Q2. What tools have you used to perform finite element analysis (FEA)?
  • Q3. What is your basic knowledge of the strength of materials and finite element method (FEM)?
  • Q4. What are the shear force distribution (SFD) and bending moment diagram (BMD) for cantilever beams made of two different materials that are subjected to a point load P at the free end?
  • Q5. What is the purpose of static analysis?

Interview Preparation Tips

Interview preparation tips for other job seekers - We should have a deep understanding of the strength of materials and finite element method (FEM), and we should be able to explain what we have accomplished and the reasons behind our actions in previous companies.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

It had a 2 programs with easy and medium level of coding programs, please go through the recent interview problems asked in wipro

Round 2 - Technical 

(5 Questions)

  • Q1. What is Object oriented programming
  • Ans. 

    Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.

    • OOP focuses on creating objects that interact with each other to solve problems

    • Encapsulation, inheritance, and polymorphism are key principles of OOP

    • Examples of OOP languages include Java, C++, and Python

  • Answered by AI
  • Q2. What is multi threading
  • Ans. 

    Multi threading is a programming concept where multiple threads within a process execute independently to improve performance.

    • Allows for concurrent execution of tasks within a single process

    • Improves performance by utilizing multiple CPU cores

    • Requires careful synchronization to avoid race conditions

    • Examples include web servers handling multiple requests simultaneously

  • Answered by AI
  • Q3. Why is java not 100% oop
  • Ans. 

    Java is not 100% OOP because it supports primitive data types and static methods.

    • Java has primitive data types like int, double, etc. which are not objects.

    • Java allows static methods which do not require an instance of a class to be called.

    • Java also has the concept of wrapper classes to convert primitive data types to objects.

  • Answered by AI
  • Q4. What are collections in java
  • Ans. 

    Collections in Java are classes and interfaces that provide a way to store and manipulate groups of objects.

    • Collections provide dynamic data structures like List, Set, and Map.

    • They offer methods to add, remove, and manipulate elements in the collection.

    • Examples include ArrayList, LinkedList, HashSet, and HashMap.

  • Answered by AI
  • Q5. Internal working of hash map
  • Ans. 

    A hash map is a data structure that stores key-value pairs and uses a hash function to map keys to their corresponding values.

    • Hash map uses a hash function to determine the index of the key-value pair in the underlying array.

    • Collision resolution techniques like chaining or open addressing are used to handle situations where multiple keys hash to the same index.

    • Hash maps typically have O(1) average time complexity for i...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Technical questions regarding Salesforce
  • Q2. Technical questions regarding Salesforce
Round 2 - HR 

(2 Questions)

  • Q1. Salary discussion
  • Q2. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - No hike in HCL in all fiscal year

Samasra Soft Interview FAQs

How many rounds are there in Samasra Soft AI Engineer interview?
Samasra Soft interview process usually has 2 rounds. The most common rounds in the Samasra Soft interview process are Coding Test and One-on-one Round.

Tell us how to improve this page.

Samasra Soft AI Engineer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.5k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.7k Interviews
Wipro Interview Questions
3.7
 • 5.7k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Amazon Interview Questions
4.1
 • 5.1k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
View all

Samasra Soft AI Engineer Reviews and Ratings

based on 1 review

2.0/5

Rating in categories

4.0

Skill development

3.0

Work-life balance

2.0

Salary

1.0

Job security

1.0

Company culture

3.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Devops Engineer
5 salaries
unlock blur

₹8.1 L/yr - ₹10 L/yr

Senior Software Test Engineer
4 salaries
unlock blur

₹5.4 L/yr - ₹7.2 L/yr

Full Stack Software Developer
3 salaries
unlock blur

₹6.6 L/yr - ₹11 L/yr

Sdet Engineer
3 salaries
unlock blur

₹4.5 L/yr - ₹6.6 L/yr

Explore more salaries
Compare Samasra Soft with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview