2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
26th September 2014, 09:08 AM
Super Moderator
 
Join Date: Apr 2013
Re: HCL Placement Sample Paper

Here is the list of few questions of HCL Placement exam Paper which you are looking for .

C programming Questions:
1. int a = 3;
int b = 31;
int c = 10;
double z = b / c % a;
printf("%f\n", z);


a. -1
b. 1
c. 0
d. 3

Answer – c

2. The subscript of the first element of an array is 0.

True
False


Answer – True

3. The machine registers are also called
Global variables
Local variables
constants
Static variables


Answer – b

4. What will be output of following code
main()
{
int i=1;
printf("%d%d%d",i,++i,i++);
}

a. 1 2 2
b. 2 2 1
c. 1 3 3
d. 3 3 1

Answer – d

5. When do we get segmentation fault error?

a. Accessing an array out of its bounds
b. Trying to modify a read-only location
c. Dereferencing an uninitialized pointer
d. All of the above

Answer – d

Data structure Questions:

1. Which of the following operations are dependent on the length of the linked list if there are pointers to first and last nodes of a single linked list?

a. Delete the first element
b. Insert a new element as a first element
c. Delete the last element of the list
d. Add a new element at the end of the list

Answer – c

2. Key value pair is seen in

a.Hash tables
b.Heaps
c.Both a and b
d.None above

Answer – a
  #3  
22nd March 2015, 08:27 AM
Unregistered
Guest
 
Re: HCL Placement Sample Paper

I want to get HCL Placement Sample Paper for doing preparation of this exam so will you please provide me that ?
  #4  
22nd March 2015, 10:47 AM
Super Moderator
 
Join Date: Mar 2013
Re: HCL Placement Sample Paper

As you want to get HCL Placement Sample Paper for doing preparation of this exam so here I am giving you some questions of that paper:

Q1. In a kilometer race, if A gives B a 40 m start,A wins by 19 s. But if A gives B a 30 s start, B wins by 40 m. Find the time taken by B to run 5,000 m?
a. 150 s b. 450 s c. 750 s d. 825 s

Q2. Pipe A takes 16 min to fill a tank. Pipes B and C, whose cross‐sectional circumferences are in the ratio 2:3, fill another tank twice as big as the first. If A has a cross‐sectional circumference that is one‐third of C, how

long will it take for B and C to fill the second tank? (Assume the rate at which water flows through a unit cross‐sectional area is same for all the three pipes.)
a. 66/13 b. 40/13 c. 16/13 d. 32/13

Q3. Three consecutive whole numbers are such that the square of the middle number is greater than the product of the other two by 1. Find the middle number.

Q4. The arithmetic mean of 2 numbers is 34and their geometric mean is 16. One of thenumbers will be

Q5. If x% of a is the same as y% of b, then z% of b is :

Q6. The letters of the word WOMAN are writte n in all possible orders and these words are written out as in a dictionary, then the rank of the word ‘WOMAN’ is

Q7. What least number must be subtracted from 9400 to get a number exactly divisible by 65?

Q8. If 2505 / 0.5 = 5010 then 25.05 / 0.5 = ?

Q9. Which pair of rational numbers lie between 1/5 and 2/5

Q10. What is the value of the following expression: 2 log10 5 + log10 4 ?

Q11. If x increases linearly, how will a ‐x behave (a>1) ?

Q12. What is the probability of getting the sum 5 in two throws of the dice?

Logical ability questions
Q1. The question shows a pair of words in which the first is related to the second in some way. It is followed by a single word which bears a similar relation to one of the given alternatives. Find the correct alternative to

complete the analogy. Melt: Liquid:: Freeze: ?
a. Ice b. Condense c. Solid d. Crystal

Q2. Fill in the blank Guilt is to Past as Hope is to ......
a. Present b. Future c. Today d. Despair e. Hopeless

Q3. From the given choices select the odd man out:
a. Bird b. Kite c. Crow d. Pigeon e. Sparrow

Q4. Find the missing pattern BOQD: ERTG:: ANPC : ?
a. DQSF b. FSHU c. SHFU d. DSQF

Q5. Find the missing number 5: 24:: 8:?
a. 65 b. 63 c. 62 d. 64

Q6. From the given choices select the odd man out
a. DFHEG b. TWXUV c. OQSPR d. JLNKM

Q7. If HARD is coded as 1357 and SOFT is coded as 2468, what will 21448 stand for?
a. SHAFT b. SHORT c. SHOOT d. SHART


Tags
placement

Quick Reply
Your Username: Click here to log in

Message:
Options

Thread Tools Search this Thread



All times are GMT +5. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4