Add office photos
LTIMindtree logo
Engaged Employer

LTIMindtree

Verified
3.8
based on 21.1k Reviews
Filter interviews by
Graduate Engineer Trainee (Get)
Fresher
Clear (2)

20+ LTIMindtree Graduate Engineer Trainee (Get) Interview Questions and Answers for Freshers

Updated 20 Dec 2024

Q1. 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
right arrow

Q2. How to insert a java code in (html tags) 9

Ans.

You can insert Java code in HTML tags using the <script> tag.

  • Use the <script> tag to insert Java code within HTML tags.

  • Make sure to properly close the <script> tag.

  • Example: <script>System.out.println('Hello, World!');</script>

Add your answer
right arrow

Q3. structure of an html file or DOM structure use of meta tag what are hooks in react how to import index.css in index.js router in react where is styling done and some other basic web dev questions

Ans.

Basic web development questions covering HTML structure, meta tags, React hooks, CSS import, and routing.

  • HTML file structure includes <html>, <head>, and <body> tags

  • Meta tags provide metadata about the HTML document

  • React hooks are functions that let you use state and other React features in functional components

  • To import index.css in index.js, use 'import './index.css';' at the top of the index.js file

  • React Router is a standard library for routing in React applications

  • Styling...read more

Add your answer
right arrow

Q4. Write a program to display prime numbers from 1-35

Ans.

Program to display prime numbers from 1-35

  • Loop through numbers 1-35

  • Check if each number is prime

  • If prime, display the number

Add your answer
right arrow
Discover LTIMindtree interview dos and don'ts from real experiences

Q5. Is method overloading possible in c++?

Ans.

Yes, method overloading is possible in C++.

  • Method overloading allows multiple functions with the same name but different parameters.

  • The compiler determines which function to call based on the number and types of arguments passed.

  • Example: void print(int x), void print(float x), void print(char x) can all be overloaded.

  • Overloading can also be done with operators like +, -, *, /, etc.

  • Overloading improves code readability and reduces code duplication.

Add your answer
right arrow

Q6. BE project, what softwares you will use?

Ans.

I will use software tools that are relevant to my BE project.

  • The software tools I will use will depend on the nature of my BE project.

  • For example, if my project involves designing a circuit, I may use software like LTSpice or Proteus.

  • If my project involves programming, I may use software like Visual Studio or Eclipse.

  • I will also use software for data analysis and visualization, such as MATLAB or Python.

  • Ultimately, I will choose software tools that will help me achieve the goa...read more

Add your answer
right arrow
Are these interview questions helpful?

Q7. what is linked list difference between calloc and malloc

Ans.

A linked list is a data structure that consists of a sequence of nodes, each containing a reference to the next node.

  • Linked lists are useful for dynamic data structures where the size of the data can change during runtime.

  • They can be singly linked or doubly linked.

  • Traversal of a linked list is done by starting at the head node and following the next pointers until the end is reached.

  • C++ example: struct Node { int data; Node* next; };

  • Java example: class Node { int data; Node n...read more

Add your answer
right arrow

Q8. Does schema consist more than 1 database. Example

Ans.

Yes, a schema can consist of multiple databases.

  • A schema is a logical container for database objects.

  • Multiple databases can be grouped under a single schema.

  • For example, a company may have separate databases for HR, finance, and sales, but all under the same schema.

  • This allows for easier management and organization of the databases.

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. What is polymorphism?

Ans.

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are of the same class.

  • It can be achieved through method overloading or method overriding.

  • Example: A shape class can have different subclasses like circle, square, triangle, etc. and all can be treated as shapes.

  • Polymorphism helps in achieving code reusability and flexibility.

View 1 answer
right arrow

Q10. Wap to reverse a string in C

Ans.

A program to reverse a string in C language.

  • Declare a character array to store the string.

  • Use a loop to read the string from the user.

  • Use another loop to reverse the string.

  • Print the reversed string.

Add your answer
right arrow

Q11. Write a program to reverse a string

Ans.

A program to reverse a string

  • Create an empty string to store the reversed string

  • Loop through the original string from the end to the beginning

  • Add each character to the new string

  • Return the new string

Add your answer
right arrow

Q12. What is exception handling in java

Ans.

Exception handling is a mechanism to handle runtime errors in Java programs.

  • Exceptions are objects that represent errors or exceptional conditions that occur during program execution.

  • Java provides try-catch-finally blocks to handle exceptions.

  • The try block contains the code that might throw an exception.

  • The catch block catches the exception and handles it.

  • The finally block contains code that is executed regardless of whether an exception is thrown or not.

  • Example: try { //code...read more

Add your answer
right arrow

Q13. explain oops concepts Difference between list and tuple

Ans.

OOPs concepts include inheritance, polymorphism, encapsulation, and abstraction. List is mutable while tuple is immutable.

  • OOPs concepts: inheritance, polymorphism, encapsulation, abstraction

  • List: mutable, can be modified after creation (e.g. [1, 2, 3])

  • Tuple: immutable, cannot be modified after creation (e.g. (1, 2, 3))

Add your answer
right arrow

Q14. difference between structure and classes

Ans.

Structures are used for storing data while classes are used for storing data and methods.

  • Structures are value types while classes are reference types.

  • Structures do not support inheritance while classes do.

  • Structures are used for simple data types while classes are used for complex data types.

  • Example of structure: struct Employee { int id; string name; }

  • Example of class: class Car { string make; string model; void start() { //code to start the car } }

View 1 answer
right arrow
Ans.

SQL is a programming language used to manage and manipulate relational databases.

  • SQL stands for Structured Query Language

  • It is used to create, modify, and query databases

  • Common commands include SELECT, INSERT, UPDATE, and DELETE

  • Examples of database management systems that use SQL include MySQL, Oracle, and Microsoft SQL Server

Add your answer
right arrow

Q16. What is schema

Ans.

Schema is a blueprint or structure that defines the organization of data in a database.

  • Schema is used to define the structure of a database.

  • It includes information about tables, columns, data types, relationships, and constraints.

  • It helps ensure data consistency and integrity.

  • Examples of schema include SQL Server, Oracle, and MySQL.

  • Schema can also refer to the organization of data in XML or JSON documents.

Add your answer
right arrow

Q17. Features of OOPS

Ans.

OOPS is a programming paradigm that focuses on objects and their interactions.

  • Encapsulation: bundling of data and methods that operate on that data

  • Inheritance: ability of a class to inherit properties and methods from a parent class

  • Polymorphism: ability of objects to take on multiple forms or behaviors

  • Abstraction: hiding of complex implementation details from the user

  • Examples: Java, C++, Python

Add your answer
right arrow

Q18. What are String Tokenizers

Ans.

String tokenizers are tools used to break a string into smaller parts based on a specified delimiter.

  • String tokenizers are commonly used in programming to parse strings and extract relevant information.

  • They can be used to split a sentence into individual words, or to extract specific data from a structured text.

  • For example, in Java, the StringTokenizer class can be used to break a string into tokens based on a specified delimiter.

Add your answer
right arrow

Q19. what is struct and unions

Ans.

Structs and unions are data structures in C programming used to group different data types under a single name.

  • Structs allow you to group different data types together under a single name. For example, a struct 'Person' can have fields like name, age, and gender.

  • Unions are similar to structs but they share the same memory location for all its members. Only one member can contain a value at a time. For example, a union 'Data' can have fields like int, float, and char, but only...read more

Add your answer
right arrow

Q20. Prime numbers in a range

Ans.

Finding prime numbers within a given range.

  • A prime number is a number that is only divisible by 1 and itself.

  • Start with the first number in the range and check if it is prime.

  • If it is prime, add it to the list of prime numbers.

  • If it is not prime, move on to the next number.

  • Repeat until all numbers in the range have been checked.

  • Examples: Prime numbers between 1 and 10 are 2, 3, 5, and 7.

  • Examples: Prime numbers between 20 and 30 are 23 and 29.

Add your answer
right arrow

Q21. OOP in python study properly

Ans.

OOP in Python refers to the concept of using classes and objects to organize and structure code.

  • Python supports object-oriented programming (OOP) principles such as encapsulation, inheritance, and polymorphism.

  • Classes are used to define objects, which can have attributes (variables) and methods (functions).

  • Inheritance allows a class to inherit attributes and methods from another class.

  • Polymorphism enables objects to be treated as instances of their parent class or their own c...read more

Add your answer
right arrow

Q22. Namespaces in python

Ans.

Namespaces in Python are a way to organize and group related code together.

  • Namespaces prevent naming conflicts and improve code readability.

  • Python uses a hierarchical namespace structure.

  • Namespaces can be created using modules, classes, and functions.

  • The 'global' and 'local' keywords are used to access variables in different namespaces.

  • Examples of namespaces in Python include built-in, global, and local namespaces.

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at LTIMindtree Graduate Engineer Trainee (Get) for Freshers

based on 12 interviews
4 Interview rounds
Aptitude Test Round
Technical Round - 1
HR Round
Technical Round - 2
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
LIST OF COMPANIES
Discover companies
Find best workplace
LIST OF COMPANIES
Discover companies
Find best workplace
LIST OF COMPANIES
Discover companies
Find best workplace
LIST OF COMPANIES
Discover companies
Find best workplace
LIST OF COMPANIES
Discover companies
Find best workplace
INTERVIEWS
Hallmark Health Care Solutions
No Interviews
INTERVIEWS
Object Technology Solutions
No Interviews
CAMPUS PLACEMENT
Gurukula Kangri University (GKU)
INTERVIEWS
Maruti Suzuki
10 top interview questions
INTERVIEWS
CMR Green Technologies
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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