i
HCLTech
Filter interviews by
I applied via Company Website and was interviewed in May 2023. There were 2 interview rounds.
What people are saying about HCLTech
I applied via Naukri.com and was interviewed before Feb 2021. There were 2 interview rounds.
I applied via Approached by Company and was interviewed before Dec 2021. There were 3 interview rounds.
n-tier architecture is a software design pattern that divides an application into logical layers.
It separates presentation, application processing, and data management functions.
Each layer can be developed and maintained independently.
Examples include 3-tier and 4-tier architectures.
It improves scalability, maintainability, and flexibility of the application.
I applied via Campus Placement and was interviewed before Apr 2020. There were 3 interview rounds.
Name mangling is a technique used by compilers to give unique names to functions and variables to avoid naming conflicts.
Name mangling is used in C++ to support function overloading.
It is also used in Python to avoid naming conflicts in modules.
Name mangling can make it difficult to access variables and functions from outside the class in which they are defined.
In C++, name mangling can be seen by using the 'nm' comman
I applied via Naukri.com and was interviewed before Jul 2020. There was 1 interview round.
Abstract Factory is a creational design pattern that provides an interface for creating families of related objects.
Abstract Factory is used when we need to create families of related objects without specifying their concrete classes.
It provides an interface for creating objects of related classes without specifying their concrete classes.
It encapsulates a group of factories that have a common theme.
It promotes loose c...
Range based map iteration can be done using a for-each loop or iterators.
Use a for-each loop to iterate over the map elements.
Alternatively, use iterators to traverse the map.
The range-based for loop is preferred for its simplicity and readability.
Example: for(auto const& [key, value] : myMap) { //do something with key and value }
Detached threads are independent threads that run separately from the main thread. Joined threads are threads that wait for the main thread to finish.
Detached threads are created using pthread_detach() function
Joined threads are created using pthread_join() function
Detached threads do not need to be explicitly terminated
Joined threads must be explicitly terminated using pthread_exit() or return statement
Detached thread...
Static code analysis tools are software programs that analyze source code to find potential issues and improve code quality.
Static code analysis tools scan code without executing it
They can detect issues such as security vulnerabilities, coding errors, and performance problems
Examples of static code analysis tools include SonarQube, ESLint, and Checkstyle
Command to list currently running threads in linux
Use the 'ps' command with the 'H' option to display threads in a hierarchy
Use the 'top' command to display threads in real-time
Use the 'htop' command for an interactive display of threads
No, arithmetic operations cannot be performed on unique pointers.
Unique pointers are used to manage the lifetime of dynamically allocated objects.
They cannot be copied or assigned, only moved.
Arithmetic operations are not defined for pointers, including unique pointers.
I applied via Referral and was interviewed before Sep 2021. There was 1 interview round.
I have worked on various technologies including Java, Python, AWS, and Docker.
Developed RESTful APIs using Java and Spring framework
Implemented machine learning models using Python and scikit-learn library
Deployed applications on AWS using EC2, S3, and RDS
Containerized applications using Docker for easy deployment and scaling
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) while C does not.
C++ allows function overloading while C does not.
C++ has exception handling while C does not.
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and functions to manipulate that data.
It emphasizes on encapsulation, inheritance, and polymorphism.
Examples of OOPs languages are Java, C++, Python, etc.
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A shape class can have different subclasses like circle, square, triangle, etc. and all of them can be treated as shapes.
Example: A method can have different implementations in different clas...
Data abstraction is the process of hiding implementation details and showing only the necessary information to the user.
It is a way of organizing complex systems
It allows users to interact with complex systems without needing to understand the underlying details
It helps to reduce complexity and increase efficiency
Examples include object-oriented programming and APIs
A C program to reverse a given string.
Declare a character array to store the input string.
Use a loop to iterate through the string and swap the characters.
Print the reversed string.
Swapping two numbers using macro in C language
Use a temporary variable to store the value of one number
Assign the value of the second number to the first number
Assign the value of the temporary variable to the second number
Define a macro for swapping the numbers
Example: #define SWAP(a,b) {int temp; temp=a; a=b; b=temp;}
I applied via LinkedIn and was interviewed in Jun 2021. There was 1 interview round.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
23.6k
salaries
| ₹1.9 L/yr - ₹8 L/yr |
Technical Lead
21.6k
salaries
| ₹7 L/yr - ₹28 L/yr |
Senior Software Engineer
16.1k
salaries
| ₹4.5 L/yr - ₹17 L/yr |
Lead Engineer
15.8k
salaries
| ₹4.1 L/yr - ₹14 L/yr |
Analyst
14.8k
salaries
| ₹0.8 L/yr - ₹6.6 L/yr |
TCS
Wipro
Accenture
Cognizant