Programming Interviews Questions

  1. How can you defined OOP?
  2. How can you use OOP in your projects/products/applications?
  3. What is copy constructor?
  4. How many types of copy constructor are there?
  5. What shallow copy constructor does/behaves?
  6. Does C++ support copy constructor?
  7. Does Java support copy constructor?
  8. (If the answer to the previous question was correct) Why doesn’t Java support copy constructor?
  9. What is software life cycle?

C Interview Questions

  1. What does static variable mean?
  2. What is a pointer?
  3. What is a structure?
  4. What are the differences between structures and arrays?
  5. In header files whether functions are declared or defined?
  6. What are the differences between malloc() and calloc()?
  7. What are macros? What are the advantages and disadvantages?
  8. Difference between pass by reference and pass by value?
  9. What is static identifier?
  10. Where are the auto variables stored?
  11. Where does global, static, local, register variables, free memory and C Program instructions get stored?
  12. Difference between arrays and linked list?

Good C interview Questions

  1. How do you decide which integer type to use?
  2. What should the 64-bit integer type on new, 64-bit machines be?
  3. What’s the best way to declare and define global variables?
  4. What does extern mean in a function declaration?
  5. What’s the auto keyword good for?
  6. I can’t seem to define a linked list node which contains a pointer to itself.
  7. How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
  8. How can I declare a function that returns a pointer to a function of its own type?

General Java Servelet Questions

  1. What is the servlet?
  2. What are the JSP atrributes?
  3. What is the need of super.init(config) in servlets?
  4. How to know whether we have to use jsp or servlet in our project?
  5. Can we call destroy() method on servlets from service method?
  6. What is the Servlet Interface?
  7. What is the difference between GenericServlet and HttpServlet?
  8. How we can check in particular page the session will be alive or not?
  9. What is the importance of deployment descriptor in servlet?
  10. When we increase the buffer size in our project using page directive attribute ‘buffer’ what changes we observe?

Newbie Java Questions

  1. If Runnable interface is better than Thread class, than why we are using Thread class? What is the need for Thread class?
  2. Why we are calling System.gc() method to garbage collection of unused object, if garbage collection is automatically done in Java by daemon thread in background process with regular interval?
  3. What is the significance of Marker interface? Why are we using, even though it has no method?
  4. Why we are always doing rs.next() in first line of while loop in retrieving data from database through result set?

Pages (98): « First ... « 91 92 93 [94] 95 96 97 » ... Last »