Cognizant Interview Questions

Digital technology, consulting, operations, and other IT services that a global company called Cognizant provides to various organizations. The business’s main office is in Teaneck, New Jersey. It began operations as a Dun & Bradstreet private division in 1994. It started taking on clients from outside businesses in 1996. Cognizant values are hiring individuals motivated to succeed and going above and beyond to help with their digital expertise significantly.

Basic questions

  1. What do you mean by memory leaks?
  2. How does garbage collection work?
  3. What do you indicate by the mark and sweep algorithm?
  4. What do you mean by dangling pointer?
  5. What do you mean by recursion?
  6. What do you mean by data type?
  7. What do you mean by malloc?
  8. Define a string.
  9. What do you mean by an integer?
  10. Define an array.
  11. What do you mean by primitive data types in Java?

Theoretical Questions

  1. Differentiate between int and Integer in Java?
  2. What do you mean by a bootloader?
  3. Differentiate between interpreter and compiler?
  4. What do you mean by the OOPs concept?
  5. What do you mean by Abstraction?
  6. What do you mean by Inheritance?
  7. What do you mean by constructor overriding?
  8. Elaborate constructor overloading?
  9. Elaborate on virtual functions with an example.
  10. Define DML statements.

Scenario Questions

  1. Explain Encapsulation with an example.
  2. Explain Polymorphism with an example
  3. Elaborate on a constructor. State one example
  4. Explain Destructor with an example
  5. What do you mean by DDL statements, and where are they used?
  6. Differentiate between Stack and Array?
  7. Elaborate Stack with the program?
  8. WAP a Bubble Sort algorithm?
  9. WAP a Merge Sort.
  10. How to find the time complexity of merge sort?

Practical questions

  1. WAP to find the power of a number
  2. WAP to reverse a number in Java.
  3. WAP to sort a Linked List.
  4. WAP to reverse a Linked List.
  5. State Queue with a real-life example.
  6. State a doubly Linked List with a real-life example.
  7. Differentiate between push() and pop().
  8. Explain the Graph with a real-life example.
  9. WAP to implement Binary Search tree
  10. Elaborate on the concept of a binary tree with an example.

Interview Questions

  1. Describe dynamic programming.
  2. Describe the traveling salesman. What does it serve?
  3. Describe anticipative multitasking
  4. What steps are required in starting an Oracle database?
  5. Will you elucidate RAC?
  6. Pane: Window:: Book:?
  7. A 300-meter-long train traveling at 150 km/h crosses another train traveling at 120 km/h in the opposing direction in 9 seconds. What is the second train’s length?
  8. How long will it take a train traveling at 83 km/hr along a 300-meter track to pass a guy walking 3 km/hr in the train’s direction?
  9. In 2 years, a fixed quantity of money becomes Rs. 3000, and in 4 years, Rs. 3400. Calculate the amount and interest rate.



  • Barry Allen

    A Full Stack Developer with 10+ years of experience in different domain including SAP, Blockchain, AI and Web Development.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.