Search

HR Round Interview Questions for all streams Part- 2

7.)Var-args:
8) Annotations
 17) what is the difference between Collection and Collections?
A:
Collection is an interface to represent a group of individual objects.
Collections is an utility class for defining utility methods like sorting,searching and reversing etc.
18) what is the difference between ArrayList and vector?
A: ArrayList and vector both are growable array or resizable array of objects.
But vector si synchronized and ArrayList is not synchronized.
Vector is thread safe and ArrayList is not thread safe.
ArrayList gives more performance than Vector.
We can convert ArrayList as a synchronized by using synchronized block or method.
If ArrayList reaches its maximum capacity, it creates a new ArrayList object with new capacity as (current capacity*3/2)+1.
If Vector reaches its maximum capacity, a new Vector object will create with a capacity=current capacity*2 i.e double.
19) what is Enumeration?
A: Enumeration is an interface to retrieve the objects one by one and contain two methods.
Boolean hasMoreElements(); and Object nextElement();
We can get Enumeration object only for legacy classes( vector,stack,Hashtable,properties, Dictionay).
While iterating the objects of enumeration, we can get only read-access.i.e while iterating we are not allowed to perform any remove or modify operations.
20) what is Iterator?
A: Iterator is an interface which can be applied for any Collection implemented classes(legacy and non-legacy).
While iterating the objects, we are allowed to perform remove operation aslo, in addition to read operation.
This interace contains the following methods.
Boolean hasNext();
Object next();
Void remove();
21) what is ListIterator?
A: ListIterator is the child interface of Iterator. This can be applied only for List implemented classes(ArrayList, LinkedList, vector and stack).
This is a bidirectional cursor. We can move either to forward or backward direction.
While iterating, we are allowed to replace existing element with the new element, we are allowed to add new elements and still we can perform remove operation aslo.

22) what is Marker interface?
A: If an interface is marked for some ability such type of interfaces are called marker interfaces.
Example: Clonable, Serializable
If an interface with out any method, obviously accept as marker interface. Even though interface contains some methods, still we can consider as marker interface if it is marked for some ability.
Example : Comparable interface.
23) what is Comparable interface?
A:  This is present in java.lang package contains the following one method.
public int compareTo(Object obj)
-it returns –ve integer if o1 has to place before o2.
-it returns +ve integer if o1 has to place after o2.
It returns zero if o1 and o2 are equal.
All wrapper classes and String class already implemented Comparable interface. But the String Buffer doesn’t implement Comparable interface.
24) what is Comparator?
A:
If you want to define our own sorting we have to implement Comparator interface.
This interface present in java.util package.
This interface contain the following two methods.
Public int compare(Object o1,Object o2)
            -returns –ve value if  o1 comes before o2.
            - returns +ve value if o1 comes after o2.
            -returns zero if o1 and o2 are equal.
Pubilc boolean equals(Object obj)

25) what is the difference  between HashSet and TreeSet?
A: Elements are inserted based on the hashcode hence insertion order is  not preserved.
Duplicate object insertion is not possible. If we are trying to add a duplicate object no chance of getting RTE or CTE, add() just simply returns false.
Heterogenious objects are allowed. Null insertion is possible but only once.
Hashset is best choice for searching operations.
In TreeSet, duplicate objects are not allowed. Insertion order is not preserved, but all the elements are arranged in some sorting order. Heterogenious objects are not allowed voilation leads to Runtime Exception saying ClassCastException.
26) what is the difference between HashMap and Hashtable?
A: In HashMap, no method is synchronized. HashMap object is not thread safe but performance is high. As key and value, we are allowed to give null. This is non-legacy.
In Hashtable, methods are synchronized. So it is thread safe. Performance is low. Null is not allowed for both keys and values voilation leads to NPE. It is legacy.


Struts


1) what is struts?
-Struts is a web application framework.
-It is an open source software form Apache Software Foundation(ASF).
2) what is the purpose of struts software? Or why struts?
-Struts software is used  develop java web applications that follows MVC design pattern.
-If we use struts to develop industry strength web applications (online applications), development is faster, easier, flexible , cost effective and easier to maintain.
3) How is Web application development easier, flexible and faster if we use struts?
-If a web application is developed using struts framework all the benefits of MVC available to the application.
-In an MVC based web application, controller development is tougher and time consuming job. Moreover if the application changes, we need to develop another controller again right from the scratch. i.e reusability of controller is not possible.
-Struts provides a built-in controller which is reusable for any kind of web application and provides major portion of application logic required in any domain.
-Struts provides library support required to develop our application specific application logic.
-struts provides library support to make view layer development easier.
Note: Struts does not provide any support for building the model layer. But it will allow us to use any thing as model. i.e a java bean, an ejb , a spring bean or a web service.
MVC  architecture:
      view
 
        controller
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          model
 


Web client
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                    Web container                                             Data base

Struts Architecture:

-In a struts(1.x) application the following architecture elements involved.
            1.ActionServlet
            2.form beans(ActionForms)
            3.Action classes
            4.configuration file (struts-config.xml)
            5.jsp’s



Web client
 
 



                          response
   ActionServlet
 
 


                    request
Action class
 
 



 
struts-config.xml
 
                                               


ActionServlet:

-It is the centralized controller of any struts1.x application.
-It acts as a single entry point access to any online service of the web application(web site).
-It is a servlet class given by struts framework.
-In deployment descriptor of the struts application (web.xml) we need to register the ActionServlet , pre-initialise it and create its URL pattern so as to receive every client request.
-ActionServlet class uses struts configuration (struts-config.xml) file to deal with flow control in the application.

Action class(es):

-For each specific functionality of the application(use case) we generally developed one action class.
-Struts application is nothing but development of action classes only.
-In action classes we develop our own application specific  application logic.
-Action classes are primarily responsible to transfer data between view layer and model and vice versa.
-Action classes are the assistants for  the ActionServlet.
-Action classes are the mini servlets.
-Struts application development means development of Action classes only.
-we can’t write business logic in action class.
-struts 1.x , action classes are singleton . i.e. only one instance is created and serves to all servlets.

ActionForms:

-An ActionForm is also known as a form bean in a struts application. We need to develop* form beans of the application and configure them in struts configuration file.
-ActionForm classes are pure java bean classes.
-Form beans acts as a data containers/channel for the data that is transferring from view layer to model layer via controller layer. It holds end user form data.
-Form beans are part of view layer.

Struts-config.xml

-This is the configuration file of the struts 1.x application.
-During the initialization phase, ActionServlet loads this file into memory and creates a set of configuration objects.
-struts-config.xml is used to create relationship between view layer and controller. ActionSerlet uses this configuration file to control the flow of the application.

JSPs:

-Jsps are developed to create input pages of the struts application and response pages as well. Struts provides tag libraries that simplify jsp development . Jsps will be synchronized with struts framework nicely if we use struts tag libraries to develop the jsps.

4) ActionServlet is from which package and what are the methods in it?

A: org.apache.struts.action.ActionServlet
ActionServlet methods:
getModuleConfig()
getRequestProcessor()
getResources()
addServletMappings()
destroy()
initServlet()
log()
initModuleConfig()

5) RequestProcessor is from which package and what are the methods in it?
A: org.apache.struts.action.RequestProcessor
RequestProcessor methods:
processActionForm()
processPopulate()
processValidate()
processActionCreate()
ProcessLocate()
processSetContentType()
processSecurity()

 

 

 

 

 

 

 

 

 

 

Flow control in Struts 1.x application:


 







                                                                                                                                               
                                                           
                         Is validation                                                    NO
                        success
                                                                                                                                                                                    yes                                                                                                                                                                                                                                                                                                                                                                                                                                   










                                                                                                                         

HR Interview Questions & Answers


1.                 Tell me something about yourself? (or) Let me know something about yourself
A.                   Yes sir/mam, I ____from ____I did____from____. My hobbies are ___, ___.About my family, my father is _____, my mother is ____, and I have ___brothers and ___sisters.

My strengths are:  
 I have good communication skills in English, positive attitude, good analytical skills and willingness to work in any environment.

This is all about me mam/sir.
 
     For experienced people:

    Yes sir/mam, I ____, I am presently working with ____as a ___for ___ years. I am specialized in ____.

My competencies are strong communication skills in English, good analytical skills, interpersonal skills and cognitive mindset. I would like to see myself as a ____in ___ years of time. This is all about me mam/sir.


2.
                 What are your major weaknesses?
A.            My assertiveness and always I think that I am  perfect in all my doings but it may not be true in    other’s perspective. These are my major weaknesses.

3.                 Where do you want to see yourself after 2 years from now?
A.                           I would like to see myself as a team lead in this career in two years of time.

4.                 How long would you like to work here?
A.                           I would like to work here as long as the company needs my services.

5.                 Are you ready to sign on bond for 2 years?
A.                           Yes of course, I am ready to sign on bond after going through the document.

6.                 Are you ready to relocate anywhere?
A.                           Yes, I am comfortable to go anywhere.

7.                 Why should I hire you?
A.                           I have got enough competencies which are very essential to this career, so that I think I am perfectly suitable candidate to this position.

8.                 What is success to you?
A.                           Success to me achieving whatever I wanted to achieve in stipulated time.

9.                 How do you take failures in your life?
A.                           I take failures in my life as experiences for further success in future attempt.

10.            What are your expectations from this company?
A.                           I am expecting good career prospects and global exposure.


11.            What is your expected pay package?
A.                           I am expecting as per the company norms and conditions to this position.
(Or)   I am expecting around 25% hike on my current salary.


12.            How would you rate your communication skills on the scale of 1 to 10?
A.                           I would give around 8 to my communication skills.

13.            What would be your preference among Money, Work, Satisfaction and Designation? Why?
A.                           My preference would be Work, Satisfaction, Designation and Money. Because if I get satisfied with my work I can work here for longtime.

14.            Why do you want to work for call centers?
A.                           I would like to work for call centers because I am very passionate about customer services and it provides very lucrative career.

15.            What are the traits/ attributes of call center executive?
A.                           He must be good at communication skills in English language, analytical skills, problem solving skills and he should have a lot of patience to handle the customer calls continuously.

16.            Do you have any reference in our company?
A.                           I have no reference at all in your company.

17.            What do you know about this company?
A.                           This is highly reputed and top-notch MNC Company in India. You have client base all over the world.

18.            How do you know about this company?
A.                           I came to know about this through your website.

19.            Why are you leaving your current company/position?
A.                           I have mastered my work there and I am looking for more challenging career.

20.            If I enquire about your candidature with your previous employer, what would he say?
A.                           He would speak about me as a committed, trustworthy, honesty, team player and resourceful employee.

21.            What is call center?
A.                           Call center is a place where the calls are received or answered in a high volume for sales, marketing, customer service and other specialized business activities.

22.            What is inbound call center?
A.                           Here the call center executive will receive the calls from the customers to answer their queries.

23.            What is outbound call center?
A.                           Here the executive calls the customers for sales and marketing and other business purposes.

24.            What is Outsourcing and BPO?
A.                           Transferring the office work from one location to other location and getting done it.

BPO:  BPO stands for Back Office Process Outsourcing (or) Business process Outsourcing. Here the executive will get the Document from the clients and Process them according to the requirements and send them to the clients.

25.            What is your notice period? Or how much time do you require to join here?
A.                           I will join within 2 weeks.

26.            What are your expectations from your team leader?
A.                           I expect good work support, encouragement, motivation, cooperation and right guidance to do my job well.

27.            Do you think team work is important for any organization?
A.                           Yes, because by team work only we can achieve more together rather than individual efforts.

28.            How do you face stressful or difficult situations in your workplace?
A.                           I face any difficult situations with the help of my senior colleagues and with my team leader. If necessary I will take my peer’s support also.

29.            Did you face any typical situations in your previous company?
A.                           No, I did not face any typical situations in your previous company.

30.            Do you have any questions for me?
A.                           Yes, I have some questions: 
Do you provide any formal training before getting in to work?
What would be my designation after getting selected? And would you tell the company’s hierarchy?
1.Tell me about yourself?
A: I'm shiva shankar from puttaapaka which is in Nalgonda  district,Andhra Pradesh.
I did my scholling from Zilla Parishat High School, puttaapaka. I did my intermediate from A.P.R. Jr. college ,Nimmakuru. I graduated in Bachelor of Commerce from M.M.J.D College, Guntur.
After my graduation, i joined in Maximus Tech Systems, Hyderabad as a software trainee. I worked one year for that company. After that, i joined in Accenture software lab, Hyderabad. I am working for that company as Software Engineer.
    Coming my family background, my father name is Durga Rao, he is a Waever. My mother name is Ojjiramma,  is house wife/Home maker. I have one brother. He is elder to me. My brother is working  in Govt Sector as a Chief Executive…..
2. What are you working as your company?
A:I joined as a fresher in that company as a software Trainee. And i have been working in the same company as software Engineer.
3. what are your strengths and good qualities?
A: I am good team player( i always like to work in a team sharing information, cooperation with the team members. I like to help others. I am hard working person. I always complete my work on time without postponing them. I am hard worker and good team player.
4. what are your big achievements?
A: well qualified, hard working and i have good experience on java. I can contribute to your company. Given me a chance i will prove myself and add value to your company.
5. what is most important in a job?
A: A job profile and responsibility. I look for more responsibilities and challenges. Salary is also import. But is not only criteria.
A job which can offer me a good carrier growth. i.e technology wise and salary wise.
I am happy with that company, whatever i learnt i attribute to that company. I am looking for a better opportunity and responsibility.
6. why you work for more than two years with your previous company?
A: I wanted to learn work and gain good knowledge by working on various projects.
I had signed 2 years bond with them.
I got a chance to work in a good project.
7. What is your current CTC(cost to company)?
A: 3.3 lakhs per annum
8. Generally what is your pay package for this position? or How much do you pay for this position? or what about your pay package? or how much you are expecting? or what are your salary expectations? what is your expected ctc?
A:3- 4 lacs per annum.
9. Is these any variable pay?
A: No
10. Is it negotiable or bargaining?
A: To some extent, not less than 3.5 lakhs per annum.
11. when can i know the result? Is there any further rounds or any more rounds?
When can i expect the result?
12. If you get a better pay job or good opportunity would you leave the company?
A: I'm committed to the company. Generally i'm honest and committed to the company which i work with.
As long as i learn and enjoy work, i will be with that company.
11. How long would you work with us?
A: As long as work is challenging( I should learn new things from the job improves my skill set and knowledge).
12. Why this company or job?
A: I have got the knowledge and skill set which will suit this job perfectly or very well. I can add value to your company with my experience and hard work and hardworking nature.
13. Do you have any questions?
A: what is my exact job profile.
 what is the carrier path like...
How is the work culture or environment
14. Anything other than this? A: NO
Interview Skills:

Important Interview Questions With Sample Answers

1) How would you describe yourself?
This is a chance for you to shine — but not to tell your life history. Give a very brief introduction including education and how it will be useful in the position for which you’re applying.

Sample Response:
My education background is  ______. I have also done a foundation program in Retail from Angeos. With the growing opportunity in Retail and marketing sector I decided to go for this course.


2) Describe your ideal job? [OR] How would you describe your ideal job?
Your description of your ideal job should sound like the job you’re interviewing for.

Sample Response:
My ideal job is where I can make best use of my education, skills and can work as a good team member.


3) What influenced you to choose this career?
  • Why do you want to join call centre?
  • Why did you choose this career?
  • How do you plan to achieve your goals?
Be sure your responses demonstrate sound decision-making processes.

Sample response:
I like talking to new people and call centre can offer me a chance for growth and better career prospects as it is a booming industry.
[OR]
I enjoy facing and overcoming the challenges of making a sale. I feel very confident approaching people I don’t know and convincing them that they need my product. In any profession self-determinism surely helps and I am determined to grow in this career.


4) What specific goals have you established for your career?
  • What goals do you have in your career?
  • What motivates you?
  • What changes would you make at your college?
  • What were your favorite classes? Why?
  • Who were your favorite professors? Why?
These questions require:
-         Thoughtful responses
-         Responses that are not self-serving
-         Responses thatare specific to the job, if possible

Sample response:
I am motivated towards growth and career growth.
[OR]
My goals include obtaining a better working knowledge of retail and allied areas, which would allow me contribute organization and add value. Also this is the foundation block to advancing my career prospects.


5) What are your strengths & Weaknesses?

Sample Response:
My strengths are in my ability to be flexible. As far as weaknesses, I have a tendency to overwork.


6) Do you prefer to work with others or on your own?
This is a question you should have asked yourself before you applied for the job. The interviewer wants to make sure that you are appropriate for the job for which you are applying. If you’re going to be part of a team, you should enjoy working with others. On the other hand, if you’re going to be doing data entry, it might be a good idea if you enjoy working on your own. Remember, however, that companies don’t want to hire workers who need constant handholding.

Sample Response:
I enjoy being part of a team and cooperating with others, but I also enjoy working on my own. When I was in school I worked in a team for many projects and would discuss and meet with team members. There was a lot of communication and cooperation among the group, but I was responsible for completing part of the project on my own.


7) Why are you the best person for the job?
Don’t boast and say that I have the best personality traits and education

No comments:

Post a Comment