← Back to Interview Prep
🏢

Service-Based Company Guides

Targeted interview preparation guides for top IT service companies: Infosys, Wipro, and Cognizant. Understand their specific recruitment processes and frequently asked questions.

IN

Infosys Interview Guide

Infosys focuses heavily on strong fundamentals in Object-Oriented Programming, Database Management Systems, and basic coding constructs. Ensure you know your resume and academic projects inside out.

Q1.What is the recruitment process for Infosys?

  • 1. Online Assessment (Aptitude, Logical, Verbal, and basic coding for System Engineer roles; advanced coding for SP/DSE roles).
  • 2. Technical Interview (Focuses on resume, academic projects, OOPs, DBMS, and basics of chosen programming language).
  • 3. HR Interview (Focuses on behavioral traits, willingness to relocate, and company awareness).

Q2.Explain the difference between C++ and Java (Common Infosys Question).

  • Java is platform-independent (compiled to bytecode, runs on JVM), while C++ is platform-dependent.
  • Java does not support explicit pointers for memory safety; C++ heavily uses pointers.
  • C++ supports multiple inheritance using classes; Java uses interfaces to achieve it.

Q3.Write a query to fetch the second highest salary from an Employee table.

  • `SELECT MAX(salary) FROM Employee WHERE salary < (SELECT MAX(salary) FROM Employee);`
  • Alternative using nested query: `SELECT salary FROM (SELECT salary FROM Employee ORDER BY salary DESC LIMIT 2) AS emp ORDER BY salary ASC LIMIT 1;`

Q4.What is polymorphism? Give a real-life example.

  • Polymorphism means having many forms. In OOP, it allows methods to do different things based on the object it is acting upon.
  • Real-life example: A person can be an employee at the office, a customer at a shop, and a parent at home. Same entity, different behaviors in different contexts.

Q5.Why do you want to join Infosys?

  • Highlight Infosys's global presence and reputation as an IT giant.
  • Mention their training program (like the famous Mysore campus training) which is great for freshers.
  • Align your career goals with their growth opportunities and work culture.
WI

Wipro Interview Guide

Wipro's Elite NLTH process evaluates candidates on logical reasoning, essay writing, and core technical skills. Technical rounds often include questions on Java/C++, memory management, and SQL.

Q1.What is the recruitment process for Wipro (Elite NLTH)?

  • 1. Online Assessment: Aptitude (Quant, Logical, Verbal), Written Communication Test (Essay writing), and Online Programming Test (2 coding questions).
  • 2. Technical Interview (DSA basics, DBMS, project discussion, SDLC concepts).
  • 3. HR Interview (Communication skills, adaptability, background verification).

Q2.What is a memory leak? How is it handled in Java vs C++?

  • A memory leak occurs when a program allocates memory but fails to release it back to the OS when no longer needed.
  • In C++, the developer must manually deallocate memory using `delete` or `free()`. Failure to do so causes leaks.
  • In Java, the Garbage Collector (GC) automatically removes unreferenced objects, reducing (but not entirely eliminating) memory leaks.

Q3.Explain the difference between primary key and unique key.

  • Primary Key: Uniquely identifies a record. Cannot be NULL. A table can have only ONE primary key.
  • Unique Key: Ensures all values in a column are distinct. Can accept exactly ONE NULL value. A table can have MULTIPLE unique keys.

Q4.What are the four pillars of OOPs?

  • 1. Abstraction: Hiding internal implementation details and showing only functionality.
  • 2. Encapsulation: Wrapping data (variables) and code (methods) together as a single unit (class).
  • 3. Inheritance: One class acquiring the properties and behaviors of another class.
  • 4. Polymorphism: Ability to take multiple forms (overloading and overriding).

Q5.Are you willing to sign a service agreement / bond?

  • Wipro often requires a service agreement (bond) for a specific duration for freshers.
  • Best answer: "Yes, I am fully committed to building a long-term career here and am comfortable signing the agreement, as I am looking for stability and growth in my first role."
CTS

Cognizant Interview Guide

Cognizant differentiates between roles (GenC vs GenC Elevate/Next). Expect deeper dives into data structures, debugging skills, and logical problem-solving for advanced profiles.

Q1.What is the recruitment process for Cognizant (GenC / GenC Elevate)?

  • 1. Online Aptitude Test (Quants, Logical, Verbal, and Automata Fix / Debugging questions).
  • 2. Online Coding Test (For Elevate/Next profiles - advanced DSA and SQL).
  • 3. Technical Interview (Focuses heavily on logical thinking, database design, OOPs, and modern tech like Cloud/AI if applicable).
  • 4. HR Interview (Standard behavioral questions).

Q2.What is the difference between an Array and a Linked List?

  • Array: Fixed size, continuous memory allocation. Fast access (O(1)) via index. Insert/Delete is slow (O(n)).
  • Linked List: Dynamic size, scattered memory allocation connected via pointers. Slow access (O(n)) as you must traverse. Fast Insert/Delete (O(1)) if node is known.

Q3.Explain the concepts of overriding and overloading.

  • Overloading (Compile-time polymorphism): Multiple methods in the same class have the same name but different parameters (type or number).
  • Overriding (Run-time polymorphism): A subclass provides a specific implementation of a method that is already provided by its parent class (same name and parameters).

Q4.What is the Software Development Life Cycle (SDLC)?

  • SDLC is a process used by the software industry to design, develop, and test high-quality software.
  • Phases: 1. Requirement Analysis, 2. Design, 3. Implementation/Coding, 4. Testing, 5. Deployment, 6. Maintenance.
  • Common models: Waterfall, Agile, V-Model.

Q5.How do you handle a situation where you don't know the answer during an interview?

  • Be honest: "I am not entirely sure about the exact syntax/definition, but based on my understanding of X, I would approach it this way..."
  • Never bluff. Interviewers at Cognizant appreciate honesty and a logical thought process over memorized answers.

🏢 Ultimate Strategy for Service Companies

Master your basics (OOPs, SQL, HTML/CSS, basic DS). Don't try to know everything, but be very confident in the 1 or 2 programming languages you put on your resume. Communication skills and a positive attitude matter just as much as technical knowledge!

← Back to All Interview Guides