HCL Technologies Placement Paper

Company: HCL Technologies

I am sending some questions of the HCL written paper. I hope they will be useful for you. The written was of 75 mins. Technical 20 questions, aptitude 35 questions

Topics of written : C, C++, Networking, Java, OSI model, microprocessor.

Technical Questions: (order may vary)
1)main(){ int x=8; printf(”%d”,x++–);}output ?
ans:compiler
error

2)a subclass can access which methods of a superclass
a)public,protected,private
b)public only
c)public and protected
d)public and private
ans:c

3)function interface checking is a part of:
a)unit testing
b)integration
c)blackbox
d)all
ans:integration

4)tcp is used in which osi layer?

5)what does const*string means

6)a question on static

7)to find 2’s compliment of a number

8)a binary tree has 1000 nodes, find its depth?
ans:11

9)SCSI stands for
ans:small computer system interface (check)

10)an approach to prevent mutually exclusive deadlock?
a)spool everything
b)request all resources initially
c) resources away
d)order resources numerically
ans:b

11)language extention is a part of which fieldans:compiler

12)back patching is part of which phase of compiler
ans:parser

13)compression & decompression is performed by which osi layerans:presentation layer

14)a node is said to be pendant if
ans:indegree=0 and outdegree=0

15)radix 13 of (1AC) ans:311

16)what is dangler pointer?

17)time complexity of radix sort

18)which is best sorting technique for 12 23 45 57 68 72 Che tan aS
ans:insertion sort(it already a sorted order. so,insertion sort is thebest in this case)

19)float(int) how many bites it will take
ans:2

20)size of long int key?

Aptitude Questions:
1)a question on nails ans:124
2)how many odd number with different digits between 3000-5000 ans:504
3)a question on tennis ans:d
4)a triangle question ans:36 degrees
5)a question like if 1 Jan 2000 was a Sunday, in which year we will get the next Sunday?all the best

HCL Technologies Placement Paper

Read More