Technical Questions asked in HCL Technologies

  1. Which of the following is not an OOP languages?
    1. C
    2. C++
    3. java
    4. COOL
    Answer: Option A.
    C is not an object oriented language
fb ad
  1. using in C++ is for
    1. using does not exist in C++
    2. used for library functions
    3. using is a literal in C++
    4. used for pointers
    Answer:  Option B.
    Note : it is also used often for namespaces.
  2. Which statements are use to UNLOCK the user?
    1. Alter user Scott account lock;
    2. Modified user Scott account unlock;
    3. Alter user Scott account unlock;
    4. Alter user Scott unlock;
    Answer: Option C.
  1. NULL is
    1. the same as 0 for integer
    2. the same as blank for character
    3. the same as 0 for integer and blank for character
    4. not a value
    Answer: Option D.
  2. Drawbacks of file processing system
    1. data redundancy
    2. Limited data sharing
    3. lack of security
    4. all of the above
    Answer: Option D.
  3. Which of the following allows function overloading in C++?
    1. type
    2. number of arguments
    3. both of above
    4. none of these
    Answer: Option C.
    Both type and number of arguments can be overloaded.
Rate Us