HCL Interview Questions And Answers

Here are the questions which has been asked in the interview of HCL. Have a look at this.

1. Which of the following involves context switch,

a) System call

b) privileged instruction

c) floating point exception

d) all the above

e) none of the above

2. In OST, terminal emulation is done in

a) Sessions layer

b) application layer

c) presentation layer

d) transport layer

3. For a  25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,

a)120 nano secs

b)120 micro secs

c)75 nano secs

d)75 micro secs

4. For 1 MB memory, the  number of address lines required,




d) 24

5. Semaphore is used for

a) synchronization

b) dead-lock avoidence

c) box

d) Both a and b

6. Which holds true for the following statement

class c: public A, public B

a) 2 member in class A, B should not have same name

b) 2 member in class A, C should not have same name

c) both

d) none

7.Preproconia.. does not do which one of the following

a) macro

b) conditional compliclation

c) in type checking

d) including load file

8. Piggy backing is a technique for

a) Flow control

b) Sequence

c) Acknowledgement

d) retransmition

9. Find the output for the following C program


a) f points to max of x and y

b) f points to min of x and y


10. In signed magnitude notation what is the minimum value that can be represented with 8 bits

a) -128

b) -255

c) -127

d) 0





1.  (a) System Call

2. (b) Application Layer

3.  (a) 120 nanoseconds

4.  (b) 20

5. (d) Both a and b

6. (a) 2 member in class A, B should not have same name

7. (c) In type checking

8. (c) Acknowledgement

9. (a) f points to max of x and y

10. (c)-127


If you find any answers is wrong kindly post that in comments below 🙂

You may also like


  • divya
    September 20, 2011 at 2:00 PM


      November 7, 2011 at 4:20 AM


  • kiran kumar talikoti
    October 6, 2011 at 7:50 AM

    Good Qns…! i like it

    • Kirthika
      October 6, 2011 at 1:18 PM

      Thank you 🙂

  • dhinakaran
    November 7, 2011 at 7:53 AM


  • Vaibhav Tiwari
    January 2, 2012 at 8:28 PM

    I think 4rth Answer is incorrect
    explanation 1 mb= 1024 kb=1024*1024 byte= 1048576 byte= 2^20 byte
    So Answer will be 20
    All option are incorrect.

  • Vaibhav Tiwari
    January 2, 2012 at 8:34 PM

    I also have doubt in 5th Answer
    Semaphore is also used for Dead lock avoidance and preventing race condition.
    so option B and option A both are Correct.

  • Vaibhav Tiwari
    January 2, 2012 at 9:14 PM

    Answer no 10 is also incorrect . correct answer is -127 option(c)
    Explanation – in 8 bit 1 bit that is starting bit will be reserve for sign.That is call signed bit
    now remaining bit are 7 . total 8 bit can be represent as follow
    1 1 1 1 1 1 1 1
    here 1st bit(sign bit) shows negative number. remaining 7 bit value according to

    – 64 32 16 8 4 2 1 = -127

    • srividhya
      July 7, 2012 at 9:33 PM

      it is wrong. The 10th answer is -128.see in the last I gave one command.(SRIVIDHYA)

      • sujith
        August 9, 2012 at 12:05 PM

        how u r are saying this is correct can you say reason

  • Vaibhav Tiwari
    January 2, 2012 at 9:24 PM

    U wrote above “If you find any answers is wrong kindly post that in comments below”.So I posted Kirthika .

    • Kirthika
      January 3, 2012 at 9:29 PM

      Thank you for your help 🙂 You’re right for all the answers.. And i’ve updated the post with your answers..

      • Vaibhav Tiwari
        January 4, 2012 at 2:06 AM

        My pleasure 🙂

  • Vaibhav Tiwari
    January 4, 2012 at 2:27 AM

    Actually Kirthika HCL is recruting at my college after few days. so if u have more question or paper of HCL ,plz send it to my email ID .Thanks in advance

  • Vaibhav Tiwari
    January 4, 2012 at 3:16 PM

    I got the question papers . Thank You

    • Chiana
      January 8, 2015 at 11:34 AM

      If your arctlies are always this helpful, “I’ll be back.”

  • ramya
    January 23, 2012 at 3:04 PM


  • swathi
    January 23, 2012 at 3:06 PM


  • Interview Questions
    February 11, 2012 at 2:54 PM

    hi. this is mohan. questions are OK.we need more questions…about this…….

  • uday
    February 15, 2012 at 5:39 PM

    please send me hcl interview questions for linux

  • saranyadevi
    March 16, 2012 at 1:40 PM


  • gayathri.c
    March 16, 2012 at 1:42 PM

    somewhat better……………..

  • srividhya
    July 7, 2012 at 9:31 PM

    i think 10th answer is wrong. The correct answer is -128. In 8bit,1bit for signed bit the remaining 7 bits are used to store the values.So 2^7=128.If the 8th bit(From right to left) is 1 then the value is negative.

  • Prasad
    March 1, 2013 at 2:28 AM

    Hi frd’s, i am having interview in HCL very soon on C (Exp), can any sent interview questions on C please, it’s urgent.
    my mail ID : careerprasad19@gmail.com


Welcome To TechTwinklers!

Tech Twinklers is a Tech Blog run by Students with an aspiring enthusiasm in Technology and Gaming. This Blog will bring News about the Modern Technology, Educational Advances, Campus Interviews, etc. So make sure you subscribe to our blog because we don't want you to miss a thing that is posted here..

We're on Facebook!