HCL Technologies recruits freshers through a two-step process:
Round 1:
Round 2:
HCL primarily hires freshers in India under a single profile:
Modes of Hiring:
HCL was established in 1976 as one of India’s earliest IT startups. The company played a key role in modern computing, including launching personal computers based on 8-bit microprocessors in 1978.
Note: Reimbursement-based benefits may lapse if not used.
Overall Selection Ratio:
n * factorial(n-1) with base case factorial(0) = 1. Interviewers test understanding of recursion depth and base cases.malloc, calloc, new, etc., allowing flexible memory usage but requiring deallocation.next pointers of nodes so the first becomes last and vice versa. Both iterative and recursive methods are tested in interviews.LIMIT, OFFSET, or subqueries. Tests SQL query formulation and logical thinking.How is C different from C++?
Cloud Computing: It is an application-based software infrastructure. It stores data on remote servers, these data can then be accessed through the internet.
Basically, it can be defined as a service that delivers and stores data throughout the internet through servers.
SAAS: It stands for Software as a Service.
Machine learning is a branch of AI. It is the study and creation of computer algorithms that can improve themselves through experience or data.
Machine learning algorithms work on a sample model known as “training data” which helps them to make predictions and decisions on its own without being programmed by anyone.
These algorithms are based on computational statistics and mathematical models which are used for finding patterns in data and make predictions based on these patterns.
It is a subroutine available to applications that access a relational database management system.
There are many benefits of the Stored Procedure.
Benefits include:
What is a deadlock in DBMS?
An unwanted situation in which two or more transactions are waiting indefinitely for one another to give up locks is known as deadlock. Deadlock is said to be one of the most feared complications in DBMS as it brings the whole system to a Halt.
What is garbage collection in C?
Garbage Collection (GC) is a mechanism that provides automatic memory reclamation for unused memory blocks. Programmers dynamically allocate memory, but when a block is no longer needed, they do not have to return it to the system explicitly with a free() call.
What are the four basic principles of OOPS?
The four basic principles of OOPS are:
Difference between binary and counting semaphores.
Semaphore has two fields in which one field is that it is a positive variable and shared between threads. A semaphore is a signaling mechanism, and a thread that is waiting on a semaphore can be signaled by another thread.
What is abstraction?
It is the process of selecting data from a larger dataset to show only the relevant details of the object. It is the concept of object-oriented programming. Abstraction is hiding unnecessary details from the users to reduce the complexity of viewing things and to increase security.
What are public IP and Private IP?
Both Addresses are used to uniquely identify a machine on the internet. A public IP address uses a wider area means it is used to communicate within the wider network and all the information you’re searching for can find you.. Whereas Private IP uses the same network it means it is used to communicate within the same network.that is, it operates with a local network.
How can you create threads in JAVA?
Threads are created in JAVA by implementing the runnable interface and overriding the run() method.
Write a code for checking whether a character is a alphabet or not.
ch = input(“Insert any character: “)
if ‘a’ <= ch <= ‘z’ or ‘A’ <= ch <= ‘Z’:
print(“The inserted character”, ch, “is an Alphabet”)
else:
print(“The inserted character”, ch, “is not an Alphabet”)
Write a program for reversing an array.
def reverseList(A, start, end):
while start < end:
A[start], A[end] = A[end], A[start]
start += 1
end -= 1
# Driver function to test above function
A = [10, 20, 30, 40, 50]
reverseList(A, 0, 4)
print(A)
What are tokens in C++?
How to see object methods in Python?
Using the help() command.
What is a cursor in SQL?
A cursor is defined as a temporary space created in memory when an SQL command is executed.
It is of two types:
What is an empty interface in java?
An empty interface does not contain any methods or fields. By implementing an empty interface a class exhibits special behavior with respect to the interface implemented.
An empty interface is also called a Marker Interface.
What is the Collection API?
Collection API provides a set of classes and interfaces that makes it easier to work with collections of objects such as lists, maps etc.
What is a friend function in C++?
A friend function is a function that can access private, protected and public members of a class. It is specified outside the class but can access all its members. It is declared using the friend keyword.
Write a code for Binary Search in Java.
public class Main{
public static int binarySearch(int array[], int left, int right, int item){
if (right >= left){
// calculation of new mid
int mid = left + (right – left)/2;
// returns position where found
if (array[mid] == item)
return mid+1;
// goes to recursive calls in left half
if (array[mid] > item)
return binarySearch(array, left, mid-1, item);
// goes to recursive calls in right half
else
return binarySearch(array, mid+1, right, item);
}
// if element is not found we return -1
else
return -1;
}
public static void main(String args[]){
int[ ] array = {10, 20, 30, 40, 50, 60, 70, 80};
int item = 70;
int size = array.length;
int position = binarySearch(array, 0, size-1, item);
if(position == -1)
System.out.println(“Element not found”);
else
System.out.println(“The value ” + item + ” found at position: ” + position);
}
}
// Time complexity O(Log N)