HCL Sample Placement Paper & Questions
Preparing for the HCL exam, a standardized online assessment conducted by HCL, requires a thorough understanding of the test format, typical questions, and strategic preparation.
Scroll down to practice the latest HCL Placement Paper & Questions.
HCL Placement Questions - Sample Question Paper
1.
1. A merchant sells an item at a 25% discount but still makes a gross profit of 20% on cost. What percent of cost would the gross profit have been if the item had been sold without the discount?
40%
50%
55%
60%
2.
2. At a special sale,10 tickets can be purchased for the price of 7 tickets. If 10 tickets are purchased at the sale, the amount saved will be what percent of the original price of the 10 tickets?
20%
25%
30%
35%
3.
3. Working independently, Ria can do a job in 15 hours. Sam can do the same job in 10 hours. If Ria works alone for 9 hours and then Sam works alone, how long will Sam take to finish the remainder?
3 hours
3.5 hours
4 hours
4.5 hours
4.
4. Which is the 4-digit number whose second digit is twice the first, the third digit is the sum of the first and second, the last digit is thrice times the second, and the number is divisible by 4?
1234
2468
3693
1236
5.
5. If the number 72x31y is divisible by 45, find the value of (5x − 2y).
15
20
25
30
6.
6. The value of {4.5 + (9 / 0.75) * 0.4 - 6.3} * 10 is
18
24
30
36
7.
7. The question consists of two statements numbered I and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Find the value of the two-digit number. Statement I: The sum of the digits is 11 and the product of the digits is 24.Statement II: When the number is increased by 25%, its value is 22 more than the value of the number when its digits are reversed. The digit at unit place is 8.
The data in statement I alone are sufficient to answer the question.
The data in statement II alone are sufficient to answer the question.
The data either in statement I alone or in statement II alone are sufficient to answer the question.
The data given in both statements I and II together are not sufficient to answer the question.
8.
8. Sum of three numbers is 146. The ratio between the 1st and 2nd is 3:4. The ratio between the 2nd and 3rd is 7:6. Find the second number.Sum = 73t = 146 -> t=2 -> B=56.
42
56
60
64
9.
9. Two equal circles touch each other and also a larger circle whose radius is thrice the radius of either of the two smaller equal circles. The ratio of the areas of the shaded part (two small circles) to the unshaded part (rest of the big circle) is
1 : 3
2 : 7
3 : 7
1 : 2
10.
10. If p = 4q and the operation p * q is defined as (p^2 + q^2) / (p^2 - q^2), then the value of p * q is
15/17
1 2/15
17/16
1 ⅛
11.
11. In a conference of 60 participants, 5/6 are men and 40% of the women are doctors. How many women doctors are there?
4
6
8
10
12.
12. If the areas of two circles are in the ratio 121:256, then the ratio of their radii is
10:11
11:16
12:13
13:16
13.
13. Two identical taps fill 3/5 of a tank in 12 minutes. If one tap stops, how many minutes will the remaining tap take to fill the rest of the tank?
8 minutes
12 minutes
16 minutes
20 minutes
14.
14. In a series of four consecutive positive odd integers, the product of the smallest and the largest equals 135. What is the product of the second and third terms?
135
143
147
153
15.
15. A sum of money compounded annually amounts to Rs. 11,000 in 6 years and Rs. 13,310 in 8 years. Find the rate of interest.
8%
9%
10%
12%
Coding Questions
Question 1: Shift Special Characters to the End
Problem Statement:
You are given a string S of length N containing alphabets, digits, and special characters.
Write a program to shift all special characters to the end of the string, while maintaining the relative order of alphabets and digits.
Example 1:
Input:
S = 'HCL@2026#Tech!'Output:
HCL2026Tech@#!
Explanation:
All special characters (@, #, !) are moved to the end, and all letters and digits appear first in their original order.
Constraints:
1 ≤ N ≤ 10⁴
String contains only ASCII printable characters.
Expected Approach:
Traverse the string once.
Use two buffers (one for alphanumeric, one for special).
Concatenate and print the result.
Sample Solution (C)
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main() {
char s[1000], alphaNum[1000] = '', special[1000] = '';
scanf('%[^\n]s', s);
for (int i = 0; s[i] != '0'; i++) {
if (isalnum(s[i]))
strncat(alphaNum, &s[i], 1);
else
strncat(special, &s[i], 1);
}
strcat(alphaNum, special);
printf('%s', alphaNum);
return 0;
}
Question 2: Find the Missing Number in an Array
Problem Statement:
You are given a number N. Your task is to find all possible consecutive positive integer sequences whose sum equals N.
Finally, print the total count of such sequences.
Example 1:
Input:
N = 15Output:
4
Explanation:
Possible sequences:
* 1 + 2 + 3 + 4 + 5 = 15
* 4 + 5 + 6 = 15
* 7 + 8 = 15
* 15 = 15 Hence, output is 4.
Constraints:
1 ≤ N ≤ 10⁹
Expected Approach:
Use a mathematical loop or two-pointer method to check for consecutive sums without exceeding N.
Sample Solution (Python)
n = int(input())
count = 0
for start in range(1, n):
total = start
next_num = start + 1
while total < n:
total += next_num
next_num += 1
if total == n:
count += 1
print(count)Frequently Asked QuestionsFAQ
Are the provided sample questions from previous HCL exams?
The sample questions are based on patterns observed in recent HCL recruitment drives and candidate interview experiences. They reflect the type and style of questions typically asked in the online assessment.
How similar are the sample questions to the actual questions in the HCL hiring test?
While the exact questions may vary, the sample questions closely match the difficulty level, structure, and topics seen in the actual HCL exam. They help candidates understand what to expect and prepare effectively.
How regularly are HCL sample question papers updated to align with the current exam pattern?
Sample questions are updated using recent candidate feedback and the latest test trends. This ensures the practice material stays aligned with the current format of the HCL hiring test.
What is the difficulty level of the HCL exam?
The overall difficulty of the HCL exam is moderate. Logical Reasoning can be slightly challenging, while Quant, Verbal, and Computer Fundamentals are generally manageable with consistent practice.
Is switching allowed between questions in a particular section?
Yes, candidates can freely navigate between questions within the same section. However, switching between different sections is restricted once a section is completed.
Is there a negative marking in the HCL exam?
No, there is no negative marking in the HCL online assessment as per recent 2024-25 drive patterns.
What will be the mode of the HCL exam?
The HCL exam is conducted online through a secure AI-proctored platform, requiring a stable internet connection, webcam, and microphone.
How many coding questions are there in the HCL exam?
The coding section typically contains 2 coding questions, each designed to test logic, problem-solving ability, and coding proficiency using C, C++, Java, or Python.
