L and T Interview Questions and Answers
L&T’s employee benefits and work environment make it one of the firms many candidates would love to work for. Here is a list of key technical and HR L & T interview questions and answers.
L and T Interview Process
There are a few key differences between L&T Infotech’s most recent interview process and that of other companies. The overall number of rounds at L&T is as follows:
- Screening Round: Examining the applicant’s application and resume to see if they fit the requirements for the role may be part of the preliminary screening process.
- Technical Rounds: Those that make it through the preliminary screening process can be asked to a technical interview. During this interview, the candidate’s technical proficiency, knowledge, problem-solving skills, and pertinent experience are usually evaluated in relation to the job role.
- HR Round: Candidates may undergo an HR interview following the technical interview. The main goals of this interview are to evaluate the candidate’s communication abilities, work ethic, and cultural fit with the company.
- Managerial Round: There may also be a managerial interview for candidates, depending on the job and level of the employment. Typically, a senior manager or a member of the leadership team conducts this interview, which may center on the candidate’s experience, leadership abilities, and compatibility with the organization’s objectives.
L & T Interview Questions and Answers for Freshers – Technical
1. Why is a super key required?
To put it simply, the super key’s purpose is to identify the tuples that are present in the defined database table. The candidate key only appears as a part of the super key, which is referred to as the superset. The super keys for a table are therefore all of the attributes in the table that have the ability to clearly identify every other attribute in the table.
2. Define Aggregation.
A more complex version of the association data structure is called aggregation. In this version, each item has a lifespan of its own, but it also has ownership and class offspring items that are only allowed to belong to one parent object.
3. What is software testing?
Software testing is the process of analyzing and verifying that a software product or application carries out the functions for which it was intended. Testing produces several benefits, including the removal of problems, a decrease in development costs, and an improvement in performance.
4. How do primary keys differ from foreign keys?
Each piece of information included within a certain column is guaranteed to be unique through the use of a primary key. A foreign key is a column, or set of columns, in a relational database table that creates a link between the data in two separate databases. This characteristic provides a unique way to identify a record in a relational database table.
5. What is the value of the return type?
A function sends a value known as a return to the script or another function that called it once it has completed completing its intended task.
A return value could be any of the following types of variables: integer, string, handle, or object. The task that your function is tasked with completing largely determines the result that it returns.
6. Which four access modifiers are there?
In short, there are four types of access modifiers: default (no keyword), private, protected, and public.
7. In Java, what are generic functions?
Java’s generic functions take a parameter, do an action, and return a value; this is how they are comparable to methods in other programming languages.
Apart from the fact that a generic method has type parameters that are referred to as the actual type, it is exactly the same as a standard CPU function.
This makes it possible to apply the generic method in a more widespread way.
8. Define SQL queries.
The instructions used to carry out actions, CPU operations, and data inquiries are called SQL queries. For these purposes, they serve as an interface between the user and a database.
SQL queries can be used for many different things, such as database searches, table creation, data addition, data modification, and table deletion. Single query functions are useful for certain activities.
9. What benefits does inheritance offer?
The greater possibility of code reusability is one of inheritance’s most important benefits. This is so that subclasses can reuse their superclass’s code thanks to inheritance. Another useful property that allows for the addition of new functionality without adversely affecting previously derived classes is polymorphism, commonly referred to as extendibility.
10. What is contained in the path variable?
The operating system searches through a list of folders in the path variable before executing a command. You would be able to run any executables that are present in the directories listed in the path variable from any directory without needing to input the absolute file path if you updated the path variable.
L & T Interview Questions and Answers for Experienced – Technical
11. What distinguishes an error from an exception?
An unrecoverable condition resulting from runtime events is called an error. An “OutOfMemory” problem is one instance of this. While these JVM issues are being evaluated, they cannot be fixed. The application will stop running even though faults in the catch block are noticed; nonetheless, there won’t be a method to fix the issue.
12. What roles do database management systems play?
A software program that gives users the capacity to effectively manage databases is called a database management system, or DBMS.
Users are allowed to access and work with the data that is kept in the database below the surface.
These could be as simple as querying the data or as complex as creating database schemas that drastically alter the database’s structure.
Logical database independence can also be applied to other projects. For the sake of project optimization, you can also create many alternative query processes.
In certain situations, query optimizations are required. Unoptimized queries can, however, lead to issues.
13. What do the terms relative path and absolute path mean?
Absolute Path: The use of an absolute path is defined as the process of referencing a file or directory with respect to the root directory (/).
Stated differently, such an absolute route can be described as a complete path starting at the directory / at the root of the actual file system.
Relative Path: The route that is directly relevant to the work being done at this time is referred to as the “relative path” (PWD).
It always starts at the directory you are presently in and never comes before the first directory with a /.
14. How do you calculate the Fibonacci series in Java using recursion?
By adding the two numbers before it to the following number, one can derive the well-known mathematical sequence known as the Fibonacci numbers.
One can find the value of the Fibonacci series number that corresponds to a particular position in the sequence by applying a recursive method.
class FibonacciExample1{
public static void main(String args[])
{
int n1=0,n2=1,n3,i,count=10;
System.out.print(n1+” “+n2);//printing 0 and 1
for(i=2;i<count;++i)//loop starts from 2 because 0 and 1 are already printed
{
n3=n1+n2;
System.out.print(” “+n3);
n1=n2;
n2=n3;
}
}}
Output
0 1 1 2 3 5 8 13 21 34
15. Explain Java Bean.
If a Java class follows a set of basic guidelines, called “Introspection,” it is referred to as “JavaBean.” One of these guidelines consists of a set of standards for the names of certain methods used to get and set states.
A software package joining Beans at runtime can easily control it because it adheres to norms. This is because it follows well-established conventions. Reusable software components made with the Java programming language are called “JavaBeans.”
16. What does a query optimizer accomplish?
The built-in SQL database component known as the query optimizer, or just the optimizer, determines the best method for a SQL statement to retrieve the desired data. The query optimizer is regarded as a crucial component of database administration.
17. Explain the steps you would take to put a thread pool in place.
A generic implementation of such a thread pool is what the ThreadPool class is. It takes two inputs, the size of the pool to be built and the name of a class that implements runnable (that is, a class that has Object() { [native code] } as its visible default function).
Next, it generates a pool of active threads that are awaiting activation. The threads return to the pool where they were waiting after their processing is finished.
18. Describe the “friend function.”
A function prototype is allowed access to all secret and protected members of the class if it is declared outside of the class’s scope and preceded with the word “friend.”
Even if the class specification contains the prototype for the friend function, friends are not regarded as member functions of the class.
Proceeding to the second section of the topic, Java does not have the term “friend,” but it is possible to achieve the concept of a friend function in Java by carefully choosing the members of the class and their access specifiers.
19. Explain function Object() { [native code] }.
One particular type of method used to set an object’s state to its default value is the function Object() { [native code] }. You may consider it the process that “builds” the item.
- It is triggered anytime the class is instantiated, which also happens to be the moment when memory is made available for the object to be executed.
- The default function Object() { [native code] } of the class is called when an object is generated using the new keyword.
- Each time an object is formed, this takes place. The name of the class and the function Object() { [native code]} must be connected in some way.
- The method Object() { [native code]} is not allowed to have an explicit return type.
20. What distinguishes method overriding from overloading a method?
Overloading is the mechanism by which methods inside a single class take precedence over one another. Since overriding methods have the same signature as the original method, they share the same name and method arguments.
Overloaded methods always have distinct parameters, even though their names are always the same. When overloading is employed, the procedure that ought to be called is decided upon during compilation.
L&T HR Interview Questions and Answers
21. Why do you want to be part of L&T?
Sample Answer: Renowned for its superiority in engineering and construction, L&T is a well-known business. I’m interested in working with L&T because of its standing as a top engineering firm and the growth prospects it provides.
22. How do you handle stress?
Sample Answer: I’ll first ascertain the circumstances, then divide the work into priorities and finish it within the allotted time.
23. What is hard work, according to you?
Sample Answer: I define hard work as having gone above and beyond expectations on that particular day. I always arrive early for work, stay late if necessary, and go above and beyond the call of duty.
24. Who is your role model?
Tip to Answer: Applicants ought to choose a role model who is unlikely to become well-known. Teachers and people in the community may also continue to encourage replies.
In response, candidates must describe how they lead by example in a way that is pertinent to the position being applied for.
25. What are your hobbies and interests?
Interviewers can determine whether you are a well-rounded person and a good match for the team using the information you present. You can be asked to talk about something during an interview that isn’t on your CV. This is an excellent opportunity to demonstrate to them your seriousness about joining the team.
Conclusion
We hope these L&T interview questions and answers will be helpful. Learn how to tackle interviews easily with the expected technical skills by enrolling in our software placement training institute in Chennai.