Add office photos
Engaged Employer

LTIMindtree

3.6
based on 15.8k Reviews
Filter interviews by

1500+ Interview Questions and Answers

Updated 16 Dec 2024
Popular Designations
Q1. Find prime numbers

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example ...read more

View 3 more answers
Q2. Longest Harmonious Subsequence

You are given an array ‘ARR’ of 'N' integers. Your task is to find the longest harmonious subsequence of this array.

A sequence is Harmonious if the difference between the maximum ...read more

View 4 more answers
Q3. Sum of squares of first N natural numbers

You are given an integer 'N'. You need to find the sum of squares of the first 'N' natural numbers.

For example:
If 'N' = 4. You need to return 1^2 + 2^2 + 3^2 + 4^2 = 3...read more
View 6 more answers
Q4. Count Even Or Odd

Tanmay and Rohit are best buddies. One day Tanmay gives Rohit a problem to test his intelligence and skills. He gives him an array of N natural numbers and asks him to solve the following queri...read more

View 4 more answers
Discover null interview dos and don'ts from real experiences

Q5. there are 3 wheels. each can travel only 5kms. everytime you want to use the wheel to move forward, you have to use 2 of them. what is the maximum distance you can travel?

Ans.

Maximum distance that can be traveled using 3 wheels, each with a 5km limit and requiring 2 wheels to move forward.

  • Using all 3 wheels, we can move forward a total of 10kms (5kms using 2 wheels at a time)

  • After using the first 2 wheels to travel 5kms, we can switch to the remaining wheel and travel another 5kms

  • Alternatively, we can use 2 wheels to travel 5kms, then switch to the remaining wheel and use another 2 wheels to travel another 5kms, for a total of 10kms

View 1 answer

Q6. 1) If you are given a card with 1-1000 numbers and there are 4 boxes. Card no 1 will go in box 1 , card 2 in box 2 and similarly it will go. Card 5 will again go in box 1. So what will be the logic for this cod...

read more
Ans.

Logic for distributing cards among 4 boxes in a circular manner.

  • Use modulo operator to distribute cards among boxes in a circular manner.

  • If card number is divisible by 4, assign it to box 4.

  • If card number is divisible by 3, assign it to box 3.

  • If card number is divisible by 2, assign it to box 2.

  • If card number is not divisible by any of the above, assign it to box 1.

View 3 more answers
Are these interview questions helpful?
Q7. Reverse a string

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You hav...read more
View 2 more answers
Q8. Valid Parentheses

You're given string ‘STR’ consisting solely of “{“, “}”, “(“, “)”, “[“ and “]” . Determine whether the parentheses are balanced.

Input Format:
The first line contains an Integer 'T' which denot...read more
Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Matrix Multiplication

Ninja has been given two sparse matrices ‘MAT1’ and ‘MAT2’ of integers having size ‘N’ x ‘M’ and ‘M’ x ‘P’, respectively.

A sparse matrix is a matrix that contains very few non-zero element...read more

View 3 more answers
Q10. Next Greater Element

For a given array/list of integers of size N, print the Next Greater Element(NGE) for every element. The Next Greater Element for an element X is the first element on the right side of X in ...read more

View 2 more answers
Q11. Alien dictionary

You have been given a sorted (lexical order) dictionary of an alien language. Write a function that finds the order of characters in the alien language. This dictionary will be given to you in t...read more

View 2 more answers
Q12. Candies

Prateek is a kindergarten teacher. He wants to give some candies to the children in his class. All the children stand in a line and each of them has a grade according to his or her performance in the cla...read more

View 2 more answers
Q13. Change Start Node

You are given a singly linked list and an integer ‘K’. You are supposed to make ‘K’ th node from the end of a linked list as the starting node of the linked list.

Note :
Given ‘K’ will always b...read more
View 2 more answers
Q14. Chocolate Problem

Given an array/list of integer numbers 'CHOCOLATES' of size 'N', where each value of the array/list represents the number of chocolates in the packet. There are ‘M’ number of students and the t...read more

View 2 more answers
Q15. Inplace rotate matrix 90 degree

You are given a square matrix of non-negative integers of size 'N x N'. Your task is to rotate that array by 90 degrees in an anti-clockwise direction without using any extra spac...read more

View 2 more answers
Q16. Flip The Bits

Ninja has a binary string ‘S’ of length ‘N’. Initially, all the characters in a string are ‘1’, i.e.

S[i] = ‘1’ for each 1 <= ‘i’ <= ‘N’. 

An operation is defined as choosing a number between 1 to ...read more

View 2 more answers

Q17. Which coding language are you comfortable with?

Ans.

I am comfortable with multiple coding languages including Java, Python, and C++.

  • Proficient in Java, Python, and C++

  • Experience with web development languages such as HTML, CSS, and JavaScript

  • Familiarity with scripting languages like Bash and PowerShell

  • Comfortable with SQL and NoSQL databases

  • Knowledge of machine learning libraries like TensorFlow and Keras

View 2 more answers

Q18. 1.data dictionary concept-table creation steps How do you maintain TMG? What is one step and two step? Where do you use the search help and types of search help? What are lock objects? Difference between struct...

read more
Ans.

Questions related to SAP ABAP concepts and terminology.

  • Data dictionary concept and table creation steps

  • TMG maintenance

  • One step and two step

  • Search help and types of search help

  • Lock objects

  • Difference between structure and table

  • Views and types of views

Add your answer

Q19. 5.enhancements What is enhancements? Types of enhancements? How do you find an exit? Difference between classic badi and kernel badi? Difference between customer exit and user exit? Types of customer exit? Type...

read more
Ans.

Enhancements are ways to modify SAP standard functionality. There are various types of enhancements and exits available.

  • Enhancements are used to modify SAP standard functionality without changing the original code

  • Types of enhancements include user exits, customer exits, BAdIs, enhancement spots, and enhancement frameworks

  • Exits are identified by searching for function modules with names containing 'EXIT_' or 'SMOD_'

  • Classic BAdIs are implemented using function modules, while ke...read more

Add your answer
Q20. DBMS Question

What is Normalization and forms of normalization?

Add your answer
Q21. Python Question

What are dunder methods in Python?

Add your answer

Q22. Do you know about sorting algorithms? What are the types of sorting algorithms? Write them,

Ans.

Sorting algorithms are used to arrange data in a specific order. There are various types of sorting algorithms.

  • Types of sorting algorithms include: bubble sort, selection sort, insertion sort, merge sort, quick sort, heap sort, counting sort, radix sort, and bucket sort.

  • Bubble sort compares adjacent elements and swaps them if they are in the wrong order.

  • Selection sort selects the smallest element and swaps it with the first element, then selects the second smallest and swaps ...read more

View 1 answer
Q23. Nth Fibonacci Number

Nth term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

 F(n) = F(n-1) + F(n-2), Where, F(1) = F(2) = 1 

Provided N you have to find out the ...read more

View 4 more answers
Q24. Reverse the String

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You h...read more
View 2 more answers

Q25. 6.sap script and smart form? Types of window in sap script and smart form Is script is client dependent or independent? Difference between script and smart form? Tell me the tcodes used for smart forms and scri...

read more
Ans.

Questions related to SAP ABAP scripting and smart forms.

  • SAP Script and Smart Forms are used for creating and printing forms in SAP systems.

  • SAP Script has client dependency while Smart Forms are client independent.

  • SAP Script uses function modules like OPEN_FORM, WRITE_FORM, and CLOSE_FORM.

  • Smart Forms use function modules like SMARTFORM_FILL_OUT, SMARTFORM_GET_SMARTFORMS_LIST, and SMARTFORM_GET_PRINT_PDFS.

  • SAP Script has fewer features compared to Smart Forms.

  • SAP Script has wind...read more

Add your answer

Q26. Your introduction? What are oops concept? What is inheritance? What is difference between c and c++? Write a code to print sum of all prime no. Between 1to100? What is primary key and foreign key? Difference be...

read more
Ans.

Answers to questions asked in a Graduate Engineer Trainee interview

  • OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction

  • Inheritance is a mechanism where a new class is derived from an existing class

  • C++ is an object-oriented programming language while C is a procedural programming language

  • Code to print sum of prime numbers between 1 to 100: [code snippet]

  • Primary key is a unique identifier for a record in a table while foreign key is a field in a table...read more

Add your answer

Q27. Explain any terraform project that I did recently also what were the variables you defined in terraform configuration, how will you access a storage account blob container from more than one subscriptions from ...

read more
Ans.

Explaining recent Terraform project, accessing storage account blob container from multiple subscriptions, Azure DevOps variable group and pipeline, and brief on Ansible role.

  • Recently worked on Terraform project to provision Azure resources

  • Defined variables in Terraform configuration for resource names and sizes

  • Accessed storage account blob container from multiple subscriptions using shared access signature (SAS) tokens

  • Current project infrastructure in Azure includes virtual ...read more

Add your answer

Q28. 2.Reports: Events in classical reports and explain? Events in interactive reports? Difference between at pf status and user command? Tell me the function module you last used in your report? How do you debug th...

read more
Ans.

Questions related to SAP Abap reports and debugging

  • Events in classical reports are start-of-selection, end-of-selection, and top-of-page. In interactive reports, events are at-line-selection, at-user-command, and top-of-page.

  • AT PF status is used to define the status of the screen, while user command is used to define the actions that can be performed on the screen.

  • The function module used in a report depends on the requirement. For example, if we need to convert a date from o...read more

Add your answer

Q29. What should be done when a defect is found in production?

Ans.

Defects found in production should be immediately reported and a plan should be made to fix the issue.

  • Report the defect to the development team and stakeholders

  • Analyze the impact of the defect on the system and users

  • Prioritize the defect based on severity and impact

  • Create a plan to fix the defect and test the fix thoroughly

  • Deploy the fix to production after testing

  • Monitor the system to ensure the defect has been resolved

View 2 more answers

Q30. in Angular what is services and how to call service api, and how bind our data with in component.

Ans.

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

Add your answer

Q31. How will you write a program to . For example, create a calculator

Ans.

To create a calculator program, use a GUI framework and implement basic arithmetic operations.

  • Choose a programming language and a GUI framework such as JavaFX or Tkinter.

  • Implement the basic arithmetic operations such as addition, subtraction, multiplication, and division.

  • Add functionality for decimal points, clear button, and negative numbers.

  • Test the program thoroughly to ensure accuracy and usability.

Add your answer

Q32. What is the difference between Array and LinkedList? What are binary search, code, and complexities? What is a deadlock? What is OOPS? Pillars of OOPS(Encapsulation, Inheritance, Abstraction, Polymorphism), wit...

read more
Ans.

Interview questions for Software Engineer position

  • Array is a collection of elements of the same data type, while LinkedList is a collection of nodes that contain data and a reference to the next node

  • Binary search is a search algorithm that divides the search interval in half at every step, reducing the search space by half

  • Code complexity refers to the level of difficulty in understanding and maintaining a piece of code

  • Deadlock is a situation where two or more processes are un...read more

Add your answer
Q33. Basic HR Questions

Q1. Introduction
Q2. Strengths and Weaknesses
Q3. Are you willing to relocate ?

Add your answer
Q34. Python Question

How to create a Context Manager?

Add your answer

Q35. eliminate repeated array from the given string

Ans.

To eliminate repeated array from a given string

  • Convert the string to an array using split() method

  • Use Set object to remove duplicates from the array

  • Convert the array back to string using join() method

View 1 answer

Q36. 1. Difference between calculate and filter function. 2. What is pivot and unpivot table in power bi? 3. Optimization techniques in power bi. 4. Types of gateways in power bi. 5. Difference between star and snow...

read more
Ans.

Questions related to Power BI

  • Calculate function is used to create new columns based on a formula while filter function is used to filter data based on a condition.

  • Pivot table is used to summarize and aggregate data while unpivot table is used to transform data from wide to long format.

  • Optimization techniques include reducing data model size, using calculated columns instead of measures, and minimizing data refresh frequency.

  • Types of gateways include personal, on-premises, and...read more

Add your answer

Q37. How do you performed incrimental load in your project?

Ans.

Incremental load is performed by identifying new data and adding it to the existing data set.

  • Identify new data based on a timestamp or unique identifier

  • Extract new data from source system

  • Transform and map new data to match existing data set

  • Load new data into target system

  • Verify data integrity and consistency

Add your answer

Q38. 1. diff b/w findelements vs findelement? 2. set vs map? 3. wap for occurences of characters 4. wap for fibonacci series 5. write xpath from a website(they will tell the exact location) 6. How to get galues from...

read more
Ans.

Answers to various technical questions related to automation testing and software development.

  • findElements vs findElement: findElements returns a list of web elements matching the locator, while findElement returns the first web element matching the locator.

  • Set vs Map: Set is a collection of unique elements, while Map is a collection of key-value pairs.

  • Program for occurrences of characters: Write a program to count the occurrences of each character in a given string.

  • Program f...read more

View 3 more answers
Q39. DBMS Question

What are the different types of joins in SQL?

Add your answer

Q40. 1. Difference between sum and sumx function in power bi. 2. What is X Velocity in power BI ? 3. Types of filters in power bi. 4. Types of connection mode in power bi.

Ans.

Answers to Power BI related questions.

  • sum function adds up the values in a column, while sumx function adds up the result of an expression evaluated for each row in a table

  • X Velocity is a feature in Power BI that allows for faster data processing and analysis

  • Types of filters in Power BI include visual level filters, page level filters, and report level filters

  • Types of connection mode in Power BI include Import, DirectQuery, and Live Connection

Add your answer

Q41. What is meant by regression and retesting?

Ans.

Regression is testing to ensure changes do not affect existing functionality. Retesting is testing to ensure defects have been fixed.

  • Regression testing is done to ensure that changes made to the software do not affect the existing functionality.

  • Retesting is done to ensure that defects found during testing have been fixed.

  • Regression testing is done after every change to the software.

  • Retesting is done after a defect has been fixed.

  • Regression testing is automated to save time an...read more

Add your answer

Q42. Explain microservice architecture and how do we implement that using spring boot

Ans.

Microservice architecture is a design approach where an application is composed of small, independent services that communicate over well-defined APIs.

  • Break down the application into smaller, loosely coupled services that can be developed, deployed, and scaled independently.

  • Each service focuses on a specific business capability and communicates with other services through APIs.

  • Spring Boot provides a convenient framework for building microservices by offering features like emb...read more

Add your answer

Q43. What are a concurrent hashmap and its advantage over a normal hashmap?

Ans.

Concurrent hashmap allows multiple threads to access and modify the map concurrently without causing data inconsistency.

  • Concurrent hashmap is thread-safe and allows multiple threads to access and modify the map concurrently.

  • It uses a technique called lock striping to divide the map into segments and apply locks to each segment instead of the entire map.

  • This allows multiple threads to access different segments of the map concurrently without causing data inconsistency.

  • Concurre...read more

Add your answer

Q44. 1. Introduce yourself 2. Predict the output for a program that would throw DivideByZeroException 3. Write a program to find factorial 4. Write a program: "Welcome To Mindtree" to "Mindtree To Welcome" 5. Compon...

read more
Ans.

The interview questions cover topics like introducing oneself, predicting program output, writing programs, Selenium components, Cucumber, and API encryption.

  • Introduce yourself confidently, highlighting relevant experience and skills.

  • To predict the output of a program that throws DivideByZeroException, understand how the exception is handled in the code.

  • Write a program to find factorial using loops or recursion.

  • To reverse the words in a string, split the string into words, re...read more

View 1 answer

Q45. Write a Program to print the following pattern: * * * * * * * * * * * * * * *

Ans.

Program to print a pattern of stars in a pyramid shape

  • Use nested loops to print the pattern

  • The outer loop controls the number of rows

  • The inner loop controls the number of stars in each row

View 1 answer

Q46. 3.module pool programming Events in module pool ? Difference between process before output and process after input? What is the default screen number?

Ans.

Module pool programming events, process before output and process after input, default screen number.

  • Events in module pool include initialization, start-of-selection, end-of-selection, and others.

  • Process before output is used to modify screen elements before they are displayed, while process after input is used to validate user input.

  • The default screen number is 1000.

Add your answer

Q47. if you change the infrasrtuctur in aws management console will it change statefile

Ans.

Yes, changing infrastructure in AWS management console will change statefile.

  • Any changes made in the AWS management console will be reflected in the statefile.

  • The statefile is a record of the current state of the infrastructure.

  • For example, if you add a new EC2 instance in the management console, it will be reflected in the statefile.

View 2 more answers
Q48. Python Question

What are generators and decorators?

Add your answer

Q49. Tell me about yourseld About projects What is sorting Insertion sort code What is searching Binary and linear search code About projects Oops concept ( polymorphism, enacpsulation).

Ans.

Interview questions on software engineering concepts and projects

  • Discussed my background and experience

  • Explained my projects and their significance

  • Defined sorting and provided insertion sort code

  • Explained searching and provided binary and linear search code

  • Discussed OOP concepts such as polymorphism and encapsulation

Add your answer
Q50. Basic HR Questions

Q1. He asked for an end to end explanation of my last project.
Q2. Why do you want to join Larsen & Toubro Infotech?

Add your answer

Q51. 7.Idoc Steps to create an idoc? Steps to reprocess the idoc? How do you debug the idoc?

Ans.

Steps to create, reprocess and debug an IDoc in SAP ABAP.

  • To create an IDoc, define the message type, basic type, and segment structure in WE31.

  • Create a function module to populate the IDoc data and trigger the IDoc creation using WE19.

  • To reprocess an IDoc, use transaction BD87 and select the IDoc to be reprocessed.

  • Check the error message and correct the issue before reprocessing the IDoc.

  • To debug an IDoc, set a breakpoint in the function module used to create the IDoc.

  • Use tra...read more

Add your answer
Q52. Java Question

What are collections in Java?

Add your answer

Q53. Explain Python Data Structures and advantages and some differences in each

Ans.

Python data structures are containers that hold data in an organized manner, each with its own advantages and differences.

  • Python lists are versatile and can hold different data types.

  • Tuples are immutable and can be used as keys in dictionaries.

  • Sets are unordered and eliminate duplicate elements.

  • Dictionaries store data in key-value pairs for efficient retrieval.

View 1 answer
Q54. DBMS

What is alter command ?
He gave me a question and asked me to perform queries on that.

Add your answer

Q55. What is the difference between order by and group by in sql Why we use oops Scenario based question -3

Ans.

Order by sorts the result set while group by groups the result set based on a column

  • Order by is used to sort the result set in ascending or descending order

  • Group by is used to group the result set based on a column

  • Order by can be used with multiple columns while group by can only be used with one column

  • Order by is used after the select statement while group by is used before the select statement

Add your answer

Q56. What is Difference between anotation and decorators

Ans.

Annotations are used in Java while decorators are used in Python.

  • Annotations are used to provide metadata to the code and can be accessed at runtime.

  • Decorators are used to modify the behavior of a function or class.

  • Annotations are declared using the @ symbol in Java while decorators use the @ symbol in Python.

  • Annotations are part of the language syntax in Java while decorators are implemented using functions in Python.

Add your answer

Q57. Explain your project and which algorithm you used in it. Why that algorithm?

Ans.

I worked on a project that involved sentiment analysis of customer reviews using Naive Bayes algorithm.

  • The project involved collecting customer reviews from various sources.

  • Preprocessing the data by removing stop words, stemming, and tokenizing.

  • Used Naive Bayes algorithm for sentiment analysis.

  • The algorithm was chosen because of its simplicity and effectiveness in text classification tasks.

  • The accuracy of the model was evaluated using cross-validation techniques.

Add your answer

Q58. what are Terraform workspaces, what is a null resource in terraform, what is git fetch and how it's different from git pull, What is a load balancer in azure, what is an application gateway in azure, what are p...

read more
Ans.

Questions related to Azure DevOps Engineer role

  • Terraform workspaces are used to manage multiple environments with the same codebase

  • Null resource in Terraform is used to execute arbitrary code that doesn't create any resources

  • Git fetch downloads changes from the remote repository but doesn't merge them with the local branch

  • Load balancer in Azure distributes incoming traffic across multiple virtual machines

  • Application gateway in Azure is a web traffic load balancer that can als...read more

Add your answer

Q59. Can we write int func() and int func(int a) in a single class?

Ans.

Yes, we can write int func() and int func(int a) in a single class.

  • We can overload the function with different parameters.

  • The function with no parameter is called default constructor.

  • Example: class MyClass { int func(); int func(int a); };

  • Both functions can have different implementations.

Add your answer

Q60. What is Functional interface and way of implementing it

Ans.

Functional interface is an interface with only one abstract method, can be implemented using lambda expressions.

  • Functional interface has only one abstract method

  • Can be implemented using lambda expressions

  • Used in Java to achieve functional programming

Add your answer

Q61. How can we expose an Rest API using spring boot?

Ans.

Spring Boot can be used to expose Rest APIs easily.

  • Create a Spring Boot project with necessary dependencies.

  • Define the API endpoints using @RestController and @RequestMapping annotations.

  • Implement the API logic in methods annotated with @GetMapping, @PostMapping, etc.

  • Use @RequestBody and @PathVariable annotations to handle request data.

  • Configure the API using application.properties or application.yml file.

  • Test the API using tools like Postman or Swagger UI.

Add your answer

Q62. Explain BDD concepts a) What is dryRun ? b) What is hooks? c) Where does the execution start at a BDD framework ? (Ans: TestRunner file) d) What is a glue ? e) Difference between Scenario Outline and Scenario C...

read more
Add your answer

Q63. you're well versed with C programming? write a code for addition and multiplication of matrix

Ans.

Code for addition and multiplication of matrix in C programming.

  • Use nested loops to iterate through each element of the matrix

  • For addition, add corresponding elements of both matrices and store in a new matrix

  • For multiplication, use dot product of rows and columns to calculate each element of the new matrix

Add your answer

Q64. How can a circuler cake can be cut into 8 equal pieces with 3 cuts only?

Ans.

A circular cake can be cut into 8 equal pieces with 3 cuts only by cutting the cake into quarters and then making a diagonal cut.

  • Cut the cake into quarters with two cuts, creating four equal pieces.

  • Make a diagonal cut from the center of the cake to the edge, dividing each quarter into two equal pieces.

  • This will result in eight equal pieces of cake with only three cuts.

Add your answer
Q65. Operating System

What is LRU algorithm?
Which of the following statement about semaphore is true?

Add your answer

Q66. How do you configure and verify custom DNS in Azure AD?

Ans.

To configure and verify custom DNS in Azure AD, follow these steps:

  • Create a DNS zone in Azure DNS

  • Add a custom domain to Azure AD

  • Create a CNAME record in the DNS zone that points to the Azure AD domain

  • Verify the custom domain in Azure AD

  • Update the DNS registrar to use the Azure DNS name servers

  • Test the custom DNS by accessing Azure AD resources using the custom domain

Add your answer

Q67. 1. Which programming language you are comfortable with?

Ans.

I am comfortable with Java programming language.

  • Proficient in object-oriented programming concepts

  • Experience in developing web applications using Spring framework

  • Familiarity with Java libraries and tools such as Hibernate and Maven

View 1 answer

Q68. When do we do the regression testing and why?

Ans.

Regression testing is performed to ensure that changes or updates to a software application do not introduce new defects or impact existing functionality.

  • Regression testing is done after making changes to the software application.

  • It helps in identifying any unintended side effects of the changes.

  • It ensures that previously working features are not broken due to the changes.

  • Regression testing is typically performed during the testing phase of the software development lifecycle....read more

View 1 answer

Q69. How do you know about this type of ID related issues because you are not completed it with your degree but you know everything how to learn it and how to based IT

Ans.

I have gained knowledge and skills in ID related issues through self-learning and practical experience.

  • I have a strong passion for technology and have actively pursued learning about ID related issues outside of my degree.

  • I have taken online courses, attended workshops, and participated in hands-on projects to enhance my knowledge in this area.

  • I have also sought guidance from experienced professionals and engaged in self-study to stay updated with the latest developments.

  • I ha...read more

View 1 answer

Q70. How do you open command prompt in Windows ?

Ans.

To open command prompt in Windows, press Win+R and type 'cmd' or search for 'Command Prompt' in Start menu.

  • Press Win+R and type 'cmd'

  • Search for 'Command Prompt' in Start menu

  • Right-click on Start menu and select 'Command Prompt'

  • Use Windows PowerShell instead of Command Prompt

Add your answer

Q71. If you want very less latency - which is better standalone or client mode?

Ans.

Client mode is better for very less latency due to direct communication with the cluster.

  • Client mode allows direct communication with the cluster, reducing latency.

  • Standalone mode requires an additional layer of communication, increasing latency.

  • Client mode is preferred for real-time applications where low latency is crucial.

Add your answer

Q72. What is meant by fact and dimension table?

Ans.

Fact table contains quantitative data while dimension table contains descriptive data.

  • Fact table stores data related to business processes and events

  • Dimension table stores descriptive information about the data in the fact table

  • Fact table is usually larger than dimension table

  • Fact table is connected to dimension table through foreign keys

  • Example: Sales fact table and product dimension table

Add your answer

Q73. What is a join and different types of joins?

Ans.

A join is a SQL operation that combines rows from two or more tables based on a related column between them.

  • Types of joins include inner join, left join, right join, and full outer join.

  • Inner join returns only the matching rows from both tables.

  • Left join returns all rows from the left table and matching rows from the right table.

  • Right join returns all rows from the right table and matching rows from the left table.

  • Full outer join returns all rows from both tables, with NULL v...read more

Add your answer

Q74. When a spark job is submitted, what happens at backend. Explain the flow.

Ans.

When a spark job is submitted, various steps are executed at the backend to process the job.

  • The job is submitted to the Spark driver program.

  • The driver program communicates with the cluster manager to request resources.

  • The cluster manager allocates resources (CPU, memory) to the job.

  • The driver program creates DAG (Directed Acyclic Graph) of the job stages and tasks.

  • Tasks are then scheduled and executed on worker nodes in the cluster.

  • Intermediate results are stored in memory o...read more

View 1 answer
Q75. Java Question

How to create Immutable class?

View 2 more answers
Q76. General Questions

State strength and weakness
How do you respond to change?

Add your answer

Q77. Print the odd numbers inbetween 1 to 10 and greater than 5 using streams

Ans.

Using Java streams to print odd numbers between 1 to 10 and greater than 5

  • Use IntStream.range() to generate numbers from 1 to 10

  • Filter the numbers using filter() to get odd numbers

  • Use filter() again to get numbers greater than 5

  • Print the numbers using forEach()

View 1 answer

Q78. How many types of subscription in power BI report reserver

Ans.

There are two types of subscriptions in Power BI Report Server.

  • The two types of subscriptions are Power BI Report Server Standard and Power BI Report Server Enterprise.

  • The Standard subscription allows for a single server deployment, while the Enterprise subscription allows for a distributed deployment.

  • The Enterprise subscription also includes additional features such as high availability and disaster recovery.

  • Both subscriptions require a license for each user accessing the re...read more

Add your answer

Q79. Are you willing to allocate? Write a program of pass data through function and Explain.

Ans.

Answering a question about willingness to allocate and providing a program to pass data through a function.

  • Yes, I am willing to allocate.

  • To pass data through a function, we can define the function with parameters that will receive the data and then call the function with the data as arguments.

  • For example, if we have a function that adds two numbers, we can pass the numbers as arguments when calling the function.

  • function addNumbers(num1, num2) { return num1 + num2; }

  • var result...read more

Add your answer
Q80. Python Question

Difference between List and Array

Add your answer

Q81. How to copy data of all the gdg versions into a single ps file using jcl

Ans.

To copy data of all GDG versions into a single PS file using JCL.

  • Use IDCAMS utility to define a temporary GDG base.

  • Use SORT utility to merge all the GDG versions into a single file.

  • Use IEBGENER utility to copy the merged file to a PS file.

  • Delete the temporary GDG base using IDCAMS utility.

Add your answer

Q82. What is vmware, what is diffence between standard and DV switch, what is BSOD, how to troubleshoot BSOD in windows server, how to troubleshoot corrupted OS, what patching tools you use

Ans.

Answering questions related to VMware, BSOD, troubleshooting, and patching tools.

  • VMware is a virtualization software that allows multiple operating systems to run on a single physical machine.

  • Standard switch is a virtual switch that connects virtual machines to the physical network, while DV switch is a distributed virtual switch that allows for centralized management of network configurations.

  • BSOD stands for Blue Screen of Death, which is an error screen displayed on Windows...read more

Add your answer

Q83. What are the advantages of hibernate framwork?

Ans.

Hibernate framework provides ORM capabilities, simplifies database access, and improves performance.

  • Hibernate reduces boilerplate code by providing ORM capabilities.

  • It simplifies database access by abstracting away the underlying SQL.

  • Hibernate improves performance by caching data and reducing database round trips.

  • It supports lazy loading, which improves performance by loading data only when needed.

  • Hibernate supports multiple database vendors and provides transaction managemen...read more

Add your answer

Q84. How do you do performance optimization in Spark. Tell how you did it in you project.

Ans.

Performance optimization in Spark involves tuning configurations, optimizing code, and utilizing caching.

  • Tune Spark configurations such as executor memory, number of executors, and shuffle partitions.

  • Optimize code by reducing unnecessary shuffles, using efficient transformations, and avoiding unnecessary data movements.

  • Utilize caching to store intermediate results in memory and avoid recomputation.

  • Example: In my project, I optimized Spark performance by increasing executor me...read more

Add your answer

Q85. List - Stores all types of elements Array - Stores one type of element and in sequential memory blocks hence faster access

Ans.

An array stores one type of element in sequential memory blocks for faster access.

  • Arrays are useful for storing and accessing data in a specific order.

  • They can be used to store numbers, characters, or other data types.

  • Arrays can be multidimensional, allowing for more complex data structures.

  • Accessing elements in an array is done using an index, starting at 0.

  • Arrays can be resized dynamically in some programming languages.

Add your answer

Q86. What is overloading and overriding ? What are locators in Selenium? What is the syntax of xpath locator ? What are the methods to write the test cases? Is it mandatory to have input tag in defining xpath?

Ans.

Answers to questions related to automation testing using Selenium

  • Overloading is when a method has the same name but different parameters in the same class, while overriding is when a subclass provides its own implementation of a method already defined in its superclass

  • Locators in Selenium are used to identify web elements on a web page

  • The syntax of xpath locator is //tagname[@attribute='value']

  • Methods to write test cases include boundary value analysis, equivalence partitioni...read more

Add your answer

Q87. What is linked list?

Ans.

A linked list is a linear data structure where each element is a separate object with a pointer to the next element.

  • Consists of nodes that contain data and a pointer to the next node

  • Can be singly or doubly linked

  • Used for dynamic memory allocation, implementing stacks and queues, and more

View 1 answer

Q88. What are custom middleware? Have you implemented in previous project how

Ans.

Custom middleware are functions that have access to the request and response objects in an Express application's request-response cycle.

  • Custom middleware can be used to perform tasks such as logging, authentication, error handling, etc.

  • Middleware functions can be added to the request handling chain using the 'use' method in Express.

  • An example of custom middleware implementation is adding a function to log request details before passing it to the route handler.

Add your answer

Q89. What are the patterns of Microservices. steps to migrate an application from legacy to cloud. spring boot internal functionality. java 8 features

Ans.

Answering questions related to Microservices, cloud migration, Spring Boot, and Java 8 features.

  • Patterns of Microservices include API Gateway, Service Registry, Circuit Breaker, and more.

  • Steps to migrate an application from legacy to cloud include assessing the application, selecting a cloud provider, and refactoring the application.

  • Spring Boot internal functionality includes auto-configuration, embedded server, and more.

  • Java 8 features include Lambda expressions, Stream API,...read more

Add your answer

Q90. Write down Fibonacci series and also explain pseudo code for it?

Ans.

Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

  • The first two numbers of the series are always 0 and 1

  • The next number is the sum of the previous two numbers

  • The series goes on infinitely: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...

  • Pseudo code: 1. Initialize variables a=0, b=1, c=0 2. Print a and b 3. Repeat steps 4-6 until desired number of terms 4. c=a+b 5. Print c 6. a=b, b=c

Add your answer

Q91. What are the linux distributions you are using in customer environment?

Ans.

We are using various Linux distributions based on customer requirements.

  • Red Hat Enterprise Linux

  • Ubuntu

  • CentOS

  • SUSE Linux Enterprise

  • Debian

View 1 answer

Q92. What is normalization and denormalization?

Ans.

Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. Denormalization is the opposite process.

  • Normalization involves breaking down a table into smaller tables and establishing relationships between them.

  • Denormalization involves combining tables to improve performance by reducing the number of joins required.

  • Normalization helps to prevent data inconsistencies and anomalies.

  • Denormalization can improve query performance bu...read more

Add your answer

Q93. 1. How to get last property of an object in js? 2. Count the number of properties in object? 3. How do you trigger lambda with s3 ?

Ans.

1. To get the last property of an object in JavaScript, you can use Object.keys() method. 2. To count the number of properties in an object, you can use Object.keys() method. 3. To trigger a lambda function with S3, you can use S3 event notifications.

  • To get the last property of an object in JavaScript, you can use Object.keys() method and access the last key in the array.

  • To count the number of properties in an object, you can use Object.keys() method and get the length of the...read more

Add your answer
Q94. Java Question

What is the difference between intermediate and terminal operations on Stream?

Add your answer

Q95. 1. How to handle exception in microservices? 2.What is config server 3.ClassNotFoundException vs NoClassDefException

Ans.

Handling exceptions in microservices, config server, ClassNotFoundException vs NoClassDefException

  • 1. Exception handling in microservices involves using try-catch blocks to catch and handle exceptions at the service level.

  • 2. Config server is a centralized server that stores configuration information for microservices, allowing them to retrieve configurations at runtime.

  • 3. ClassNotFoundException occurs when a class is not found at runtime, while NoClassDefFoundError occurs when...read more

Add your answer

Q96. What is RAD model and tell me how can you use RAD model in your project?

Ans.

RAD model is a rapid application development model that focuses on iterative development and prototyping.

  • RAD model involves continuous feedback and collaboration between developers and customers

  • It emphasizes on delivering a working prototype as quickly as possible

  • RAD model is suitable for projects with well-defined requirements and tight deadlines

  • It can be used in SAP projects for developing custom applications or enhancing existing ones

  • RAD model can help in reducing developm...read more

Add your answer

Q97. How will you achieve OOPS feature in real word scenario? Any Example?

Ans.

OOPS features can be achieved by implementing concepts like inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance can be used to create a new class from an existing class, inheriting its properties and methods.

  • Polymorphism allows objects to take on multiple forms, depending on the context in which they are used.

  • Encapsulation involves hiding the implementation details of a class from the outside world, and only exposing a public interface.

  • Abstraction involves c...read more

Add your answer
Q98. Java Question

What are the features of Java8?

Add your answer

Q99. how you can take the .jar file from jenkins nexus repo to apache tomcat container

Ans.

Use Tomcat Manager to deploy .jar file from Jenkins Nexus repo to Apache Tomcat container.

  • Configure Tomcat Manager credentials in Tomcat's server.xml file.

  • Add Tomcat Manager plugin to Jenkins and configure credentials.

  • Create a Jenkins job to download .jar file from Nexus repo and use Tomcat Manager API to deploy it to Tomcat container.

  • Alternatively, use Maven plugin to deploy .jar file to Tomcat container.

  • Ensure proper permissions and firewall rules are set up.

  • Test the deploy...read more

Add your answer

Q100. Remove all the pcs from the lab and keep in other lab RIGHT NOW?

Ans.

Yes, I can remove all the pcs from the lab and keep them in another lab right now.

  • Ensure all the necessary equipment and tools are available for the move

  • Coordinate with the lab staff to ensure a smooth transition

  • Label and document each PC for easy identification and setup in the new lab

  • Ensure proper packaging and handling to prevent any damage during the move

Add your answer
1
2
3
4
5
6
7
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Top HR Questions asked in null

Q1. Basic HR QuestionsIntroduce yourself . Later briefly asked about my in...read more
Q2. Your hobbies say you like reading. which books have you read? tell me ...read more
Q3. 1. Roles and responsibilities in current project? 2. Difference betwee...read more
Q4. Tell me about a time when you have worked on a group project
Q5. What's the name of the person who took your technical interview?

Interview Process at null

based on 1.1k interviews in the last 1 year
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 371 Interview Questions
4.0
 • 355 Interview Questions
3.8
 • 331 Interview Questions
4.2
 • 310 Interview Questions
3.4
 • 303 Interview Questions
3.9
 • 128 Interview Questions
View all
Top LTIMindtree Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter