Cognizant
TO THE NEW Interview Questions and Answers
Q1. What are static binding and dynamic binding
Static binding is resolved at compile time, while dynamic binding is resolved at runtime.
Static binding is also known as early binding, where the method call is resolved at compile time based on the type of reference variable.
Dynamic binding is also known as late binding, where the method call is resolved at runtime based on the actual object type.
Static binding is faster but less flexible, while dynamic binding is slower but more flexible.
Example of static binding: method ov...read more
Q2. State the difference between heap memory and stack memory.
Heap memory is dynamic memory allocated during runtime, while stack memory is static memory allocated at compile time.
Heap memory is used for dynamic memory allocation, while stack memory is used for static memory allocation.
Heap memory is slower to access compared to stack memory.
Heap memory is managed by the programmer, while stack memory is managed by the compiler.
Examples: Variables declared using 'new' keyword in Java are stored in heap memory, while local variables in a...read more
Q3. how to handle an angry customer
Listen actively, empathize with the customer, remain calm, apologize, offer solutions, follow up.
Listen to the customer's concerns without interrupting
Empathize with the customer's emotions and show understanding
Remain calm and composed, do not take the anger personally
Apologize for the inconvenience caused, even if it wasn't your fault
Offer solutions to resolve the issue and meet the customer's needs
Follow up with the customer to ensure their satisfaction
Q4. Explain the full definition of c++
C++ is a high-level programming language known for its efficiency and flexibility.
C++ is an object-oriented programming language
It supports features like classes, inheritance, polymorphism, and encapsulation
C++ allows for both high-level and low-level programming
It is widely used in developing system software, application software, device drivers, embedded software, and games
Q5. Explain the concept of reentrancy
Reentrancy is the ability of a program to be interrupted in the middle of a task and then continue that task from where it left off.
Reentrancy allows a program to handle multiple tasks simultaneously by pausing one task to work on another.
It is commonly used in multi-threaded programming to ensure that multiple threads can access the same code without interfering with each other.
An example of reentrancy is a function that can be called recursively, with each call using its ow...read more
Q6. Tell me about digital marketing
Digital marketing is the use of online platforms and technologies to promote products or services.
Digital marketing includes strategies such as social media marketing, email marketing, search engine optimization (SEO), and pay-per-click (PPC) advertising.
It allows businesses to reach a larger audience, target specific demographics, and track the effectiveness of their campaigns.
Examples of digital marketing tools include Google Ads, Facebook Ads, email marketing platforms lik...read more
Q7. Difference between c and c++
C is a procedural programming language while C++ is an object-oriented programming language.
C is a procedural programming language, while C++ is a combination of procedural and object-oriented programming.
C does not support classes and objects, while C++ does.
C does not have features like inheritance, polymorphism, and encapsulation which are present in C++.
C++ allows function overloading and operator overloading, which are not supported in C.
Q8. Name some fungal diseases
Some fungal diseases include athlete's foot, ringworm, and candidiasis.
Athlete's foot is a common fungal infection that affects the skin on the feet.
Ringworm is a contagious fungal infection that can affect the skin, scalp, and nails.
Candidiasis is a fungal infection caused by yeast that can affect various parts of the body.
More about working at Cognizant
Top HR Questions asked in TO THE NEW
Interview Process at TO THE NEW
Top Voice Process Executive Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month