Thursday, September 9, 2010

job phone interview questions (1)

Before phone interview:

Talking on the phone isn't as easy as it seems. Practice, practice and practice. Find a family member
and sound recorder (most computers have this) to conduct a mock interview so you can see how you sound over the phone. Do research on the company. Prepare  to answer technical questions.


 During phone interview:

Smile and positive attitude will make your voice better. Speak slowly and enunciate clearly.
Don't interrupt the interviewer. Take your time, but short answers like normal conversation.
Finally say thank you after phone interview.
The goal  of  is to set-up a face-to-face interview, ask interviewer if it would be possible to
meet in person.

After phone interview:
Thank you note.


 Typical phone interview general  questions: 


1. Describe Your Employment History and education (i,e tell me about yourself)?

company name, job title, starting and ending days of employment, your main contribution.
School and degree.


2. Why did you leave your job?

3. Why do you want to apply this job? How can you contribute to the company?

4. What do you know about this company?

5. Do you have question for me?
Ask if it would be possible to meet in person.

 Technical questions for C++ programmer.

.1) What is a virtual method? A pure virtual method? When would you use/not use a virtual destructor?


Answer: A function qualified by the virtual keyword. Virtual function implements polymorphism whereby object belonging to different classes can respond to the same message in different way . A virtual function is something which helps a derived class in overriding the implementation of a functionality of a base class.
A pure virtual function is a one which serves only as a place holder .Such functions are called Do-nothing functions.

By making the Base class Destructor virtual, both the base and derived  destructors will be called in order. Otherwise the destructor of the derived class was not called at all.

2) What is the difference between a pointer and a reference?
 
Answer: A reference must always refer to some object and, therefore, must always be initialized; pointers do not have such restrictions. A pointer can be reassigned to point to different objects while a reference always refers to an object with which it was initialized.

3) What is the difference between new/delete and malloc/free?

Answer: Malloc/free do not know about constructors and destructors. New and delete create and destroy objects, while malloc and free allocate and deallocate memory.

4)  What is the difference between C and C++? Would you prefer to use one over the other?

Answer: C is based on structured programming whereas C++ supports the object-oriented programming paradigm. Due to the advantages inherent in object-oriented programs such as modularity and reuse, C++ is preferred. However almost anything that can be built using C++ can also be built using C.
  
5) What is the difference between public, protected, and private members of a class?

Answer: Private members are accessible only by members and friends of the class. Protected members are accessible by members and friends of the class and by members and friends of derived classes. Public members are accessible by everyone.

6)What are the differences between a C++ struct and C++ class?

Answer: The default member and base class access specifiers are different.
The C++ struct has all the features of the class. The only differences are that a struct defaults to public member access and public base class inheritance, and a class defaults to the private access specifier and private base class inheritance.






2 comments:

  1. Hi

    I read this post two times.

    I like it so much, please try to keep posting.

    Let me introduce other material that may be good for our community.

    Source: Mock interview questions

    Best regards
    Henry

    ReplyDelete
  2. Dear tamo:

    Thanks for your visiting.
    Keep good work!

    Best Regards --Jiansen Lu--

    ReplyDelete