Add office photos
Employer?
Claim Account for FREE

LTIMindtree

3.5
based on 15.2k Reviews
Filter interviews by

10+ Interview Questions and Answers

Updated 17 Nov 2024
Popular Designations

Q1. What is the Difference between C & C++?

Ans.

C is a procedural programming language while C++ is a multi-paradigm programming language with object-oriented features.

  • C is a procedural programming language while C++ supports both procedural and object-oriented programming.

  • C does not have classes and objects like C++.

  • C++ has features like inheritance, polymorphism, and encapsulation which are not present in C.

  • C++ allows function overloading and operator overloading which are not supported in C.

  • C++ has a richer standard lib...read more

Add your answer

Q2. What is the difference between type casting and type conversion

Ans.

Type casting is changing the data type of a variable, while type conversion is converting a value from one data type to another.

  • Type casting is done explicitly by the programmer, while type conversion can be done implicitly by the compiler.

  • Type casting can lead to loss of data if the new data type cannot hold the original value, while type conversion may involve data loss depending on the conversion.

  • Example of type casting: int x = (int) 3.14;

  • Example of type conversion: int y...read more

Add your answer

Q3. What function used to change string to int

Ans.

The function used to change a string to an integer is parseInt() in JavaScript.

  • parseInt() function is used to convert a string to an integer in JavaScript.

  • It takes in the string as an argument and returns the integer value.

  • Example: parseInt('10') will return 10.

Add your answer

Q4. basic sql query to find the maximum salary of an employee from a table

Ans.

Use SQL query with MAX() function to find the maximum salary of an employee from a table.

  • Use SELECT MAX(salary) FROM employees;

  • Make sure to replace 'employees' with the actual table name where employee salaries are stored.

Add your answer
Discover null interview dos and don'ts from real experiences

Q5. Does C program run without main function

Ans.

No, a C program cannot run without a main function.

  • The main function is the entry point of a C program, without it the program cannot be executed.

  • The main function is mandatory in C programming as it tells the compiler where to start the execution of the program.

  • Attempting to compile a C program without a main function will result in a compilation error.

Add your answer

Q6. What are the types of Exceptions

Ans.

Types of Exceptions include checked, unchecked, and errors.

  • Checked Exceptions: Must be either caught or declared in the method signature. Example: IOException

  • Unchecked Exceptions: Not required to be caught or declared. Example: NullPointerException

  • Errors: Irrecoverable issues that should not be caught or handled. Example: OutOfMemoryError

Add your answer
Are these interview questions helpful?

Q7. Mention few object oriented programming languages

Ans.

Some object oriented programming languages include Java, C++, Python, and C#.

  • Java

  • C++

  • Python

  • C#

Add your answer

Q8. explain method overloading and overriding

Ans.

Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is redefining a method in a subclass with the same signature as in the superclass.

  • Method overloading allows multiple methods with the same name but different parameters in the same class.

  • Method overriding involves redefining a method in a subclass with the same signature as in the superclass.

  • Example of method overloading: void print(int num) and void ...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. sdlc model,what is agile

Ans.

Agile is a software development methodology that emphasizes flexibility, collaboration, and iterative development.

  • Agile focuses on delivering working software in short iterations

  • It values customer collaboration and responding to change over following a strict plan

  • Agile teams work closely together and adapt to changing requirements

  • Popular Agile frameworks include Scrum, Kanban, and Extreme Programming (XP)

Add your answer

Q10. Lifecycle components of threads

Ans.

Lifecycle components of threads include creation, scheduling, execution, and termination.

  • Creation: Threads are created using the 'Thread' class in Java or 'pthread_create' function in C.

  • Scheduling: Threads are scheduled by the operating system based on priority and other factors.

  • Execution: Threads execute the code specified in their run method or function.

  • Termination: Threads can terminate either by completing their task or by being explicitly stopped.

Add your answer

Q11. types of testing

Ans.

Types of testing include unit testing, integration testing, system testing, and acceptance testing.

  • Unit testing focuses on testing individual components or modules of a system.

  • Integration testing involves testing how different components work together.

  • System testing tests the entire system as a whole.

  • Acceptance testing is done to ensure the system meets the requirements of the end users.

Add your answer

Q12. room for relocation

Ans.

I am open to relocation for the right opportunity.

  • I am willing to relocate for the job if necessary.

  • I am flexible and open to new experiences in different locations.

  • I have relocated in the past for internships or other opportunities.

  • I understand the importance of being geographically mobile in the engineering field.

Add your answer

Q13. Explain OOPS

Ans.

OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.

  • OOPS is based on the four main principles: Encapsulation, Inheritance, Polymorphism, and Abstraction.

  • Encapsulation is the process of hiding the implementation details of an object from the outside world.

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

  • Polymorphism allows objects to take on multiple forms or behaviors.

  • Abstraction is th...read more

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

Interview Process at null

based on 8 interviews in the last 1 year
3 Interview rounds
Technical Round 1
Technical Round 2
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Graduate Engineer Interview Questions from Similar Companies

3.6
 • 10 Interview Questions
View all
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