HCL Interview Questions | .net, C++, Java, php for Fresher’s & Experienced
HCL Interview Questions
Aspirants who are going to attend interview round in HCL India should have some knowledge about the company and the HCL Interview questions asked by the interviewer. The company’s all work is based on technology and programming, so candidates must know the JAVA, C++, .NET languages. Strongly prepare your introduction and arrange some facts about Hindustan Computers Limited before appearing in the interview.
The organization conducts interview to judge the confidence level and knowledge of an individual. So be confident and calm during interview and don’t make argument with the interviewers. It is essential for the candidates to bring their educational qualification and experience certificates at the time of Interview process. We the team of www.privatejobshub.in is providing you the type of questions asked in HCL interview and also some technical questions related to languages.
HCL Interview Questions
HCL C++ Interview Questions
Question: What is function prototype in C++?
Answer: A function prototype is an announcement of a task that omits the function body. It specifies the function’s name, argument types and return type. E.g. int add (int,int)
Question: When do you use :: Operator in C++?
Answer: We use :: operator if the local variable and global variable having the same name then we give priority to local variable. C++ allows flexibility of accessing the Local variable as well as global variable through a scope resolution operator.
Question: Define reference variable in C++.
Answer: A reference variable is a twin of pointer with few differences. It is acknowledged using & operator. A reference variable ought to be initialized. The reference variable once distinct to refer to a variable then it can’t be changed to point to other variable. You can’t create an array of references the way it is possible with pointer.
Question: What is function overloading in C++?
Answer: You can have multiple functions with similar name with function overloading facility of C++. You can use same name for multiple functions when all these functions are doing matching thing.
Question: Define class using C++.
Answer: A class holds the data and functions that operate on the data. It serves as the guide of an object.
Go Through These Links:
HCL JAVA Interview Questions
Question: What is the purpose of garbage collection in Java, and when is it used?
Answer: The principle of garbage collection is to make out and discard objects that are no longer needed by a program so that their resources can be domesticated and reused. A Java object is subject to garbage collection when it becomes hard to find to the program in which it is used.
Question: What are pass by reference and pass by value?
Answer: Pass By Reference means the passing the address itself rather than passing the value. Pass by Value means passing a copy of the value to be passed.
Question: Difference between Vector and Array List?
Answer: Vector is synchronized whereas array list is not.
Technical Interview Questions And Answers
Question: What is an Iterator?
Answer: Some of the collection classes provide traversal of their contents via a java.util.Iterator interface. This interface allows you to walk through a collection of objects, operating on each object in turn. Remember when using Iterators that they contain a snapshot of the collection at the time the Iterator was obtained; generally it is not advisable to modify the collection itself while traversing an Iterator.
Question: Difference between Swing and AWT?
Answer: AWT are heavy-weight components. Swings are light-weight components. Hence swing works faster than AWT.
Must Read: Tips and Tricks to Crack Interview
HCL PHP Interview Questions
Question: Explain about HTML5 local storage?
Answer: There are two ways to store data in HTML as objects locally:
- Local Storage – store data across session access
- Session Storage – storing data for current session only
- Data will be stored in key/value pair format.
Benefits Of Formal Dressing At Job Interview
Question: Explain CSS inheritance?
Answer: Inheritance propagates property values from parent elements to their children. The inherited value of a property on an element is the computed value of the property on the element’s parent element. For the root element, which has no parent element, the inherited value is the initial value of the property. A property can also be explicitly inherited by using the inherit keyword in property.
Question: Explain java script associative array?
Answer: Associative arrays are where we can associate a key string with a value string
We can access each property by entering the name of the property as a string into the array
it refers to accessing the DOM elements of HTML also [as object or associative array]
Question: What is bootstrap?
Answer: Bootstrap is an open-source Java script framework developed by the team at Twitter. It is a combination of HTML, CSS, and Java script code designed to help build user interface components.
Bootstrap is Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development. Bootstrap was also programmed to support both HTML5 and CSS3
Bootstrap is a CSS and Java script framework that is used within your HTML. Bootstrap provides more advanced functionality to your web site.
Check This Also: Interview Experience of Top organizations
Question: Explain JS Namespace?
Answer: Name spacing is a procedure employed to avoid collisions with other objects or variables in the global namespace and also helps to arrange blocks of functionality into easily manageable groups that can be uniquely identified.
HCL HR Interview Questions
Some HCL interview questions and answers are provided below for the convenience of the contenders who are going to be the part of the interview in HCL Company.
Question: Why haven’t you got a job yet?
Answer: Give an answer in specific way like you are looking for a job that will give you stability. A job which gives job satisfaction but not only security. Or You can say, I don’t want to rush into something and regret later.
Top 10 HR Interview Questions And Answers
Question: Have you ever made a mistake at work? How did you rectify it?
Answer: Everybody makes mistakes; there is nothing wrong in admitting it. During interview you can say that yes, there have been several times when you have made mistakes and learnt from them. Whenever there is chance you correct yourself, you did that and for the help you went back to your seniors.
Question: How do you feel about doing repetitive work?
Answer: First understand the question then speak your words like I recognize that every job has an component of repetitive work but I enjoy fulfilling all the aspects and I like to give my 100%.
Question: What was your biggest mistake?
Answer: The answer to this question may differ from person to person, do not give answers like “I don’t think I have made any mistake”. This creates an over confident impression. If you are not able to think about it in front of the interviewer, you can say “I’ve made mistakes; though I can’t remember of any mistake at this moment.”
HCL Interview Questions for Freshers
Question: What are your greatest strengths?
Answer: Number of answers are good to give, but in positive manner. Some good instances are about your problem solving skills, ability to work hard, professional expertise, leadership skills, positive attitude etc.
Question: Where do you see yourself five years from now?
Answer: Don’t be too specific. Make assure interviewer that you want to make a long-term commitment with the organization and this is the exact position you are looking for.
Interview Questions that Definitely Confuse
Question: Describe your management style?
Answer: Tell about some common labels as progressive or harmony etc. can have several meanings depending on which management expert you listen to. The situational style is safe and fits at all.
Question: How would you be an asset to our organization?
Answer: Highlight and let them know about your strengths/traits. This is the exact question where you can win their heart and with confidence.
Question: Do you have any questions for me?
Answer: Always have some questions prepared for the interviewer. How soon will I be able to be join? Etc.
Read More: HCL Placement Papers For Freshers
The above HCL interview questions and answers are given for your convenience; questions related to this are expected to be asked in the interview. Always sit in a good body posture and make a good command on English language, it will leave a positive impression on interviewers. Give your feedback in the available below comment box.