250+ Coding Interview Questions Asked in Service-Based Companies (with Company Tags & Links)

  1. Reverse a string – Asked in: Infosys
  2. Check if a string is a palindrome – Asked in: Capgemini

  3. Find the factorial of a number – Asked in: Wipro

  4. Find the largest number in an array – Asked in: TCS

  5. Find the smallest number in an array – Asked in: Cognizant

  6. Calculate the sum of array elements – Asked in: Infosys

  7. Count even and odd numbers in an array – Asked in: Accenture

  8. Count vowels and consonants in a string – Asked in: IBM

  9. Swap two numbers – Asked in: TCS

  10. Print Fibonacci series – Asked in: Infosys

  11. Check if a number is prime – Asked in: Wipro

  12. Find GCD of two numbers – Asked in: TCS

  13. Find LCM of two numbers – Asked in: Infosys

  14. Check Armstrong number – Asked in: Capgemini

  15. Check Perfect number – Asked in: Cognizant

  16. Reverse a number – Asked in: IBM

  17. Count digits in a number – Asked in: Accenture

  18. Print prime numbers in a range – Asked in: TCS

  19. Print multiplication table – Asked in: Infosys

  20. Find power of a number – Asked in: Wipro

  21. Convert binary to decimal – Asked in: Capgemini

  22. Convert decimal to binary – Asked in: Cognizant

  23. Remove duplicates from an array – Asked in: Infosys

  24. Find frequency of elements in an array – Asked in: Accenture

  25. Sort array using bubble sort – Asked in: TCS

  26. Sort array using selection sort – Asked in: Wipro

  27. Find second largest element – Asked in: IBM

  28. Find second smallest element – Asked in: Capgemini

  29. Merge two arrays – Asked in: Infosys

  30. Find missing number in array (1 to N) – Asked in: TCS

  31. Count occurrences of a character in string – Asked in: Wipro

  32. Capitalize first letter of each word in string – Asked in: Accenture

  33. Remove all white spaces from string – Asked in: Infosys

  34. Replace character in string – Asked in: Cognizant

  35. Remove special characters from string – Asked in: TCS

  36. Compare two strings – Asked in: Wipro

  37. Find length of string without using length() – Asked in: Capgemini

  38. Convert lowercase to uppercase – Asked in: Infosys

  39. Convert string to integer – Asked in: IBM

  40. Convert integer to string – Asked in: Accenture

  41. Find ASCII value of character – Asked in: TCS

  42. Check if strings are anagrams – Asked in: Capgemini

  43. Count number of words in string – Asked in: Infosys

  44. Remove duplicates from string – Asked in: Wipro

  45. Check if array is sorted – Asked in: Cognizant

  46. Implement linear search – Asked in: TCS

  47. Implement binary search – Asked in: Infosys

  48. Find intersection of two arrays – Asked in: Wipro

  49. Find union of two arrays – Asked in: Accenture

  50. Find sum of digits of number – Asked in: Capgemini

  1. Find common elements in three sorted arrays – Asked in: Infosys

  2. Check for pair with given sum in array – Asked in: Capgemini

  3. Find majority element in array – Asked in: TCS

  4. Kadane’s Algorithm – Max subarray sum – Asked in: Wipro

  5. Check if array contains duplicate – Asked in: Infosys

  6. Check if two strings are isomorphic – Asked in: IBM

  7. Longest common prefix – Asked in: Accenture

  8. Longest substring without repeating characters – Asked in: TCS

  9. Group anagrams – Asked in: Wipro

  10. Check if linked list is palindrome – Asked in: Infosys

  11. Find middle of linked list – Asked in: Capgemini

  12. Detect loop in linked list – Asked in: TCS

  13. Remove Nth node from end – Asked in: Cognizant

  14. Merge two sorted linked lists – Asked in: Wipro

  15. Reverse a linked list – Asked in: Infosys

  16. Find intersection of two linked lists – Asked in: Accenture

  17. Add two numbers as linked list – Asked in: IBM

  18. Remove duplicates from sorted list – Asked in: Capgemini

  19. Delete node in a linked list – Asked in: TCS

  20. Odd even linked list – Asked in: Wipro

  21. Detect and remove loop in linked list – Asked in: Infosys

  22. Implement stack using arrays – Asked in: Capgemini

  23. Implement queue using arrays – Asked in: TCS

  24. Implement circular queue – Asked in: Cognizant

  25. Infix to postfix conversion – Asked in: Wipro

  26. Evaluate postfix expression – Asked in: Infosys

  27. Next greater element – Asked in: Accenture

  28. Balanced parentheses – Asked in: IBM

  29. Stock span problem – Asked in: Capgemini

  30. LRU Cache implementation – Asked in: TCS

  31. Insert interval – Asked in: Wipro

  32. Merge intervals – Asked in: Infosys

  33. Minimum platforms required – Asked in: Capgemini

  34. Job scheduling problem – Asked in: TCS

  35. N meeting in one room – Asked in: Wipro

  36. Activity selection problem – Asked in: Infosys

  37. Fractional knapsack problem – Asked in: IBM

  38. 0/1 Knapsack problem – Asked in: Accenture

  39. Longest common subsequence – Asked in: TCS

  40. Longest palindromic subsequence – Asked in: Capgemini

  41. Coin change problem – Asked in: Infosys

  42. Rod cutting problem – Asked in: Cognizant

  43. Minimum number of coins – Asked in: Accenture

  44. Subset sum problem – Asked in: Wipro

  45. Word break problem – Asked in: IBM

  46. Longest increasing subsequence – Asked in: TCS

  47. Maximum product subarray – Asked in: Infosys

  48. Edit distance – Asked in: Capgemini

  49. Boolean parenthesization problem – Asked in: Wipro

  50. Palindrome partitioning – Asked in: TCS

  1. Two Sum Problem – Asked in: TCS

  2. Move zeros to end of array – Asked in: Wipro

  3. Rotate array by K elements – Asked in: Infosys

  4. Check if subarray with 0 sum exists – Asked in: Capgemini

  5. Find longest subarray with given sum – Asked in: Cognizant

  6. Maximum sum increasing subsequence – Asked in: Infosys

  7. Trapping Rain Water – Asked in: TCS

  8. Minimum jumps to reach end – Asked in: Wipro

  9. Chocolate Distribution Problem – Asked in: Capgemini

  10. Activity Selection (Greedy) – Asked in: Accenture

  11. Find missing and repeating number – Asked in: TCS

  12. Find duplicate number (Floyd’s Cycle) – Asked in: Infosys

  13. Set Matrix Zeroes – Asked in: Wipro

  14. Spiral Matrix – Asked in: Capgemini

  15. Search in a sorted 2D matrix – Asked in: IBM

  16. Find peak element – Asked in: Accenture

  17. Kth smallest element in array – Asked in: TCS

  18. Kth largest element using heap – Asked in: Infosys

  19. Sliding window maximum – Asked in: Wipro

  20. First negative integer in window – Asked in: Capgemini

  21. Check if brackets are balanced – Asked in: Infosys

  22. Implement queue using stack – Asked in: IBM

  23. Implement stack using queue – Asked in: Accenture

  24. LRU Cache – Asked in: Capgemini

  25. LFU Cache – Asked in: Wipro

  26. Flatten a linked list – Asked in: TCS

  27. Clone a linked list with random pointer – Asked in: Infosys

  28. Sort a stack – Asked in: Capgemini

  29. Delete middle of a stack – Asked in: Wipro

  30. Insert at bottom of stack – Asked in: TCS

  31. Check for balanced tree – Asked in: Infosys

  32. Diameter of binary tree – Asked in: Capgemini

  33. Invert binary tree – Asked in: IBM

  34. Zigzag traversal of binary tree – Asked in: Accenture

  35. Boundary traversal of binary tree – Asked in: TCS

  36. Top view of binary tree – Asked in: Infosys

  37. Bottom view of binary tree – Asked in: Capgemini

  38. Vertical order traversal – Asked in: Wipro

  39. Symmetric tree – Asked in: Infosys

  40. Binary tree from inorder & preorder – Asked in: IBM

  41. Lowest common ancestor in binary tree – Asked in: Capgemini

  42. Max depth of binary tree – Asked in: TCS

  43. Sum root to leaf numbers – Asked in: Infosys

  44. Path sum – Asked in: Wipro

  45. Binary tree level order traversal – Asked in: Accenture

  46. Convert binary tree to doubly linked list – Asked in: Capgemini

  47. Serialize and deserialize binary tree – Asked in: Infosys

  48. Check subtree of another tree – Asked in: TCS

  49. Construct tree from postorder and inorder – Asked in: Capgemini

  50. Flatten binary tree to linked list – Asked in: Wipro

  1. Find all duplicates in array – Asked in: Infosys

  2. Find first and last position of element – Asked in: TCS

  3. Count number of subarrays with sum k – Asked in: Capgemini

  4. Find pivot index – Asked in: Cognizant

  5. Max consecutive ones – Asked in: Wipro

  6. Missing number – Asked in: Accenture

  7. Min size subarray sum – Asked in: Infosys

  8. Find all numbers disappeared – Asked in: TCS

  9. Minimum operations to make array equal – Asked in: IBM

  10. Merge two sorted arrays – Asked in: Capgemini

  11. Check array is sorted and rotated – Asked in: Wipro

  12. Best time to buy and sell stock – Asked in: Infosys

  13. Subarray product less than k – Asked in: Accenture

  14. Find target indices after sorting – Asked in: TCS

  15. Rearrange array elements by sign – Asked in: Wipro

  16. Maximum average subarray I – Asked in: Capgemini

  17. Find kth positive missing number – Asked in: Infosys

  18. Number of good pairs – Asked in: Cognizant

  19. Intersection of two arrays – Asked in: IBM

  20. Relative sort array – Asked in: Capgemini

  21. Check if number is power of two – Asked in: Wipro

  22. Single number – Asked in: TCS

  23. Hamming weight – Asked in: Infosys

  24. Count set bits – Asked in: Accenture

  25. Find XOR of numbers from 1 to n – Asked in: IBM

  26. Sum of two integers without + – – Asked in: Capgemini

  27. Reverse bits – Asked in: Wipro

  28. Add binary – Asked in: Infosys

  29. Bitwise AND of numbers range – Asked in: TCS

  30. Find missing number using XOR – Asked in: Accenture

  31. Subsets – Asked in: Wipro

  32. Permutations – Asked in: Infosys

  33. Combination sum – Asked in: Capgemini

  34. Word search – Asked in: TCS

  35. N queens – Asked in: IBM

  36. Palindrome partitioning – Asked in: Accenture

  37. Letter case permutation – Asked in: Cognizant

  38. Generate parentheses – Asked in: Infosys

  39. Sudoku solver – Asked in: Wipro

  40. Restore IP addresses – Asked in: TCS

  41. Gray code – Asked in: Capgemini

  42. Combination sum II – Asked in: Infosys

  43. Combinations – Asked in: Wipro

  44. Subsets II – Asked in: Accenture

  45. Path sum II – Asked in: TCS

  46. Letter combinations of a phone number – Asked in: Capgemini

  47. Permutations II – Asked in: Infosys

  48. Word break – Asked in: Wipro

  49. Palindrome partitioning II – Asked in: IBM

  50. Minimum number of swaps to make string balanced – Asked in: Cognizant

  1. Validate Binary Search Tree – Asked in: Infosys

  2. Lowest Common Ancestor of a BST – Asked in: Wipro

  3. Binary Tree Inorder Traversal – Asked in: TCS

  4. Construct Binary Tree from Inorder and Preorder – Asked in: Capgemini

  5. Populating Next Right Pointers – Asked in: IBM

  6. Flatten a Multilevel Doubly Linked List – Asked in: Infosys

  7. Insert into a Binary Search Tree – Asked in: Cognizant

  8. Sum of Left Leaves – Asked in: Wipro

  9. Maximum Depth of N-ary Tree – Asked in: Accenture

  10. Convert Sorted Array to BST – Asked in: TCS

  11. Construct String from Binary Tree – Asked in: Infosys

  12. Average of Levels in Binary Tree – Asked in: Capgemini

  13. Binary Tree Tilt – Asked in: Wipro

  14. Path Sum III – Asked in: Cognizant

  15. Find Duplicate Subtrees – Asked in: Accenture

  16. Construct Binary Tree from String – Asked in: IBM

  17. Binary Tree Cameras – Asked in: TCS

  18. Binary Tree Coloring Game – Asked in: Infosys

  19. All Nodes Distance K in Binary Tree – Asked in: Capgemini

  20. Recover Binary Search Tree – Asked in: Wipro

  21. Boundary of Binary Tree – Asked in: Cognizant

  22. Binary Tree Right Side View – Asked in: Infosys

  23. Same Tree – Asked in: Capgemini

  24. Count Complete Tree Nodes – Asked in: TCS

  25. Binary Tree Paths – Asked in: IBM

  26. Sum of Nodes with Even-Valued Grandparent – Asked in: Accenture

  27. Longest ZigZag Path in Binary Tree – Asked in: Wipro

  28. Tree Diameter – Asked in: Infosys

  29. Count Good Nodes in Binary Tree – Asked in: Capgemini

  30. Binary Search Tree Iterator – Asked in: Cognizant

  31. Serialize and Deserialize BST – Asked in: IBM

  32. Delete Node in a BST – Asked in: Wipro

  33. Kth Smallest Element in BST – Asked in: Infosys

  34. Validate Stack Sequences – Asked in: Capgemini

  35. Check Completeness of a Binary Tree – Asked in: TCS

  36. Maximum Width of Binary Tree – Asked in: Accenture

  37. Find Largest Value in Each Tree Row – Asked in: Wipro

  38. Cousins in Binary Tree – Asked in: Infosys

  39. Vertical Order Traversal – Asked in: Cognizant

  40. Binary Tree Postorder Traversal – Asked in: Capgemini

  41. Sum of Root To Leaf Binary Numbers – Asked in: Wipro

  42. Delete Leaves with a Given Value – Asked in: Infosys

  43. Longest Univalue Path – Asked in: TCS

  44. Find Bottom Left Tree Value – Asked in: IBM

  45. Flip Equivalent Binary Trees – Asked in: Accenture

  46. All Elements in Two BSTs – Asked in: Cognizant

  47. Merge Two Binary Trees – Asked in: Capgemini

  48. Binary Tree Level Order Traversal II – Asked in: Wipro

  49. Path In Zigzag Labelled Binary Tree – Asked in: Infosys

  50. Sum of Distances in Tree – Asked in: TCS

250 Interview Questions with Sample Answer

1. Tell me about yourself.
Answer: I’m a final-year student with a keen interest in problem-solving and software development. I’ve practiced over 300 coding problems and worked on projects in web development. I enjoy learning and applying new technologies.

2. What are your strengths?
Answer: I’m consistent, quick to learn, and I handle pressure well. I also enjoy working in teams and taking ownership of tasks.

3. What are your weaknesses?
Answer: I used to struggle with public speaking, but I’ve been improving through seminars and group presentations.

4. Why do you want to join our company?
Answer: Your company offers great learning and growth opportunities. I admire your work culture and would love to be part of a team that delivers quality software solutions.

5. What do you know about our company?
Answer: I know that [Insert Company] is one of the top IT service providers with global clients. I’ve also read about your recent focus on cloud and AI projects.

6. Why should we hire you?
Answer: I have the right blend of technical skills, eagerness to learn, and a strong work ethic. I’m confident I can contribute positively to your team.

7. What is OOP?
Answer: Object-Oriented Programming is a style of programming based on objects and classes. It follows four principles: Encapsulation, Abstraction, Inheritance, and Polymorphism.

8. What is the difference between C and C++?
Answer: C is a procedural language, while C++ supports both procedural and object-oriented programming.

9. What is the use of a constructor?
Answer: A constructor is a special method that initializes an object. It has the same name as the class and no return type.

10. Explain the concept of inheritance.
Answer: Inheritance allows a class to use properties and methods of another class, promoting code reusability.

11. What is the difference between == and .equals() in Java?
Answer: == checks if two references point to the same object, while .equals() checks the content of the objects.

12. What is recursion?
Answer: Recursion is when a function calls itself to solve a smaller part of the problem.

13. What is an array?
Answer: An array is a data structure that stores elements of the same type at contiguous memory locations.

14. What are pointers in C?
Answer: A pointer is a variable that holds the address of another variable.

15. What is abstraction?
Answer: Abstraction hides the internal details and shows only essential features to the user.

16. What is encapsulation?
Answer: Encapsulation binds data and functions together and keeps them safe from outside interference.

17. What is polymorphism?
Answer: Polymorphism allows one interface to be used for a general class of actions. Example: method overloading and overriding.

18. Difference between compile-time and runtime polymorphism?
Answer: Compile-time is method overloading; runtime is method overriding.

19. What is a class and object?
Answer: A class is a blueprint. An object is an instance of a class.

20. What is a virtual function?
Answer: A virtual function in C++ allows derived classes to override it, ensuring dynamic binding at runtime.

21. What are access modifiers?
Answer: Access modifiers define the scope of classes, variables, and methods. Examples: public, private, protected.

22. What is the difference between stack and heap memory?
Answer: Stack stores local variables and functions; heap stores objects and supports dynamic memory allocation.

23. What is garbage collection in Java?
Answer: It’s the process of reclaiming memory used by unreferenced objects.

24. What is the difference between process and thread?
Answer: A process is an independent program; a thread is a smaller unit of a process.

25. What is deadlock?
Answer: Deadlock is a situation where two or more processes wait for each other to release resources, causing a standstill.

26. What is multithreading?
Answer: Running multiple threads (small processes) simultaneously to improve performance.

27. Explain SDLC.
Answer: Software Development Life Cycle is a process for planning, developing, testing, and deploying software.

28. What are the phases of SDLC?
Answer: Requirements, Design, Development, Testing, Deployment, Maintenance.

29. What is Agile?
Answer: Agile is a flexible development methodology that delivers small parts of a project in iterations with constant feedback.

30. What is Scrum?
Answer: Scrum is a type of Agile framework with sprints, daily standups, and roles like Scrum Master and Product Owner.

31. What is normalization in DBMS?
Answer: It’s the process of organizing data to reduce redundancy and improve data integrity.

32. What is a primary key?
Answer: A primary key uniquely identifies each record in a table.

33. What is a foreign key?
Answer: A foreign key is a field in one table that refers to the primary key in another.

34. Difference between DELETE and TRUNCATE?
Answer: DELETE removes specific rows; TRUNCATE removes all rows quickly and cannot be rolled back.

35. What is SQL injection?
Answer: A security flaw where attackers execute malicious SQL statements through input fields.

36. Write a query to find the second highest salary.
Answer:

SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);

 

37. What is the use of GROUP BY?
Answer: It groups rows that have the same values so aggregate functions like COUNT or SUM can be applied.

38. Difference between HAVING and WHERE?
Answer: WHERE filters rows before grouping; HAVING filters after grouping.

39. What is JOIN in SQL?
Answer: JOIN combines rows from two or more tables based on related columns.

40. What is INNER JOIN?
Answer: It returns rows with matching values in both tables.

41. What is LEFT JOIN?
Answer: It returns all rows from the left table and matching rows from the right table.

42. What is an index in SQL?
Answer: It improves query speed by creating a quick lookup for data in a table.

43. What is a view in SQL?
Answer: A view is a virtual table based on the result-set of a query.

44. What is a trigger?
Answer: A trigger automatically executes a specified SQL script when certain events occur in a table.

45. What is an API?
Answer: An API is a set of rules that allows two applications to communicate with each other.

46. What is REST API?
Answer: REST is an API design approach based on standard HTTP methods like GET, POST, PUT, DELETE.

47. What is version control?
Answer: It helps track changes to code. Git is a popular tool for this.

48. What is Git?
Answer: Git is a distributed version control system that helps teams manage code changes.

49. What is a pull request?
Answer: It’s a request to merge code changes into the main project, usually reviewed before approval.

50. What is a merge conflict in Git?
Answer: It happens when two branches have changes to the same part of the code. It must be resolved manually.

51. What is exception handling in Java?
Answer: It’s a mechanism to handle runtime errors so the program doesn’t crash. Try-catch blocks are commonly used.

52. What is the difference between throw and throws?
Answer: throw is used to throw an exception, while throws is used to declare exceptions in a method signature.

53. What is the purpose of a finally block?
Answer: The finally block always executes whether or not an exception is thrown, often used to clean up resources.

54. Explain method overloading.
Answer: When two or more methods in the same class have the same name but different parameters.

55. Explain method overriding.
Answer: When a subclass provides a specific implementation of a method already defined in its superclass.

56. What is a static keyword in Java?
Answer: It’s used to define class-level variables or methods that don’t need an object to be accessed.

57. What is the difference between static and final in Java?
Answer: static relates to class-level context, while final means a variable or method cannot be changed or overridden.

58. What is the difference between abstract class and interface?
Answer: Abstract class can have both abstract and concrete methods; interface only has abstract methods (until Java 8+).

59. What is multilevel inheritance?
Answer: When a class is derived from a class, which is also derived from another class.

60. What is hybrid inheritance?
Answer: It combines two or more types of inheritance. Not supported directly in Java due to ambiguity issues.

61. Explain the lifecycle of a thread.
Answer: New → Runnable → Running → Blocked/Waiting → Terminated.

62. What is synchronization in Java?
Answer: It’s used to control access to shared resources by multiple threads to prevent inconsistency.

63. What is a race condition?
Answer: It occurs when multiple threads access and modify shared data concurrently, leading to unexpected results.

64. Difference between String and StringBuilder?
Answer: String is immutable; StringBuilder is mutable and more efficient for modifications.

65. How is memory managed in Python?
Answer: Python uses automatic memory management with reference counting and garbage collection.

66. What are Python lists and tuples?
Answer: Lists are mutable; tuples are immutable sequences used to store collections of items.

67. What is the difference between Java and Python?
Answer: Java is statically typed and compiled; Python is dynamically typed and interpreted. Python has simpler syntax.

68. What is recursion? Give a real-life analogy.
Answer: Like Russian dolls — solving a problem by solving a smaller version of the same problem.

69. What is the base case in recursion?
Answer: It’s the condition under which the recursion ends.

70. How do you reverse a string in C++?
Answer: You can use the reverse() function from <algorithm> or loop through the string from end to start.

71. What is bubble sort?
Answer: A simple sorting algorithm that repeatedly swaps adjacent elements if they’re in the wrong order.

72. What is time complexity of binary search?
Answer: O(log n), since it divides the array in half every time.

73. What is linear search?
Answer: It goes through each element one by one until the target is found.

74. Difference between array and linked list?
Answer: Arrays have fixed size and allow random access; linked lists are dynamic and allow easy insert/delete.

75. What is a stack?
Answer: A data structure that follows Last In, First Out (LIFO).

76. What is a queue?
Answer: A data structure that follows First In, First Out (FIFO).

77. What is a binary tree?
Answer: A tree structure where each node has up to two children — left and right.

78. What is a binary search tree (BST)?
Answer: A binary tree where left < root < right; used for efficient searching.

79. What is a hash table?
Answer: A data structure that maps keys to values using a hash function for quick lookup.

80. Explain DFS and BFS.
Answer: DFS explores depth first, using recursion/stack. BFS explores level-by-level, using a queue.

81. What is dynamic programming?
Answer: A technique to solve problems by storing results of subproblems to avoid recomputation.

82. What is memoization?
Answer: A type of dynamic programming where results are stored in a map/dictionary for reuse.

83. What is the use of the this keyword in Java?
Answer: Refers to the current object of a class.

84. Explain the difference between public, private, and protected.
Answer: Public: accessible everywhere. Private: only within the class. Protected: within class & subclasses.

85. What is an exception?
Answer: An event that disrupts the normal flow of the program — often runtime errors.

86. What is an IDE?
Answer: Integrated Development Environment — software like VS Code, Eclipse, etc., used to write, debug, and run code.

87. What is a use case of arrays in real life?
Answer: Storing student marks, list of items in a shopping cart, etc.

88. What is recursion’s biggest drawback?
Answer: Risk of stack overflow due to too many function calls; inefficient for large inputs.

89. What is Big O Notation?
Answer: A way to describe the performance or complexity of an algorithm as input size grows.

90. How do you test your code?
Answer: I use sample inputs, edge cases, and automated test cases when possible.

91. Why did you choose this field (IT/software)?
Answer: I enjoy problem-solving and building things using logic and creativity. That led me to tech.

92. Tell me about a challenging project you worked on.
Answer: I once built a college event registration portal with limited time. Learned teamwork and time management.

93. What is the difference between coding and programming?
Answer: Coding is writing code; programming is a broader process including problem-solving, design, testing, etc.

94. What motivates you?
Answer: Solving real problems, learning new things, and building solutions that help people.

95. How do you handle failure?
Answer: I analyze what went wrong, learn from it, and improve myself to avoid repeating mistakes.

96. Are you open to relocation?
Answer: Yes, I’m flexible and willing to relocate wherever required by the company.

97. What are your career goals?
Answer: In the short term, to be a good team contributor. In the long term, to become a software architect or team lead.

98. How do you keep yourself updated with tech trends?
Answer: I follow tech blogs, YouTube channels, and practice on platforms like LeetCode and GeeksforGeeks.

99. What do you do in your free time?
Answer: I enjoy reading tech articles, listening to podcasts, and working on personal coding projects.

100. Do you have any questions for us?
Answer: Yes, I’d love to know more about the team I’ll be working with and any upcoming projects you’re excited about.

101. How do you prioritize tasks in a project?
Answer: I list down tasks based on deadlines and importance. I use tools like Trello or simple to-do lists to track progress.

102. Describe a time when you worked in a team.
Answer: During my final year project, I worked with a team of four. We divided tasks and held regular discussions to ensure we were on track.

103. What is the difference between interface and abstract class in Java?
Answer: Interface can only have abstract methods (till Java 7), while an abstract class can have both abstract and non-abstract methods.

104. Can you write a program to check if a string is a palindrome?
Answer: Yes. You reverse the string and check if it’s the same as the original.

105. Write a Python code to find the factorial of a number.

def factorial(n):

    return 1 if n == 0 else n * factorial(n-1)

 

106. What is the difference between list and array in Python?
Answer: Lists are more flexible and can store different types; arrays are more efficient for numeric computations.

107. What is normalization and why is it important?
Answer: It organizes data to reduce redundancy and ensure data integrity.

108. Explain the concept of foreign key.
Answer: A foreign key in one table points to the primary key of another to establish a relationship.

109. What are the types of SQL JOINs?
Answer: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN.

110. What are ACID properties in DBMS?
Answer: Atomicity, Consistency, Isolation, Durability – they ensure reliable database transactions.

111. What is the use of COUNT() in SQL?
Answer: It returns the number of rows in a result set.

112. What is a subquery?
Answer: A query nested inside another query.

113. Write an SQL query to get employees with salary > 50000.

SELECT * FROM employees WHERE salary > 50000;

 

114. What is software testing?
Answer: It’s the process of evaluating software to find bugs and ensure it meets requirements.

115. Difference between black box and white box testing?
Answer: Black box tests functionality without knowing internal code; white box tests logic and code structure.

116. What is unit testing?
Answer: Testing individual components or functions of the program.

117. What is integration testing?
Answer: It checks how modules work together as a whole.

118. What is regression testing?
Answer: Testing after changes to ensure new code doesn’t break existing functionality.

119. What is the waterfall model?
Answer: A linear SDLC model where each phase must be completed before moving to the next.

120. What is the V-model?
Answer: It maps development phases to testing phases directly, like Verification vs Validation

121. What is the difference between Agile and Waterfall?
Answer: Agile is iterative and flexible; Waterfall is linear and rigid.

122. What is a sprint in Agile?
Answer: A fixed time period (usually 1–4 weeks) during which a set of tasks are completed.

123. Who is a Scrum Master?
Answer: A facilitator who ensures the Agile process is followed and removes blockers.

124. What is the Product Backlog?
Answer: A list of features and enhancements maintained by the product owner.

125. Explain pair programming.
Answer: Two developers work together — one writes code, the other reviews in real-time.

126. What are design patterns?
Answer: Reusable solutions to common software design problems (e.g., Singleton, Factory).

127. What is a Singleton class?
Answer: A class that allows only one instance to exist at a time.

128. What is the difference between stack and queue?
Answer: Stack is LIFO (Last In First Out); Queue is FIFO (First In First Out).

129. What are the different types of loops in C?
Answer: for, while, and do-while.

130. What is an infinite loop?
Answer: A loop that doesn’t terminate unless externally interrupted, often due to missing a condition.

131. What is a segmentation fault?
Answer: An error that occurs when a program tries to access restricted memory.

132. How do you prevent memory leaks in C?
Answer: By freeing dynamically allocated memory using free() after usage.

133. What is a macro in C?
Answer: A preprocessor directive used to define constants or code snippets.

134. What is the use of the const keyword?
Answer: It makes a variable’s value unchangeable after initialization.

135. What is the purpose of sizeof() in C?
Answer: It returns the memory size (in bytes) of data types or variables.

136. What is dynamic memory allocation?
Answer: Allocating memory at runtime using malloc(), calloc(), etc.

137. What is an algorithm?
Answer: A step-by-step procedure to solve a problem.

138. What is pseudocode?
Answer: A high-level description of an algorithm, not written in a specific programming language.

139. What is the difference between algorithm and program?
Answer: Algorithm is a logic plan; program is its implementation in a language.

140. What is the difference between compiler and interpreter?
Answer: Compiler translates entire code before execution; interpreter translates line-by-line.

141. What is the difference between local and global variables?
Answer: Local variables are declared inside a function; global ones are outside and accessible throughout.

142. What is recursion depth?
Answer: It’s how many levels deep a recursive function can go before causing a stack overflow.

143. What is the difference between pass-by-value and pass-by-reference?
Answer: Pass-by-value sends a copy; pass-by-reference sends the original, allowing modifications.

144. How would you debug a code that isn’t working?
Answer: Use print statements or debugging tools, analyze output, and isolate errors step-by-step.

145. What is the role of a software developer in a team?
Answer: To design, write, test, and maintain code that solves real-world problems.

146. What is your approach when you don’t know the answer to a coding question?
Answer: I break it down, try brute force if needed, and optimize later. If I still struggle, I ask clarifying questions.

147. What is the difference between GET and POST in APIs?
Answer: GET is used to retrieve data; POST is used to send data to the server.

148. What is RESTful architecture?
Answer: It follows a stateless communication protocol using HTTP methods for API interaction.

149. What is a full stack developer?
Answer: A developer who can handle both front-end and back-end parts of a web application.

150. Are you comfortable working in shifts or client-based roles?
Answer: Yes, I’m adaptable and open to company requirements, including shifts or client projects.

151. How do you handle feedback or criticism?
Answer: I take feedback positively. It helps me grow. I try to understand the suggestion and work on improving that area.

152. How would you explain your final year project to a non-technical person?
Answer: I would break it down using simple words and real-life comparisons. For example, if it’s a shopping cart system, I’d relate it to how Amazon works.

153. Have you ever missed a deadline? What did you do?
Answer: Once during a mini-project, I underestimated the time for testing. I informed my mentor early and worked extra hours to finish it.

154. How do you stay motivated during tough times?
Answer: I remind myself of my goals and how far I’ve come. Taking short breaks and watching tech videos also recharges me.

155. How do you explain technical terms to clients or non-tech team members?
Answer: I use simple language, visuals, and analogies they can relate to, like comparing data to books in a library.

156. What is your biggest achievement so far?
Answer: Building my first web app from scratch using HTML, CSS, JS, and Firebase — it helped over 500 students during campus events.

157. Describe a time you resolved a conflict in a team.
Answer: In college, two teammates had different opinions. I listened to both, facilitated a group discussion, and helped us reach a compromise.

158. What do you know about SDLC models?
Answer: SDLC models define steps in software development. Examples: Waterfall (linear), Agile (iterative), Spiral (risk-focused).

159. What is the difference between bug and error?
Answer: An error is a coding mistake. A bug is the result of that error which causes unexpected behavior.

160. What is the difference between verification and validation?
Answer: Verification checks if we’re building the product right; validation checks if we built the right product.

161. What is a breakpoint in debugging?
Answer: A breakpoint is a marker set in code where the execution will pause, allowing developers to inspect variables and flow.

162. What is a dry run?
Answer: Manually going through code line by line to predict the output or find logical mistakes.

163. What is test case?
Answer: A test case is a set of conditions under which a tester checks whether the software behaves as expected.

164. What’s the difference between front-end and back-end?
Answer: Front-end is what users see (UI/UX); back-end is what powers the app behind the scenes (logic, database).

165. What is responsive design?
Answer: A design approach that ensures websites look and work well on all screen sizes, from mobile to desktop.

166. What is an API key?
Answer: It’s a unique identifier used to authenticate and control access to APIs.

167. What is version control and why is it important?
Answer: It helps manage code changes. Tools like Git prevent conflicts and allow collaboration across teams.

168. What is the difference between Git and GitHub?
Answer: Git is a version control tool. GitHub is a platform to host and manage Git repositories online.

169. What is the purpose of a resume headline?
Answer: It gives a quick summary of your skills or goals. It should grab attention and reflect your value.

170. What is the STAR method in interviews?
Answer: STAR stands for Situation, Task, Action, Result — a structured way to answer behavioral questions.

171. Describe a time you worked on a tight deadline.
Answer: During my internship, I had to finish documentation and demo in 3 days. I planned my time well and stayed focused to meet the goal.

172. What is an algorithm to detect a loop in a linked list?
Answer: Floyd’s cycle detection algorithm using slow and fast pointers.

173. What is time complexity of quicksort?
Answer: Average: O(n log n), Worst: O(n²).

174. Difference between BFS and DFS?
Answer: BFS explores level by level using queue; DFS goes deep using stack or recursion.

175. What is the use of priority queue?
Answer: It allows access to the highest (or lowest) priority element quickly, used in scheduling and graphs.

176. What is the difference between pass by value and pass by reference in C++?
Answer: Value creates a copy; reference uses the original variable.

177. How would you design a login system?
Answer: It would have username/password input, hashing for password storage, validation, session handling, and error handling.

178. How do you stay organized during coding or debugging?
Answer: I break down problems, comment code, use meaningful variable names, and track bugs using a log or sticky notes.

179. Explain the importance of clean code.
Answer: Clean code is readable, maintainable, and reduces bugs. It helps other developers understand and modify it easily.

180. What are inline functions in C++?
Answer: Functions expanded during compilation to reduce function call overhead.

181. What is memory leakage?
Answer: When memory is allocated but not released, causing system slowdown or crash.

182. What is the difference between malloc() and calloc()?
Answer: malloc allocates memory without initializing, calloc allocates and initializes memory to zero.

183. What is a function pointer in C?
Answer: It allows functions to be passed as arguments or stored in arrays, useful for callbacks.

184. What is polymorphism in real life?
Answer: Like a phone — it can be used as a camera, music player, etc. One device, many behaviors.

185. What is the difference between class and object?
Answer: Class is a blueprint; object is the instance of that blueprint.

186. How do you keep your code secure?
Answer: Input validation, avoiding hardcoded credentials, using secure libraries, and regular code reviews.

187. What is an anonymous function?
Answer: A function without a name, often used for short, throwaway tasks (like lambda in Python).

188. What is a dangling pointer?
Answer: A pointer pointing to a memory location that has been freed/deleted.

189. What is a macro vs inline function?
Answer: Macros are preprocessor instructions; inline functions are type-safe and evaluated by compiler.

190. Explain real-world use case of stack.
Answer: Undo functionality in editors — last action is undone first.

191. What is difference between array and hashmap?
Answer: Arrays use index; hashmaps use key-value pairs for faster lookup.

192. What is hashing?
Answer: It’s converting data into a fixed-size value, used for fast data retrieval.

193. What is load factor in hashing?
Answer: It indicates how full a hash table is. A higher load factor can affect performance.

194. What is a circular queue?
Answer: A queue where the last element connects to the first, forming a circle — efficient use of space.

195. What is the difference between GET and POST methods in HTML forms?
Answer: GET appends data to the URL; POST sends it securely in the request body.

196. What are cookies and sessions?
Answer: Cookies store data on the client; sessions store it on the server for user tracking.

197. What is the use of final in Java?
Answer: Prevents inheritance (class), overriding (method), or reassignment (variable).

198. What is event bubbling in JavaScript?
Answer: Events propagate from the target element up through its ancestors.

199. Explain MVC architecture.
Answer: Model-View-Controller separates app logic (Model), UI (View), and control flow (Controller).

200. Why should we hire you over other candidates?
Answer: I bring strong fundamentals, a learning mindset, and commitment. I believe I’ll add long-term value to your team.

201. What is the difference between public, private, and protected access specifiers in C++?
Answer:

202. What is encapsulation? Give an example.
Answer: Binding data and methods into a single unit. Example: A class with private variables and public methods.

203. What are pure virtual functions in C++?
Answer: Functions declared in base class but defined in derived class. Used for abstract classes.

204. Explain method overloading and overriding.
Answer:

205. What is object slicing in C++?
Answer: When a derived class object is assigned to a base class object, extra attributes are lost.

206. Define garbage collection in Java.
Answer: Automatic memory management — frees memory of unused objects.

207. What are checked and unchecked exceptions in Java?
Answer:

208. What is a constructor?
Answer: A special method called automatically when an object is created, used to initialize objects.

209. What is the difference between static and dynamic binding?
Answer:

210. What is a thread? How is it useful?
Answer: A lightweight process for parallel execution. Improves performance in multi-tasking apps.

211. What is the use of the this keyword in Java?
Answer: Refers to the current object of the class.

212. What is inheritance?
Answer: Mechanism where a class acquires properties/methods of another. Promotes reusability.

213. What is an interface in Java?
Answer: A reference type containing abstract methods that must be implemented by a class.

214. Difference between ArrayList and LinkedList in Java?
Answer:

215. What is the JVM?
Answer: Java Virtual Machine — runs Java bytecode and makes Java platform-independent.

216. What is recursion? Give an example.
Answer: A function calling itself.
Example: Factorial calculation using recursion.

217. What is backtracking?
Answer: A recursive algorithmic technique to find solutions by trying and discarding.

218. What is a base case in recursion?
Answer: A condition where the recursion ends to prevent infinite calls.

219. Difference between iterative and recursive solutions?
Answer:

220. Write a recursive code to calculate Fibonacci number.

def fib(n):

    return n if n <= 1 else fib(n-1) + fib(n-2)

 

221. What is the use of the finally block in exception handling?
Answer: It always executes, even if an exception is thrown, to close resources.

222. What is a deadlock in operating systems?
Answer: A situation where processes wait for each other, preventing further execution.

223. What is the difference between process and thread?
Answer: Process: independent, more memory. Thread: lightweight, shares memory.

224. Explain context switching.
Answer: CPU switching from one task/process/thread to another.

225. What is a semaphore?
Answer: A variable used to control access to resources in concurrent systems.

226. What is paging in OS?
Answer: Memory management that loads parts of programs into physical memory.

227. What is cache memory?
Answer: High-speed memory between RAM and CPU, stores frequently used data.

228. Difference between RAM and ROM?
Answer:

229. What is DNS?
Answer: Domain Name System — translates domain names to IP addresses.

230. What is HTTP and HTTPS?
Answer:

231. What is latency?
Answer: Delay before a transfer of data begins after an instruction.

232. What is the OSI model?
Answer: A 7-layer model that standardizes network communication (e.g., Transport, Network layers).

233. What is an IP address?
Answer: A unique number assigned to each device on a network.

234. What is the difference between TCP and UDP?
Answer:

235. What is DNS spoofing?
Answer: A cyber attack where attackers redirect traffic by corrupting DNS data.

236. What is HTTPS used for?
Answer: Secured communication on websites using SSL encryption.

237. What is two-factor authentication?
Answer: A security process requiring two separate forms of identification.

238. What is phishing?
Answer: Fraudulent attempts to obtain sensitive info via fake emails or websites.

239. How would you secure a login system?
Answer: Use password hashing, input validation, 2FA, rate-limiting, and HTTPS.

240. What are common vulnerabilities in web apps?
Answer: SQL injection, XSS, CSRF, broken authentication.

241. What is the difference between encryption and hashing?
Answer:

242. What is data abstraction?
Answer: Hiding internal details and showing only essential features.

243. What is SDLC?
Answer: Software Development Life Cycle — planning, development, testing, deployment, and maintenance.

244. Why is teamwork important in software projects?
Answer: It ensures collaboration, faster delivery, better quality, and learning from each other.

245. How do you handle conflict with a teammate?
Answer: Open communication, listening actively, and finding a mutual solution respectfully.

246. Why do you want to join a service-based company?
Answer: For the structured learning, wide project exposure, and the opportunity to work with different clients.

247. What is your strength?
Answer: Adaptability and quick learning — I can adjust to new tools, roles, and challenges easily.

248. What is your weakness?
Answer: I used to hesitate asking questions, but now I’ve learned the importance of clarity and communication.

249. Where do you see yourself in 5 years?
Answer: In a technical leadership role, contributing to meaningful projects, and mentoring juniors.

250. Do you have any questions for us?
Answer: Yes. What technologies or projects would I get to work on if selected?

250+ Verbal Ability Questions for Placement

Verbal Ability Questions – Easy Level (1–50)

  1. Synonym of “Happy” – Infosys
    A. Sad
    B. Angry
    C. Joyful ✅
    D. Tired

  2. Fill in the blank: He is ___ honest man. – Wipro
    A. a
    B. an ✅
    C. the
    D. no article needed

  3. Identify the correct sentence – TCS
    A. She don’t like tea.
    B. She doesn’t like tea. ✅
    C. She not likes tea.
    D. She doesn’t liking tea.

  4. Opposite of “Ancient” – Capgemini
    A. Old
    B. Modern ✅
    C. Antique
    D. Vintage

  5. Choose the correct spelling – Cognizant
    A. Acommodate
    B. Accomodate
    C. Accommodate ✅
    D. Acomadate

  6. Choose the correct word: He has been working here ___ 2015. – Infosys
    A. since ✅
    B. for
    C. at
    D. from

  7. She ___ to school every day. – Wipro
    A. go
    B. goes ✅
    C. going
    D. gone

  8. I am good ___ math. – Capgemini
    A. with
    B. in
    C. at ✅
    D. for

  9. __ Earth revolves around the Sun. – Cognizant_
    A. A
    B. An
    C. The ✅
    D. No article

  10. Identify the noun: “The dog barked loudly.” – TCS
    A. dog ✅
    B. barked
    C. loudly
    D. the

  11. The book is ___ the table. – Infosys
    A. on ✅
    B. over
    C. above
    D. under

  12. Antonym of “Brave” – Wipro
    A. Bold
    B. Fearless
    C. Cowardly ✅
    D. Daring

  13. Identify the adjective: She wore a red dress. – TCS
    A. wore
    B. red ✅
    C. dress
    D. she

  14. She is ___ MBA graduate. – Capgemini
    A. a
    B. an ✅
    C. the
    D. one

  15. Identify the verb: He wrote a letter. – Cognizant
    A. letter
    B. wrote ✅
    C. he
    D. a

  16. Synonym of “Begin” – Infosys
    A. End
    B. Start ✅
    C. Close
    D. Finish

  17. Correct the sentence: He going to school. – Wipro
    A. He is go to school.
    B. He goes school.
    C. He is going to school. ✅
    D. He go to school.

  18. I prefer tea ___ coffee. – Capgemini
    A. than
    B. over ✅
    C. instead
    D. from

  19. Antonym of “Difficult” – Cognizant
    A. Easy ✅
    B. Hard
    C. Complex
    D. Tricky

  20. Plural of “Child” – TCS
    A. Childs
    B. Children ✅
    C. Childes
    D. Childen

  1. Correct the tense: She will went tomorrow. – Infosys
    A. She will go tomorrow. ✅
    B. She goes tomorrow.
    C. She going tomorrow.
    D. She gone tomorrow.

  2. Change to passive voice: He eats an apple. – Wipro
    A. An apple is eaten by him. ✅
    B. He is eaten an apple.
    C. An apple was eaten by him.
    D. He has eaten an apple.

  3. Which sentence is grammatically correct? – Capgemini
    A. They is coming.
    B. They are coming. ✅
    C. They coming.
    D. They be coming.

  4. Choose the correct conjunction: I like tea ___ coffee. – Cognizant
    A. or
    B. but
    C. and ✅
    D. nor

  5. Choose the best replacement: He was too much tired. – TCS
    A. He was very tired. ✅
    B. He was tired very much.
    C. He too tired.
    D. He is too much of tired.

  6. Identify the adverb: He ran quickly. – Infosys
    A. ran
    B. quickly ✅
    C. he
    D. none

  7. Which is an interjection? – Wipro
    A. Run
    B. Jump
    C. Wow! ✅
    D. Go

  8. Correct the punctuation: how are you – Capgemini
    A. How are you? ✅
    B. how are you
    C. How are you!
    D. How are you.

  9. What part of speech is “under”? – Cognizant
    A. Verb
    B. Adjective
    C. Preposition ✅
    D. Conjunction

  10. Choose the indirect speech: He said, “I am tired.” – TCS
    A. He said he is tired.
    B. He said that he was tired. ✅
    C. He said I was tired.
    D. He said I am tired.

  11. Fill in the blank: She is known ___ her honesty. – Infosys
    A. with
    B. for ✅
    C. of
    D. about

  12. Which is the correct sentence? – Wipro
    A. He go home.
    B. He goes home. ✅
    C. He going home.
    D. He gone home.

  13. Synonym of “Big” – Capgemini
    A. Huge ✅
    B. Small
    C. Large
    D. Narrow

  14. Antonym of “Fast” – Cognizant
    A. Quick
    B. Rapid
    C. Slow ✅
    D. Speed

  15. What is the noun in: Ramesh sings well. – TCS
    A. sings
    B. well
    C. Ramesh ✅
    D. none

  16. Fill in the blank: The sun ___ in the east. – Infosys
    A. rise
    B. rises ✅
    C. rising
    D. rose

  17. Choose the correct idiom meaning: “Kick the bucket” – Wipro
    A. Get angry
    B. Fall ill
    C. Die ✅
    D. Become rich

  18. Identify subject in: The dog barked at the stranger. – Capgemini
    A. barked
    B. dog ✅
    C. stranger
    D. at

  19. Identify the predicate: The students are learning. – Cognizant
    A. students
    B. The students
    C. are learning ✅
    D. none

  20. Choose the correct sentence: – TCS
    A. Me and he went.
    B. I and he went.
    C. He and I went. ✅
    D. He and me went.

  21. Antonym of “Modern” – Infosys
    A. Old ✅
    B. New
    C. Future
    D. Contemporary

  22. Fill in the blank: It is a matter ___ great pride. – Wipro
    A. for
    B. with
    C. of ✅
    D. to

  23. Identify the tense: She had finished her homework. – Capgemini
    A. Present perfect
    B. Past perfect ✅
    C. Future perfect
    D. Past continuous

  24. Synonym of “Neat” – Cognizant
    A. Dirty
    B. Clean ✅
    C. Ugly
    D. Messy

  25. Change into active voice: The work was done by him. – TCS
    A. He did the work. ✅
    B. He has done the work.
    C. The work is done by him.
    D. He was doing the work.

  26. Identify the interrogative sentence: – Infosys
    A. She is singing.
    B. Is she singing? ✅
    C. She was singing.
    D. She sings well.

  27. Complete the phrase: As cool as a ___ – Wipro
    A. fire
    B. flower
    C. cucumber ✅
    D. breeze

  28. Choose the prefix for “possible” to make it negative – Capgemini
    A. dis
    B. un
    C. in ✅
    D. non

  29. Fill in the blank: Neither the boy ___ the girl was present. – Cognizant
    A. and
    B. nor ✅
    C. but
    D. or

  30. Plural of “Goose” – TCS
    A. Gooses
    B. Geese ✅
    C. Goos
    D. Goose

🟡 Verbal Ability – Medium Level (51–100)

  1. Neither the teacher ___ the students were informed. – Infosys
    A. or
    B. nor ✅
    C. and
    D. but

  2. They delivered the package. (Change into passive) – Wipro
    A. The package was delivered ✅
    B. The package is delivered
    C. It was delivered the package
    D. Delivered was the package

  3. Synonym of “Brief” – TCS
    A. Small
    B. Short ✅
    C. Tiny
    D. Fast

  4. Opposite of “Visible” – Capgemini
    A. Hidden ✅
    B. Clear
    C. Bright
    D. Faded

  5. Fill in the blank: She will reach the station ___ time. – Cognizant
    A. at
    B. in
    C. on ✅
    D. to

  6. Identify the correct sentence – Infosys
    A. He are late.
    B. He is late. ✅
    C. He be late.
    D. He being late.

  7. Select the synonym of “Acquire” – Wipro
    A. Give
    B. Learn
    C. Obtain ✅
    D. Teach

  8. Identify the antonym of “Courage” – Capgemini
    A. Fear ✅
    B. Bravery
    C. Strength
    D. Confidence

  9. Fill in the blank: It’s been raining ___ morning. – Cognizant
    A. from
    B. since ✅
    C. at
    D. in

  10. What is the part of speech of the word “quickly”? – TCS
    A. Noun
    B. Verb
    C. Adjective
    D. Adverb ✅

  11. Correct the tense: She had ate dinner. – Infosys
    A. She had eaten dinner. ✅
    B. She has ate dinner.
    C. She eaten dinner.
    D. She was ate dinner.

  12. Identify the correct sentence – Wipro
    A. He do not want to leave.
    B. He does not wants to leave.
    C. He does not want to leave. ✅
    D. He do not wants to leave.

  13. Choose the correct phrase replacement: Despite of the rain, we went out. – Capgemini
    A. Despite the rain ✅
    B. Though of the rain
    C. Although of the rain
    D. Inspite the rain

  14. What is the meaning of the idiom “a blessing in disguise”? – Cognizant
    A. A lucky break ✅
    B. A hidden punishment
    C. An obvious miracle
    D. A sudden accident

  15. Choose the correct preposition: He is good ___ painting. – TCS
    A. on
    B. in
    C. with
    D. at ✅

  16. Antonym of “Generous” – Infosys
    A. Kind
    B. Cruel
    C. Selfish ✅
    D. Rude

  17. Choose the correct indirect speech: He said, “She sings beautifully.” – Wipro
    A. He said that she sang beautifully. ✅
    B. He said she sings beautifully.
    C. He says that she sang beautifully.
    D. He said she sang beautifully.

  18. Identify the adverb: She almost won the race. – Capgemini
    A. she
    B. almost ✅
    C. won
    D. race

  19. Which sentence is in past perfect tense? – Cognizant
    A. She had left before I arrived. ✅
    B. She left after I came.
    C. She was leaving the house.
    D. She had been arriving.

  20. Spot the error: Each of the boys have a pen. – TCS
    A. Each
    B. of the boys
    C. have ✅
    D. a pen

  21. What is the antonym of “Reluctant”? – Infosys
    A. Hesitant
    B. Eager ✅
    C. Afraid
    D. Shy

  22. Fill in the blank: I haven’t seen her ___ two years. – Wipro
    A. for ✅
    B. since
    C. at
    D. from

  23. Choose the correct transformation: Active to Passive – They are watching a movie. – Capgemini
    A. A movie is watched by them.
    B. A movie was being watched by them.
    C. A movie is being watched by them. ✅
    D. A movie was watched by them.

  24. Synonym of “Embrace” – Cognizant
    A. Avoid
    B. Hug ✅
    C. Ignore
    D. Reject

  25. Spot the error: The news are spreading fast. – TCS
    A. The
    B. news ✅
    C. are
    D. spreading

  26. Choose the correct spelling – Infosys
    A. Acquaintence
    B. Acquaintance ✅
    C. Aquentance
    D. Acquintance

  27. Which sentence is correct? – Wipro
    A. I have finished my homework yesterday.
    B. I finished my homework yesterday. ✅
    C. I had finished my homework yesterday.
    D. I finish my homework yesterday.

  28. Choose the antonym of “Harmony” – Capgemini
    A. Discord ✅
    B. Peace
    C. Unity
    D. Friendship

  29. Identify the conjunction: I was tired, yet I kept walking. – Cognizant
    A. tired
    B. walking
    C. yet ✅
    D. I

  30. Fill in the blank: He walked slowly ___ he was injured. – TCS
    A. because ✅
    B. but
    C. although
    D. so

  31. Synonym of “Fortunate” – Infosys
    A. Lucky ✅
    B. Poor
    C. Sad
    D. Ill

  32. What part of speech is “brightly”? – Wipro
    A. Noun
    B. Adjective
    C. Verb
    D. Adverb ✅

  33. Which sentence is in future continuous tense? – Capgemini
    A. I will be watching TV. ✅
    B. I will watch TV.
    C. I am watching TV.
    D. I have watched TV.

  34. Identify the error: The scissors is on the table. – Cognizant
    A. The
    B. scissors ✅
    C. is
    D. on

  35. Antonym of “Generous” – TCS
    A. Mean ✅
    B. Kind
    C. Noble
    D. Caring

  36. Choose the best replacement: He gave me an advice. – Infosys
    A. He gave me advice. ✅
    B. He gave me a advice.
    C. He gave me advices.
    D. He gave me the advice.

  37. Choose the synonym of “Courageous” – Wipro
    A. Timid
    B. Brave ✅
    C. Coward
    D. Weak

  38. Identify the noun in: Happiness is important. – Capgemini
    A. important
    B. is
    C. happiness ✅
    D. none

  39. Which is a complex sentence? – Cognizant
    A. I went to the park.
    B. I went to the park and played.
    C. I went to the park because I needed a break. ✅
    D. I played.

  40. Fill in the blank: I am interested ___ learning languages. – TCS
    A. at
    B. with
    C. on
    D. in ✅

  41. Correct the sentence: He didn’t knew the answer. – Infosys
    A. He didn’t know the answer. ✅
    B. He did knew the answer.
    C. He didn’t knows the answer.
    D. He didn’t knowing the answer.

  42. Choose the correct voice: The cake was baked by her. – Wipro
    A. She baked the cake. ✅
    B. She is baking the cake.
    C. She was baking cake.
    D. Cake is baked by her.

  43. Antonym of “Accept” – Capgemini
    A. Allow
    B. Reject ✅
    C. Agree
    D. Appreciate

  44. Identify the pronoun: She gave him a gift. – Cognizant
    A. She ✅
    B. gift
    C. gave
    D. a

  45. Correct article usage: He is ___ European. – TCS
    A. a ✅
    B. an
    C. the
    D. none

  46. Choose the best word: The ___ of the story was unexpected. – Infosys
    A. end ✅
    B. stop
    C. finish
    D. close

  47. Synonym of “Polite” – Wipro
    A. Rude
    B. Gentle ✅
    C. Harsh
    D. Mean

  48. Choose the correct voice: She will complete the work. – Capgemini
    A. The work will be completed by her. ✅
    B. The work is completed by her.
    C. The work was completed by her.
    D. The work is being completed by her.

  49. Antonym of “Victory” – Cognizant
    A. Lose
    B. Failure ✅
    C. Defeat
    D. Loss

  50. Choose the correct conjunction: He is rich ___ unhappy. – TCS
    A. or
    B. but ✅
    C. and
    D. so

🔴 Verbal Ability – Hard Level (101–150)

  1. The professor’s explanation was so ___ that I couldn’t understand anything. – Infosys
    A. lucid
    B. obscure ✅
    C. brief
    D. articulate

  2. Identify the error: Neither of the boys have done their homework. – Wipro
    A. Neither ✅
    B. have
    C. done
    D. their

  3. The manager told him leave immediately. – Capgemini
    A. him to leave ✅
    B. him leaving
    C. he to leave
    D. him leaves

  4. Antonym of “Scarcity” – Cognizant
    A. Excess ✅
    B. Lack
    C. Deficiency
    D. Poverty

  5. Correct spelling – TCS
    A. Mischievious
    B. Mischievous ✅
    C. Mishevious
    D. Mischivious

  6. Identify the indirect speech: She said, “I can swim.” – Infosys
    A. She said she could swim. ✅
    B. She said I can swim.
    C. She said she can swim.
    D. She said she will swim.

  7. Fill in the blank: He is ___ to speak the truth. – Wipro
    A. too coward
    B. so coward
    C. coward enough
    D. too much of a coward ✅

  8. Choose the synonym for “Omit” – Capgemini
    A. Include
    B. Add
    C. Exclude ✅
    D. Accept

  9. Which of the following is a complex sentence? – Cognizant
    A. He walked and she ran.
    B. She came to class, but she was late.
    C. Although it was raining, they played. ✅
    D. The sky is blue.

  10. Choose the correct word: I’d rather ___ at home than go out. – TCS
    A. stay ✅
    B. to stay
    C. staying
    D. stayed

  11. Find the error: One of the boy have lost his book. – Infosys
    A. One
    B. of the boy ✅
    C. have
    D. lost

  12. Antonym of “Recede” – Wipro
    A. Diminish
    B. Withdraw
    C. Advance ✅
    D. Sink

  13. Fill in the blank: He drove the car ___ he had never driven before. – Capgemini
    A. although
    B. if
    C. as if ✅
    D. when

  14. The plural of “Analysis” – Cognizant
    A. Analysises
    B. Analysis
    C. Analysi
    D. Analyses ✅

  15. Spot the error: The people is standing in queue. – TCS
    A. The
    B. people ✅
    C. is
    D. in queue

  16. Change into passive: They elected him president. – Infosys
    A. He is elected as president.
    B. He was elected president. ✅
    C. He elected president.
    D. President was elected him.

  17. Which of the following is NOT a noun? – Wipro
    A. Bravery
    B. Honesty
    C. Think ✅
    D. Truth

  18. Meaning of idiom “Break the ice” – Capgemini
    A. Go on a trip
    B. Start a conversation ✅
    C. Fight
    D. Solve a problem

  19. Which is an appropriate one-word substitution for “One who talks too much”? – Cognizant
    A. Reticent
    B. Loquacious ✅
    C. Taciturn
    D. Silent

  20. Choose the antonym of “Hostile” – TCS
    A. Aggressive
    B. Friendly ✅
    C. Angry
    D. Rude

  21. Correct the sentence: He is enough tall to play basketball. – Infosys
    A. He is tall enough ✅
    B. He is enough tall
    C. He tall enough
    D. He tall

  22. Fill in the blank: She was not only intelligent ___ also hardworking. – Wipro
    A. but ✅
    B. and
    C. as
    D. or

  23. What part of speech is “truly”? – Capgemini
    A. Noun
    B. Verb
    C. Adverb ✅
    D. Adjective

  24. Change into indirect: He said, “I am going to the market.” – Cognizant
    A. He said he is going to the market.
    B. He said I am going to the market.
    C. He said he was going to the market. ✅
    D. He told he went to market.

  25. Which sentence is grammatically correct? – TCS
    A. He did not knew the answer.
    B. He does not knows the answer.
    C. He did not know the answer. ✅
    D. He does not knew the answer.

  26. Synonym of “Consequence” – Infosys
    A. Reason
    B. Result ✅
    C. Purpose
    D. Goal

  27. Antonym of “Optimist” – Wipro
    A. Realist
    B. Dreamer
    C. Pessimist ✅
    D. Thinker

  28. Fill in the blank: He is afraid ___ snakes. – Capgemini
    A. with
    B. of ✅
    C. by
    D. at

  29. Which one is a complex sentence? – Cognizant
    A. She danced beautifully.
    B. She danced and he sang.
    C. She danced when the music played. ✅
    D. She danced.

  30. Choose the word with correct spelling – TCS
    A. Definately
    B. Definetely
    C. Definitely ✅
    D. Definatelye

  31. Meaning of idiom “Hit the sack” – Infosys
    A. Work hard
    B. Go to bed ✅
    C. Argue
    D. Hit something

  32. Correct article usage: He is ___ honest man. – Wipro
    A. an ✅
    B. a
    C. the
    D. one

  33. Identify the correct sentence – Capgemini
    A. She is good in cooking.
    B. She is good to cooking.
    C. She is good at cooking. ✅
    D. She is good by cooking.

  34. Find the pronoun: The teacher praised her. – Cognizant
    A. her ✅
    B. teacher
    C. praised
    D. the

  35. Which is a compound sentence? – TCS
    A. He worked hard and passed the test. ✅
    B. He worked hard.
    C. Working hard, he passed.
    D. Although he worked hard, he passed.

  36. Synonym of “Diligent” – Infosys
    A. Lazy
    B. Careful ✅
    C. Casual
    D. Relaxed

  37. Choose the correct voice: The letter was written by her. – Wipro
    A. She wrote the letter. ✅
    B. She has written the letter.
    C. She is writing the letter.
    D. She was writing the letter.

  38. Antonym of “Innocent” – Capgemini
    A. Kind
    B. Guilty ✅
    C. Honest
    D. Loyal

  39. Spot the error: Mathematics are a difficult subject. – Cognizant
    A. Mathematics ✅
    B. are
    C. a
    D. subject

  40. Choose the correct conjunction: He is smart ___ arrogant. – TCS
    A. and
    B. or
    C. but ✅
    D. for

  41. What is the part of speech of “seldom”? – Infosys
    A. Adverb ✅
    B. Noun
    C. Adjective
    D. Verb

  42. Change into indirect speech: He said, “I will help her.” – Wipro
    A. He said that he would help her. ✅
    B. He said that he will help her.
    C. He said he help her.
    D. He said he helps her.

  43. Fill in the blank: It depends ___ you. – Capgemini
    A. with
    B. on ✅
    C. at
    D. in

  44. Choose the best word: I was ___ to hear the news. – Cognizant
    A. delighted ✅
    B. angry
    C. tired
    D. lost

  45. Antonym of “Victory” – TCS
    A. Success
    B. Triumph
    C. Defeat ✅
    D. Celebration

  46. Identify the error: He don’t want to go. – Infosys
    A. He
    B. don’t ✅
    C. want
    D. to go

  47. Choose the sentence in passive voice – Wipro
    A. The house was built in 2010. ✅
    B. He built the house.
    C. They build the house.
    D. He is building the house.

  48. Correct usage of “either” – Capgemini
    A. Either of the two answers are correct.
    B. Either of the two answers is correct. ✅
    C. Either of the two answer is correct.
    D. Either answer are correct.

  49. Synonym of “Prompt” – Cognizant
    A. Slow
    B. Immediate ✅
    C. Lazy
    D. Rough

  50. Choose the correct tense: I ___ seen that movie already. – TCS
    A. have ✅
    B. has
    C. had
    D. was

151. Choose the correctly punctuated sentence:
A. She said “I am ready.”
B. She said, “I am ready.” ✅
C. She said “I am ready”.
D. She said I am ready.

152. Synonym of “Obsolete”
A. Old-fashioned ✅
B. Modern
C. Trendy
D. Popular

153. Spot the error: The climate of Mumbai are humid.
A. The
B. climate
C. are ✅
D. humid

154. Choose the correct form: She is ___ than her sister.
A. pretty
B. prettiest
C. prettier ✅
D. more prettiest

**155. One word substitution for: “A person who doesn’t believe in God.”
A. Atheist ✅
B. Agnostic
C. Pagan
D. Fatalist

156. Fill in the blank: He is interested ___ learning languages.
A. for
B. in ✅
C. on
D. at

157. Antonym of “Superficial”
A. Deep ✅
B. Shallow
C. External
D. Fake

**158. Identify the part of speech: “Unfortunately, he lost the match.”
A. Noun
B. Verb
C. Adjective
D. Adverb ✅

159. Spot the error: Neither of the girls have done their work.
A. Neither
B. have ✅
C. done
D. work

160. Convert into passive voice: They are painting the walls.
A. The walls are being painted. ✅
B. The walls are painted.
C. The walls are painting.
D. The walls were painted.


 

161. Antonym of “Generous”
A. Kind
B. Selfish ✅
C. Helpful
D. Honest

162. Choose the sentence in indirect speech: He said, “I am going to school.”
A. He said that he was going to school. ✅
B. He said that he is going to school.
C. He told he went to school.
D. He was saying he is going to school.

163. Correct preposition usage: He is good ___ cricket.
A. at ✅
B. in
C. by
D. for

164. Select the appropriate word: The book is divided ___ three parts.
A. into ✅
B. in
C. with
D. to

165. Find the synonym for “Ambiguous”
A. Clear
B. Confusing ✅
C. Simple
D. Unique

166. Which of these is a declarative sentence?
A. Where do you live?
B. Please bring me water.
C. I like reading books. ✅
D. Don’t make noise.

167. Spot the error: He speak English very well.
A. He
B. speak ✅
C. English
D. very

**168. Meaning of idiom: “A blessing in disguise”
A. A gift wrapped
B. An unexpected benefit ✅
C. A miracle
D. A disaster

169. Fill in the blank: I wish I ___ a bird.
A. am
B. was ✅
C. were
D. be

170. Choose the correct word: I saw ___ elephant in the zoo.
A. a
B. an ✅
C. the
D. one


 

171. Select the correctly spelled word:
A. Separate ✅
B. Seperate
C. Seperete
D. Seperat

172. Choose the synonym of “Reluctant”
A. Willing
B. Unwilling ✅
C. Ready
D. Prepared

173. Choose the appropriate article: He is ___ honest man.
A. a
B. an ✅
C. the
D. no article

174. Choose the correct indirect form: He said, “I will come.”
A. He said that he would come. ✅
B. He says he will come.
C. He said I would come.
D. He told he will come.

175. Find the error: One of my friend is a writer.
A. One
B. of
C. my friend ✅
D. is

**176. One word for: “Someone who always expects the worst.”
A. Optimist
B. Pessimist ✅
C. Realist
D. Cynic

177. Antonym of “Rigid”
A. Hard
B. Flexible ✅
C. Strong
D. Tough

178. What is the plural of “Crisis”?
A. Crises ✅
B. Crisises
C. Crisis
D. Crisas

179. Spot the error: She didn’t wrote the email.
A. didn’t ✅
B. wrote
C. the
D. email

180. Fill in the blank: He arrived ___ the airport on time.
A. at ✅
B. in
C. to
D. into


 

181. Antonym of “Include”
A. Exclude ✅
B. Contain
C. Insert
D. Admit

182. Choose the correct sentence:
A. He go to school.
B. He goes to school. ✅
C. He going to school.
D. He gone to school.

183. Meaning of idiom: “Cost an arm and a leg”
A. Cheap
B. Expensive ✅
C. Harmful
D. Risky

184. Spot the error: The informations he gave were incorrect.
A. informations ✅
B. he
C. gave
D. were

185. Which is a complex sentence?
A. I like tea and coffee.
B. He went to school but forgot his bag.
C. Although he was tired, he finished the work. ✅
D. Go now!

186. Choose the correctly spelled word:
A. Reciept
B. Receipt ✅
C. Recipt
D. Receit

187. Change to passive: They cleaned the room.
A. The room is cleaned.
B. The room was cleaned. ✅
C. The room is being cleaned.
D. The room had cleaned.

188. Synonym of “Essential”
A. Optional
B. Necessary ✅
C. Unimportant
D. Casual

189. Antonym of “Expand”
A. Increase
B. Extend
C. Contract ✅
D. Stretch

190. Spot the error: He has gave me the book.
A. has ✅
B. gave
C. me
D. the book


 

**191. One word for: “One who knows many languages”
A. Translator
B. Polyglot ✅
C. Interpreter
D. Linguist

192. Select the correct word: She is fond ___ music.
A. in
B. for
C. to
D. of ✅

193. Antonym of “Transparent”
A. Opaque ✅
B. Glassy
C. Solid
D. Bright

194. Which sentence is grammatically correct?
A. Everyone are happy.
B. Everyone is happy. ✅
C. Everyone were happy.
D. Everyone be happy.

**195. Meaning of idiom: “Barking up the wrong tree”
A. Making noise
B. Accusing the wrong person ✅
C. Chasing dogs
D. Losing direction

196. Choose the correct voice: The song was sung by her.
A. She sung the song.
B. She sang the song. ✅
C. She is singing the song.
D. She was singing the song.

197. Fill in the blank: She has been here ___ morning.
A. for
B. since ✅
C. from
D. by

198. Antonym of “Optimist”
A. Idealist
B. Realist
C. Pessimist ✅
D. Enthusiast

199. Choose the correctly punctuated sentence:
A. Can you, please help me?
B. Can you please help me? ✅
C. Can you please, help me?
D. Can you help, me please?

200. Synonym of “Rapid”
A. Fast ✅
B. Late
C. Calm
D. Cold

201. Spot the error: He as well as his friends are going.
A. He
B. as well as
C. are ✅
D. going

202. One word substitution: A person who looks at the bright side of everything.
A. Pessimist
B. Optimist ✅
C. Realist
D. Visionary

203. Choose the correct form: Neither of the answers ___ correct.
A. are
B. is ✅
C. have
D. were

204. Meaning of idiom “A storm in a teacup”
A. Heavy rainfall
B. Great excitement over a trivial issue ✅
C. Sudden anger
D. Crying in public

205. Fill in the blank: I prefer coffee ___ tea.
A. over
B. to ✅
C. than
D. more than

206. Synonym of “Compulsory” – Wipro
A. Optional
B. Voluntary
C. Mandatory ✅
D. Arbitrary

207. Antonym of “Freedom”
A. Liberty
B. Slavery ✅
C. Peace
D. Democracy

208. Choose the indirect form: She said, “I may come.”
A. She said that she may come.
B. She said that she might come. ✅
C. She said I might come.
D. She said she can come.

209. Choose the correct sentence:
A. The sceneries were beautiful.
B. The scenery was beautiful. ✅
C. The scenery were beautiful.
D. The sceneries was beautiful.

210. Spot the error: This is the boy who I told you about him.
A. who
B. I told
C. about
D. him ✅

211. Antonym of “Arrival”
A. Departure ✅
B. Coming
C. Reaching
D. Entering

**212. Choose the synonym of “Brief” – Infosys
A. Concise ✅
B. Lengthy
C. Clear
D. Boring

213. One-word substitution: A speech delivered without preparation.
A. Rehearsal
B. Lecture
C. Extempore ✅
D. Discourse

214. Meaning of idiom “Throw in the towel”
A. Lend support
B. Give up ✅
C. Argue
D. Protest

215. Correct the sentence: I look forward to meet you.
A. to meeting you ✅
B. to meet with you
C. to meets you
D. meet you

216. Spot the error: She do not know the answer.
A. She
B. do ✅
C. not
D. the answer

217. Fill in the blank: The patient died ___ the injuries.
A. from ✅
B. of
C. by
D. to

218. Correct the sentence: Each of the boys were given a book.
A. was given ✅
B. were given
C. are given
D. is given

219. Antonym of “Ancient”
A. Old
B. New ✅
C. Modern
D. Historic

220. Choose the correct sentence:
A. He is senior than me.
B. He is senior to me. ✅
C. He is senior by me.
D. He is more senior than me.

221. One word substitution: A person who loves books.
A. Bibliophile ✅
B. Librarian
C. Bookworm
D. Critic

222. Choose the synonym of “Courage” – Capgemini
A. Fear
B. Bravery ✅
C. Weakness
D. Sadness

223. Choose the correctly punctuated sentence:
A. What is your name.
B. What is your name? ✅
C. What is your name,
D. What is your name!

224. Meaning of idiom “To hit the sack”
A. To get injured
B. To go to bed ✅
C. To hit someone
D. To cook dinner

225. Antonym of “Gain”
A. Earn
B. Win
C. Lose ✅
D. Buy

226. Spot the error: The teacher as well as the students were tired.
A. teacher
B. students
C. were ✅
D. tired

227. One-word substitution: A person who doesn’t drink alcohol.
A. Narcotic
B. Teetotaler ✅
C. Abstainer
D. Drunkard

228. Choose the correct voice: They had completed the assignment.
A. The assignment has completed.
B. The assignment had been completed. ✅
C. The assignment will be completed.
D. The assignment completed.

229. Spot the error: The cattle is grazing in the field.
A. The
B. cattle ✅
C. is
D. grazing

230. Choose the correct form: If I ___ a bird, I would fly.
A. am
B. were ✅
C. be
D. was

231. Antonym of “Humble”
A. Proud ✅
B. Polite
C. Soft
D. Honest

232. Synonym of “Mischievous”
A. Naughty ✅
B. Quiet
C. Gentle
D. Kind

233. One word for: Someone who writes poems.
A. Poet ✅
B. Writer
C. Dramatist
D. Lyricist

234. Meaning of idiom “Break the ice”
A. To start a conversation ✅
B. To crack something
C. To create trouble
D. To freeze emotions

235. Spot the error: The informations provided were wrong.
A. informations ✅
B. provided
C. were
D. wrong

236. Choose the correct sentence:
A. Everyone are ready.
B. Everyone is ready. ✅
C. Everyone were ready.
D. Everyone be ready.

237. Antonym of “Victory”
A. Win
B. Defeat ✅
C. Success
D. Achievement

238. One word for: A government ruled by a king or queen.
A. Democracy
B. Autocracy
C. Monarchy ✅
D. Theocracy

239. Choose the right tense: I have been working here since 2021.
A. Present perfect
B. Present perfect continuous ✅
C. Simple present
D. Simple past

240. Choose the correct usage: He is afraid ___ dogs.
A. of ✅
B. from
C. about
D. to

241. Spot the error: Neither the chairman nor the directors was present.
A. Neither
B. nor
C. was ✅
D. present

242. One word for: A man who cannot be defeated.
A. Winner
B. Undefeatable
C. Invincible ✅
D. Warrior

243. Synonym of “Delicious”
A. Tasteless
B. Yummy ✅
C. Bitter
D. Rotten

244. Meaning of idiom “On cloud nine”
A. Confused
B. Extremely happy ✅
C. Sleepy
D. Sad

245. Choose the correct voice: Someone is cleaning the room.
A. The room is being cleaned. ✅
B. The room cleaned.
C. The room was being cleaned.
D. The room has cleaned.

246. Antonym of “Clean”
A. Dirty ✅
B. Neat
C. Tidy
D. Dustless

247. One word for: A place where books are kept.
A. Library ✅
B. Bookstore
C. Archive
D. Bookrack

248. Choose the correct spelling:
A. Committment
B. Commitment ✅
C. Commitement
D. Commmitment

249. Choose the correct form: The girl ___ by the teacher.
A. is praised ✅
B. praised
C. praises
D. is praising

250. Meaning of idiom “Give someone a cold shoulder”
A. To ignore someone ✅
B. To hug someone
C. To blame someone
D. To scold someone

250+ Aptitude & Logical Reasoning Questions Asked in Service-Based Companies

Aptitude Questions (150 Questions)

🟢 Easy Level (1–50)

  1. Simplify: 25% of 200 + 30% of 300 = ? – Wipro

  2. A man can do a job in 20 days. After working 4 days, he is joined by another person who finishes the job in 12 days. How many days would the second person alone take? – TCS

  3. 12 men can complete a work in 15 days. How many men are required to complete the work in 10 days? – Infosys

  4. Find the HCF of 120, 150 and 210 – Capgemini

  5. Average of 6 numbers is 35. If one number is removed, average becomes 30. Find the removed number. – Cognizant

  6. Selling price of 12 articles = Cost price of 15 articles. Find the profit percent. – Accenture

  7. If Simple Interest on Rs. 5000 for 2 years is Rs. 1000, what is the rate of interest? – Wipro

  8. A train 120 meters long crosses a pole in 6 seconds. Find its speed. – TCS

  9. Shopkeeper allows 10% discount on MRP and gains 10%. Find profit percent on cost price. – Infosys

  10. A man covers 1/3 distance at 30 km/h, next 1/3 at 40 km/h, rest at 60 km/h. Find average speed. – Capgemini

  11. The average of 4 consecutive even numbers is 35. Find the numbers. – Cognizant

  12. The sum of ages of A and B is 45. Five years ago, their ratio was 4:5. Find their ages. – Accenture

  13. A is 3 times as fast as B. Together they take 20 days to complete a task. How long will A take alone? – Wipro

  14. Find the least number which when divided by 3, 4, 5, 6 leaves remainder 2 but divisible by 7. – TCS

  15. A, B and C invested Rs. 12000, Rs. 16000 and Rs. 8000. Total profit is Rs. 28000. Find B’s share. – Infosys

  16. A car covers 200 km in 4 hours. What is the average speed? – Capgemini

  17. Find the value of x: x/3 + x/4 = 14 – Cognizant

  18. A sum of Rs. 10,000 amounts to Rs. 12,100 in 2 years at simple interest. What is the rate? – Accenture

  19. A box contains 2 red, 3 green, and 4 blue balls. What is the probability of selecting a green ball? – Infosys

  20. Find the missing term in the series: 3, 6, 11, 18, ?, 38 – TCS

  21. A train passes a platform in 36 seconds and a pole in 20 seconds. Length of platform is 160 m. Find length of train. – Wipro

  22. Two numbers are in the ratio 3:5. Their sum is 80. Find the numbers. – Cognizant

  23. A trader mixes 30 kg of rice at Rs. 40/kg with 20 kg of rice at Rs. 30/kg. Find the average price. – Infosys

  24. A’s salary is 20% more than B’s. If B earns Rs. 15,000, find A’s salary. – Accenture

  25. A boat travels 24 km downstream in 3 hours and returns in 4 hours. Find the speed of the stream. – TCS

  26. If A:B = 2:3 and B:C = 4:5, what is A:C? – Capgemini

  27. Find the compound interest on Rs. 5000 at 10% per annum for 2 years. – Wipro

  28. A person spends 40% of his income on rent, 20% on food and saves the rest. If his income is Rs. 50,000, how much does he save? – Infosys

  29. What is the smallest number that is divisible by 6, 8, and 12? – TCS

  30. A shopkeeper marked an item 30% above the cost price and gave 10% discount. Find the profit %. – Cognizant

  31. A train 180 m long is running at 54 km/h. How long will it take to pass a platform 120 m long? – Accenture

  32. A student scores 40%, 50%, 60% in three subjects. What must he score in the fourth to get an average of 55%? – Infosys

  33. A sum doubles in 5 years at simple interest. What is the rate? – Capgemini

  34. Find the area of a triangle with base 12 cm and height 5 cm. – Wipro

  35. If the perimeter of a square is 64 cm, find its area. – TCS

  36. A car travels 60 km in 1.5 hours. Find its speed in km/hr. – Cognizant

  37. How many 5-digit numbers can be formed using digits 1, 2, 3, 4, 5 without repetition? – Infosys

  38. The average of 7 numbers is 50. If two numbers, 40 and 45 are removed, what is the new average? – Accenture

  39. Find the next number in the sequence: 5, 11, 23, 47, ? – TCS

  40. What is the probability of getting a head in a single toss of a coin? – Wipro

  41. A shopkeeper earns a profit of 20% on selling an article at Rs. 240. Find its cost price. – Capgemini

  42. A number when divided by 13 leaves remainder 7. What will be the remainder when square of that number is divided by 13? – Infosys

  43. Find the angle between hands of a clock at 3:15. – Cognizant

  44. The speed of a car is increased by 20%. How much time will it take to cover the same distance? – Accenture

  45. A can do a piece of work in 12 days, B in 16 days. In how many days will they complete it together? – TCS

  46. A sum becomes Rs. 2642 in 2 years at 5% compound interest. Find the principal. – Wipro

  47. A box contains 10 balls numbered 1 to 10. One is drawn at random. What is the probability it is an even number? – Infosys

  48. What will be the area of a circle with radius 14 cm? – Capgemini

  49. Find the time taken by a 240 m long train running at 72 km/hr to cross a tunnel 360 m long. – Cognizant

  50. A student gets 30% marks in one paper and 40% in another. If both papers are of equal marks, what is his overall percentage? – Accenture

🟡 Medium Level (51–100)

  1. A shopkeeper gives two successive discounts of 10% and 20%. Find the effective discount. – Wipro

  2. A train running at 72 km/h crosses a platform in 30 seconds. If the platform is 300 m long, find the length of train. – TCS

  3. A sum amounts to Rs. 6600 in 2 years at compound interest. If the rate is 10% p.a., find the principal. – Infosys

  4. A can do a piece of work in 12 days, B in 18 days. They work together for 4 days. Find the remaining work. – Capgemini

  5. A mixture contains milk and water in the ratio 5:1. How much water should be added to 30 liters of mixture to change the ratio to 5:2? – Cognizant

  6. A tank is filled by a pipe in 4 hours and emptied by a leak in 5 hours. How much time will it take to fill the tank? – Accenture

  7. A man invested Rs. 20,000 in a scheme offering compound interest of 8% p.a. Find amount after 3 years. – Wipro

  8. A and B can complete a piece of work in 15 and 20 days respectively. B worked alone for 6 days. How many more days will A take to finish the work? – TCS

  9. A number is increased by 20% and then decreased by 20%. What is the net effect? – Infosys

  10. A sum of money triples in 20 years under simple interest. Find the rate. – Capgemini

  11. The area of a rectangle is 96 cm². If the length is twice the breadth, find the dimensions. – Cognizant

  12. A man can row 8 km/h in still water. If the river runs at 2 km/h, how far can he row downstream in 1 hour? – Accenture

  13. A can do 3/4 of a work in 9 days. How much time will he take to finish the complete work? – Wipro

  14. In how many ways can the letters of the word “EXAM” be arranged? – TCS

  15. Two angles of a triangle are 45° and 65°. Find the third angle. – Infosys

  16. A car travels at 60 km/h for 30 min and 90 km/h for next 30 min. Find the average speed. – Capgemini

  17. A sum of Rs. 5000 is lent at SI at 10% p.a. for 3 years. Find the interest. – Cognizant

  18. A and B together can complete a task in 12 days. A alone can do it in 20 days. In how many days will B do it alone? – Accenture

  19. Find the square root of 1225. – Wipro

  20. A discount of 15% on a product reduces its price to Rs. 1700. What is the original price? – TCS

  21. A can complete a job in 16 days, B in 12 days. They start together but A leaves after 4 days. Find total time to complete job. – Infosys

  22. A train covers a distance in 45 mins at 80 km/h. How much distance is covered? – Capgemini

  23. Two numbers are in the ratio 7:9. If the sum is 128, find the numbers. – Cognizant

  24. A sum of money is invested at 12% p.a. SI. It amounts to Rs. 6720 in 3 years. Find the principal. – Accenture

  25. How many diagonals can be drawn in a hexagon? – Wipro

  26. In a triangle, the sum of two angles is 110°. What is the third angle? – TCS

  27. A trader bought goods for Rs. 800 and sold it at a loss of 5%. Find the selling price. – Infosys

  28. A person spends 3/4th of his income. If he saves Rs. 600, find his income. – Capgemini

  29. A train moves at 90 km/h. How much time does it take to cover 135 km? – Cognizant

  30. The ratio of length to breadth of a rectangle is 3:2. If perimeter is 100 cm, find dimensions. – Accenture

  31. A man invested Rs. 9000 at 10% CI for 2 years. Find the amount. – Wipro

  32. Find the average of first 10 natural numbers. – TCS

  33. If a:b = 2:3 and b:c = 4:5, find a:c. – Infosys

  34. What is the value of 0.25 × 0.4 × 0.2? – Capgemini

  35. The LCM of two numbers is 180 and their HCF is 6. If one number is 30, find the other. – Cognizant

  36. A train is moving at 36 km/h. Find its speed in m/s. – Accenture

  37. A person buys a shirt for Rs. 400 and sells it at a profit of 12%. Find SP. – Wipro

  38. A sum of Rs. 6000 is invested at 5% p.a. SI. Find amount after 2 years. – TCS

  39. A number when divided by 5 gives remainder 2. What is the remainder when its square is divided by 5? – Infosys

  40. A bag contains 6 red and 4 blue balls. Find probability of picking a blue ball. – Capgemini

  41. Find cube root of 2197. – Cognizant

  42. The average of 6 numbers is 45. If one number is 60, find average of remaining. – Accenture

  43. A car travels 240 km in 4 hours. What is its speed in m/s? – Wipro

  44. A man spends 60% of his income and saves Rs. 800. Find his income. – TCS

  45. Find compound interest on Rs. 8000 at 5% p.a. for 2 years. – Infosys

  46. Find the perimeter of a rectangle with length 12 cm and breadth 8 cm. – Capgemini

  47. If the sum of angles in a polygon is 1260°, how many sides does it have? – Cognizant

  48. The product of two consecutive integers is 132. Find the integers. – Accenture

  49. A person can row 18 km downstream in 2 hrs and returns in 3 hrs. Find speed in still water. – Wipro

  50. A number is divisible by both 3 and 5. It must be divisible by? – TCS

🔴 Hard Level (101–150)

  1. A, B, C can do work in 20, 30, 40 days. A works for 4 days, B for 5. How long for C to finish? – Cognizant

  2. Difference between CI and SI on Rs. 8000 at 12.5% for 2 years is Rs. 100. Find rate. – Accenture

  3. A cylinder’s radius & height increase by 20% & 30%. Find % increase in volume. – Infosys

  4. Marked price is 60% above cost, discount is 25%. What is profit %? – TCS

  5. A and B together can complete a job in 12 days. After working for 4 days, B leaves. A finishes the rest in 10 days. How long would B alone take? – Capgemini

  6. If the average of five consecutive odd numbers is 45, find the largest number. – Infosys

  7. A train passes a man standing on a platform in 10 seconds and a platform in 25 seconds. If platform is 225 m long, find length of train. – Cognizant

  8. Find the area of a sector of radius 14 cm and angle 60°. – Accenture

  9. A sum of money becomes 4 times in 12 years at simple interest. In how many years will it become 5 times? – TCS

  10. In a group of 80 people, 60 can swim, 40 can cycle, and 30 can do both. How many can neither swim nor cycle? – Wipro

  11. A solid cube of side 12 cm is melted and cast into smaller cubes of side 3 cm. How many smaller cubes are formed? – Infosys

  12. A can do a work in 15 days, B in 20. They work together for 5 days. How much work is left? – Capgemini

  13. A mixture of 40 liters contains milk and water in ratio 3:1. How much water should be added to make the ratio 2:1? – Cognizant

  14. A man covers a distance at 5 km/h and returns at 4 km/h. Find average speed. – Accenture

  15. A shopkeeper allows 10% discount and still earns 20% profit. Find the mark-up %. – TCS

  16. A sum is invested for 3 years at 4% CI compounded annually. If it becomes Rs. 3372, find principal. – Wipro

  17. If the ratio of angles in a triangle is 2:3:4, find the angles. – Infosys

  18. A can do a work in 12 days, B in 15 days. If A works for 4 days and B completes the rest, find total time taken. – Capgemini

  19. A number exceeds 5 times itself by 84. Find the number. – Cognizant

  20. A tank has 3 inlet pipes. Pipe A fills in 10 mins, B in 15 mins, C in 20 mins. All are opened together. How long to fill tank? – Accenture

  21. A train 150 m long passes a man walking at 6 km/h in opposite direction in 6 sec. Find speed of train. – TCS

  22. A person borrowed Rs. 10000 at 10% p.a. CI. Find amount after 2 years. – Wipro

  23. A circle and square have equal perimeter. Find ratio of their areas. – Infosys

  24. A sum of Rs. 6400 amounts to Rs. 8000 in 2 years. Find rate and interest type. – Capgemini

  25. Find the number of trailing zeros in 100!. – Cognizant

  26. The angle of elevation of a tower from a point on ground is 30°. Find height if distance from base is 50 m. – Accenture

  27. Solve: √(x+9) = x – 3. – TCS

  28. A train passes a tunnel in 30 sec. Speed is 90 km/h. Tunnel is 300 m long. Find length of train. – Wipro

  29. A cylinder has volume 616 cm³ and height 14 cm. Find radius. – Infosys

  30. If a:b = 2:3, b:c = 4:5, and c:d = 6:7, find a:d. – Capgemini

  31. Two dice are thrown. What is probability of getting sum = 9? – Cognizant

  32. A shopkeeper marks an item 50% above cost, gives 20% discount. Find profit %. – Accenture

  33. A student scores 75% in 5 subjects, each of 100 marks. Find total marks obtained. – TCS

  34. A solid hemisphere is melted and converted into smaller spheres. Find number of spheres formed. – Wipro

  35. What is the sum of first 30 even natural numbers? – Infosys

  36. Find the minimum number to be added to 6457 to make it divisible by 9. – Capgemini

  37. If x + 1/x = 5, find x² + 1/x². – Cognizant

  38. Two pipes fill a tank in 12 and 15 mins. A third empties in 20 mins. All open together. Find time to fill tank. – Accenture

  39. Simplify: (2³ × 4²) ÷ 8 – TCS

  40. A man takes 6 hours to walk 30 km downstream and back. Speed of stream is 2 km/h. Find his speed in still water. – Wipro

  41. A bag contains 3 red, 4 green, and 5 blue balls. Find probability of 2 green balls. – Infosys

  42. The average age of 30 students is 15 years. If age of teacher is added, average becomes 16. Find teacher’s age. – Capgemini

  43. In a group, ratio of men to women is 5:3. If there are 120 people, find men and women. – Cognizant

  44. If the length of rectangle increases by 10% and breadth by 20%, find % increase in area. – Accenture

  45. Solve for x: 3x + 4 = 19. – TCS

  46. Find smallest 5-digit number divisible by 9, 10, 12. – Wipro

  47. If sin A = 3/5, find cos A. – Infosys

  48. A shopkeeper bought item at Rs. 480 and sold at Rs. 600. Find profit %. – Capgemini

  49. A tap fills tank in 10 min. After 3 min, second tap opened, fills in 15 min. When tank full? – Cognizant

  50. A number when divided by 7 gives remainder 4. What will be remainder when it is squared and divided by 7? – Accenture


🔹 Logical Reasoning Questions (100 Questions)

🟢 Easy Level (151–180)

  1. If BREAK is 21-18-5-1-11, how is SLEEP written? – Wipro

  2. Find missing number: 2, 6, 12, 20, ?, 42 – Infosys

  3. Monday is 2 days after tomorrow. If today is Wednesday, what is day after tomorrow? – TCS

  4. Statement: All teachers are doctors. Some doctors are engineers. Conclusions? – Capgemini

  5. Count the triangles in the given diagram (visual puzzle). – Cognizant

  6. If in a certain code, GAMES is written as HBNFT, how is CHAIR written? – Infosys

  7. What comes next: ACE, BDF, CEG, ? – TCS

  8. Find the odd one out: Apple, Orange, Mango, Carrot – Wipro

  9. If CLOCK = 31735, what is the code for WATCH? – Capgemini

  10. Which number comes next: 3, 9, 27, 81, ? – Cognizant

  11. If CAT = 3120, DOG = 4157, what is the code for COW? – TCS

  12. Which diagram correctly represents Tigers, Animals, Carnivores? – Wipro

  13. Statements: All flowers are trees. Some trees are bushes. Conclusions? – Infosys

  14. Fill in the blanks: AZ, BY, CX, ?, EV – Capgemini

  15. A is B’s brother. C is B’s father. D is C’s father. How is D related to A? – Cognizant

  16. If 1 = 5, 2 = 25, 3 = 325, then 4 = ? – Accenture

  17. Find the odd number: 121, 144, 169, 196, 250 – Wipro

  18. Choose the word which is different from others: Car, Bus, Train, Bicycle, Boat – Infosys

  19. Which direction is opposite to Southeast? – Capgemini

  20. If ROPE is coded as 6821, CHAIR is 73456, then PRICE = ? – Cognizant

  21. If A walks East for 5 km, then turns North and walks 3 km, where is he now? – TCS

  22. Pointing to a person, he said, “His only brother is my son’s father.” How is that person related? – Wipro

  23. In a certain code, STATION is written as NOITATS. How is TRAIN written? – Infosys

  24. Which one does not belong: Pen, Pencil, Eraser, Chalk, Book – Capgemini

  25. Select the missing number: 4, 9, 16, 25, ? – Cognizant

  26. If A is coded as Z, B as Y, then how is CAT coded? – TCS

  27. Find missing term: 5, 10, 20, 40, ?, 160 – Wipro

  28. Arrange logically: Child, Adult, Infant, Adolescent, Old – Infosys

  29. Which figure comes next in sequence (series-based puzzle)? – Capgemini

  30. If all vowels are removed from “EDUCATION”, how many letters remain? – Cognizant

🟡 Medium Level (181–215)

  1. Code: PENCIL → LICNEP. How is BRUSH written? – Capgemini

  2. 351 = “good and tasty”, 672 = “see good pictures”, 298 = “pictures are fine”. Code for “good”? – Cognizant

  3. Statement: Some mobiles are computers. All computers are devices. Conclusion? – Infosys

  4. Puzzle: 5 friends A, B, C, D, E live in a row of houses… (logic puzzle). – Wipro

  5. Which number replaces question mark: 7, 14, 28, 56, ?, 224 – TCS

  6. What comes next in series: AA, AB, AC, AD, ? – Infosys

  7. Logical Puzzle: Two people start from opposite ends, walk towards each other… who reaches first? – Capgemini

  8. Odd one: Triangle, Circle, Rectangle, Square, Sphere – Cognizant

  9. In a certain language, DOOR = EPPQ, then FLOOR = ? – Wipro

  10. Statement: All books are pens. Some pens are pencils. Conclusion? – Infosys

  11. Complete the series: 3, 6, 11, 18, 27, ? – Infosys

  12. What is the odd one out: Tiger, Elephant, Cheetah, Lion, Deer – Capgemini

  13. A man is facing north, turns 90° left, then 180° right. Which direction now? – TCS

  14. Code: FISH = GJTI, then BIRD = ? – Cognizant

  15. Arrange: Spoon, Plate, Stove, Kitchen, Dining – Wipro

  16. If SUM = 637, and FUN = 547, then MUM = ? – Infosys

  17. Statements: All poets are writers. No writer is reader. Conclusion? – Capgemini

  18. A is taller than B. B is taller than C. Who is shortest? – Cognizant

  19. If TREE = USFF, then LEAF = ? – TCS

  20. Puzzle: A is to the left of B, C is to the right of B. Who is in the middle? – Wipro

  21. Which number replaces ?: 1, 4, 9, 16, 25, ? – Infosys

  22. Which word doesn’t belong: Cycle, Car, Scooter, Tyre, Bus – Capgemini

  23. Find missing letter: AZ, BY, CX, DW, ? – Cognizant

  24. If DOG = 4157 and CAT = 3120, what is GOAT? – TCS

  25. Statement: Some shoes are leather. All leather is black. Conclusion? – Wipro

  26. What comes next: 1, 1, 2, 3, 5, 8, 13, ? – Infosys

  27. A is the son of B. B is the father of C. How is A related to C? – Capgemini

  28. Coding: PEACE = QFBDC, then WAR = ? – Cognizant

  29. Count number of rectangles in the figure (puzzle). – TCS

  30. Blood relation: “That man is my father’s only daughter’s husband.” Who is he? – Wipro

  31. If 2x + 3 = 11, find x. – Infosys

  32. Find the missing term: 10, 20, 40, 80, ?, 320 – Capgemini

  33. A series puzzle: 24, 20, 16, 12, ?, 4 – Cognizant

  34. Choose correct Venn diagram: Fruits, Mangoes, Apples – TCS

  35. Direction: Ram walks east 5 km, turns left, walks 3 km, again left 5 km. How far is he from start? – Wipro

🔴 Hard Level (216–250)

  1. A man walks 3 km north, 4 km east, then 5 km south. How far from start? – Infosys

  2. “She is daughter of only son of my grandfather.” How is she related to me? – Wipro

  3. If 5 + 3 × 2 = 11, and 4 + 4 × 2 = 12, what does 6 + 2 × 3 = ? – TCS

  4. 5 persons sitting around table. A is left of B, B is opposite C… Who is right of D? – Capgemini

  5. Complex Puzzle: 6 people live in 6 different floors, each likes different fruit… – Cognizant

  6. Number series: 2, 4, 12, 48, ?, 1440 – Wipro

  7. If STAR = 1234, MOON = 5677, what is MOONSTAR? – Infosys

  8. Blood relation puzzle involving 4 generations. – Capgemini

  9. Coding-decoding: If LION = 5312, TIGER = 76859, find code for TIGERLION. – Cognizant

  10. Direction-based: Person walks North, turns right, then left… Final position? – TCS

  11. Who is sitting 3rd to the right of A if 5 persons sit around a circular table? – Wipro

  12. Series: 5, 11, 23, 47, ?, 191 – Infosys

  13. Code: FRUIT = HSWKV, then GRAPE = ? – Capgemini

  14. Puzzle: A, B, C are siblings. A is older than B but younger than C. Who is youngest? – Cognizant

  15. Direction: A walks 4 km North, 3 km East, 4 km South. Distance from start? – TCS

  16. What comes next: 8, 24, 12, 36, 18, ? – Wipro

  17. If COLD = DPME, then HEAT = ? – Infosys

  18. Which word is odd: Table, Chair, Sofa, Bench, Bed, Fan – Capgemini

  19. Code: BOY = 23125, GIRL = 75869, then BIG = ? – Cognizant

  20. Puzzle: 3 people have different pets, live on different floors… who owns the cat? – TCS

  21. Logical series: 121, 144, 169, 196, ? – Wipro

  22. If MANGO = 13114157, then GO = ? – Infosys

  23. Blood relation: “The only daughter-in-law of my grandmother” – who is she? – Capgemini

  24. Direction: Facing west, turn 270° clockwise. Facing which direction now? – Cognizant

  25. Missing term: 4, 5, 9, 14, 23, ? – TCS

  26. Venn diagram puzzle: Nurses, Women, Professionals – Wipro

  27. If ACE = 135, BDF = ? – Infosys

  28. Logic puzzle: 5 people live in 5 houses with different colors, pets, etc. Who owns parrot? – Capgemini

  29. Number puzzle: Multiply first and last digits of 3274. What is the product? – Cognizant

  30. What is next in sequence: 1, 4, 9, 16, 25, 36, ? – TCS

  31. Puzzle: Which cube will form from this unfolded image? – Wipro

  32. Series: 100, 96, 88, 76, ?, 40 – Infosys

  33. If TOM = 28613, then CAT = ? – Capgemini

  34. Logical reasoning: Which shape fits best to complete the pattern? – Cognizant

  35. A family has a father, mother, 4 sons. Each son has 3 sisters. How many members in the family? – TCS

200+ Coding Questions Asked in Service-Based Companies – The Ultimate Practice List

How to Use This List


 

🔹 Arrays (25 Questions)

  1. Two Sum – TCS

  2. Best Time to Buy and Sell Stock – Wipro

  3. Contains Duplicate – Infosys

  4. Product of Array Except Self – Capgemini

  5. Maximum Subarray – Cognizant

  6. Maximum Product Subarray – Infosys

  7. Find Minimum in Rotated Sorted Array – Wipro

  8. Search in Rotated Sorted Array – TCS

  9. 3Sum – Capgemini

  10. Container With Most Water – Infosys

  11. Majority Element – Cognizant

  12. Rotate Array – Wipro

  13. Spiral Matrix – Infosys

  14. Set Matrix Zeroes – Capgemini

  15. Pascal’s Triangle – TCS

  16. Kth Largest Element in an Array – Infosys

  17. Merge Intervals – Wipro

  18. Insert Interval – Cognizant

  19. Summary Ranges – Infosys

  20. Missing Number – Capgemini

  21. Find the Duplicate Number – Wipro

  22. Minimum Size Subarray Sum – TCS

  23. Move Zeroes – Infosys

  24. Find All Numbers Disappeared in an Array – Capgemini

  25. Maximum Average Subarray I – Cognizant


 

🔹 Strings (25 Questions)

  1. Valid Anagram – Infosys

  2. Longest Common Prefix – TCS

  3. Implement strStr() – Wipro

  4. Reverse String – Capgemini

  5. Reverse Words in a String – Cognizant

  6. String Compression – Infosys

  7. Is Subsequence – Wipro

  8. Group Anagrams – TCS

  9. Valid Palindrome – Capgemini

  10. Longest Palindromic Substring – Infosys

  11. Count and Say – Cognizant

  12. First Unique Character in a String – Wipro

  13. Add Binary – Infosys

  14. Multiply Strings – TCS

  15. Minimum Window Substring – Capgemini

  16. Zigzag Conversion – Cognizant

  17. Roman to Integer – Infosys

  18. Integer to Roman – Wipro

  19. String to Integer (atoi) – TCS

  20. Length of Last Word – Capgemini

  21. Longest Substring Without Repeating Characters – Infosys

  22. Check If Two String Arrays are Equivalent – Cognizant

  23. Valid Parentheses – Wipro

  24. Remove All Adjacent Duplicates In String – Infosys

  25. Reverse Vowels of a String – Capgemini

🔹 Linked Lists (25 Questions)

  1. Reverse Linked List – TCS

  2. Merge Two Sorted Lists – Infosys

  3. Remove Nth Node From End of List – Wipro

  4. Linked List Cycle – Capgemini

  5. Palindrome Linked List – Cognizant

  6. Intersection of Two Linked Lists – Infosys

  7. Add Two Numbers – Wipro

  8. Flatten a Multilevel Doubly Linked List – TCS

  9. Copy List with Random Pointer – Capgemini

  10. Swap Nodes in Pairs – Cognizant

  11. Rotate List – Infosys

  12. Remove Linked List Elements – Wipro

  13. Delete Node in a Linked List – TCS

  14. Odd Even Linked List – Capgemini

  15. Reverse Nodes in k-Group – Cognizant

  16. Partition List – Infosys

  17. Remove Duplicates from Sorted List – Wipro

  18. Sort List – TCS

  19. Merge k Sorted Lists – Capgemini

  20. Split Linked List in Parts – Cognizant

  21. Next Greater Node In Linked List – Infosys

  22. Linked List Cycle II – Wipro

  23. Design Linked List – TCS

  24. Middle of the Linked List – Capgemini

  25. Remove Duplicates from Sorted List II – Cognizant

🔹 Trees (25 Questions)

  1. Maximum Depth of Binary Tree – TCS

  2. Same Tree – Infosys

  3. Invert Binary Tree – Wipro

  4. Binary Tree Level Order Traversal – Capgemini

  5. Symmetric Tree – Cognizant

  6. Balanced Binary Tree – Infosys

  7. Path Sum – Wipro

  8. Maximum Path Sum – TCS

  9. Construct Binary Tree from Preorder and Inorder Traversal – Capgemini

  10. Validate Binary Search Tree – Cognizant

  11. Lowest Common Ancestor of a Binary Tree – Infosys

  12. Binary Tree Right Side View – Wipro

  13. Binary Tree Zigzag Level Order Traversal – TCS

  14. Convert Sorted Array to Binary Search Tree – Capgemini

  15. Sum of Left Leaves – Cognizant

  16. Binary Tree Inorder Traversal – Infosys

  17. Serialize and Deserialize Binary Tree – Wipro

  18. Populating Next Right Pointers in Each Node – TCS

  19. Find Duplicate Subtrees – Capgemini

  20. Sum Root to Leaf Numbers – Cognizant

  21. Recover Binary Search Tree – Infosys

  22. Binary Search Tree Iterator – Wipro

  23. All Nodes Distance K in Binary Tree – TCS

  24. Flatten Binary Tree to Linked List – Capgemini

  25. Kth Smallest Element in a BST – Cognizant

🔹 Recursion & Backtracking (15 Questions)

  1. Permutations – TCS

  2. Combinations – Wipro

  3. Subsets – Infosys

  4. Letter Combinations of a Phone Number – Capgemini

  5. Combination Sum – Cognizant

  6. Generate Parentheses – Infosys

  7. Word Search – Wipro

  8. Sudoku Solver – TCS

  9. N-Queens – Capgemini

  10. Palindrome Partitioning – Cognizant

  11. Permutations II – Infosys

  12. Combination Sum II – Wipro

  13. Subsets II – TCS

  14. Restore IP Addresses – Capgemini

  15. Expression Add Operators – Cognizant

🔹 Stack & Queue (15 Questions)

  1. Valid Parentheses – TCS

  2. Min Stack – Wipro

  3. Evaluate Reverse Polish Notation – Infosys

  4. Implement Queue using Stacks – Capgemini

  5. Implement Stack using Queues – Cognizant

  6. Daily Temperatures – Infosys

  7. Next Greater Element I – Wipro

  8. Next Greater Element II – TCS

  9. Remove All Adjacent Duplicates In String II – Capgemini

  10. Design Circular Queue – Cognizant

  11. Sliding Window Maximum – Infosys

  12. Decode String – Wipro

  13. Design Stack With Increment Operation – TCS

  14. Number of Recent Calls – Capgemini

  15. Simplify Path – Cognizant

🔹 Graphs (15 Questions)

  1. Number of Islands – TCS

  2. Clone Graph – Infosys

  3. Course Schedule – Wipro

  4. Course Schedule II – Capgemini

  5. Graph Valid Tree – Cognizant

  6. Pacific Atlantic Water Flow – Infosys

  7. Redundant Connection – Wipro

  8. Network Delay Time – TCS

  9. Is Graph Bipartite? – Capgemini

  10. Word Ladder – Cognizant

  11. Reconstruct Itinerary – Infosys

  12. Find the Town Judge – Wipro

  13. All Paths From Source to Target – TCS

  14. Minimum Height Trees – Capgemini

  15. Critical Connections in a Network – Cognizant

🔹 Dynamic Programming (15 Questions)

  1. Climbing Stairs – TCS

  2. House Robber – Infosys

  3. House Robber II – Wipro

  4. Longest Palindromic Subsequence – Capgemini

  5. Decode Ways – Cognizant

  6. Maximum Subarray – Infosys

  7. Partition Equal Subset Sum – Wipro

  8. Coin Change – TCS

  9. Longest Increasing Subsequence – Capgemini

  10. Edit Distance – Cognizant

  11. Interleaving String – Infosys

  12. Target Sum – Wipro

  13. Best Time to Buy and Sell Stock with Cooldown – TCS

  14. Distinct Subsequences – Capgemini

  15. Word Break – Cognizant

🔹 Bit Manipulation (10 Questions)

  1. Single Number – Infosys

  2. Number of 1 Bits – Wipro

  3. Counting Bits – TCS

  4. Missing Number – Capgemini

  5. Sum of Two Integers – Cognizant

  6. Reverse Bits – Infosys

  7. Power of Two – Wipro

  8. Hamming Distance – TCS

  9. Bitwise AND of Numbers Range – Capgemini

  10. Binary Watch – Cognizant

🔹 Interview Must-Solve (30 Questions)

  1. LRU Cache – TCS

  2. Median of Two Sorted Arrays – Infosys

  3. Merge Intervals – Wipro

  4. Trapping Rain Water – Capgemini

  5. Longest Consecutive Sequence – Cognizant

  6. Word Ladder II – Infosys

  7. Basic Calculator – Wipro

  8. Largest Rectangle in Histogram – TCS

  9. Sliding Window Maximum – Capgemini

  10. Regular Expression Matching – Cognizant

  11. Wildcard Matching – Infosys

  12. Minimum Window Substring – Wipro

  13. Find Median from Data Stream – TCS

  14. Palindrome Pairs – Capgemini

  15. Design Add and Search Words Data Structure – Cognizant

  16. LFU Cache – Infosys

  17. Data Stream as Disjoint Intervals – Wipro

  18. Count of Smaller Numbers After Self – TCS

  19. Find Peak Element – Capgemini

  20. Basic Calculator II – Cognizant

  21. Insert Delete GetRandom O(1) – Infosys

  22. Maximal Rectangle – Wipro

  23. Read N Characters Given Read4 – TCS

  24. Binary Tree Cameras – Capgemini

  25. Paint House – Cognizant

  26. Serialize and Deserialize BST – Infosys

  27. Number of Digit One – Wipro

  28. Dungeon Game – TCS

  29. Burst Balloons – Capgemini

  30. Minimum Number of Refueling Stops – Cognizant

Top 150 Questions Actually Asked in Service-Based Company Exams (2023–2025)

1. Aptitude Questions (30)

Companies: TCS, Wipro, Capgemini, Infosys

  1. What is the compound interest on ₹12,000 at 10% per annum for 2 years? (TCS – 2023)

  2. A train 150 meters long is running at 60 km/h. How long will it take to pass a platform of 100 meters? (Wipro – 2024)

  3. If the ratio of boys to girls in a class is 5:3 and there are 40 students, how many girls are there? (Capgemini – 2023)

  4. What is the average of first 10 natural numbers? (Infosys – 2024)

  5. A shopkeeper sells an item for ₹600 and makes a 20% profit. What is the cost price? (HCL – 2025)

  6. A and B together can complete a job in 8 days. B alone can do it in 12 days. How long will A alone take? (TCS – 2024)

  7. What is the simple interest on ₹5,000 at 8% for 3 years? (Cognizant – 2023)

  8. The area of a rectangle is 120 cm² and the length is 12 cm. Find the breadth. (Infosys – 2023)

  9. A man spends 80% of his income. If he saves ₹2,000, what is his income? (Capgemini – 2024)

  10. Find the value of x: 3x + 7 = 22. (Wipro – 2023)

  11. A sum doubles in 5 years at simple interest. What is the rate of interest? (Accenture – 2023)

  12. A person travels from A to B at 60 km/h and returns at 40 km/h. Find the average speed. (HCL – 2024)

  13. If 5x – 3 = 2x + 9, what is x? (IBM – 2025)

  14. Two numbers are in the ratio 3:4. If their sum is 112, find the numbers. (TCS – 2024)

  15. What is the HCF of 36 and 48? (Wipro – 2023)

  16. A boat covers 30 km upstream in 6 hours and the same distance downstream in 3 hours. Find the speed of the boat in still water. (Capgemini – 2024)

  17. The population of a town increases by 10% every year. If it is 10,000 now, what will it be after 2 years? (Infosys – 2023)

  18. A can do a piece of work in 10 days, B in 15 days. In how many days will they complete it together? (Accenture – 2024)

  19. A dealer marks a product 20% above cost and gives 10% discount. What is his profit percentage? (HCL – 2023)

  20. Find the least number which is exactly divisible by 6, 8, and 12. (IBM – 2024)

  21. If x + y = 10 and xy = 21, find x² + y². (TCS – 2023)

  22. A shopkeeper gives 10% discount on a product of ₹500. What is the selling price? (Wipro – 2023)

  23. A sum amounts to ₹8,000 in 2 years at 10% p.a. compound interest. Find the principal. (Capgemini – 2024)

  24. A and B share profits in the ratio 5:3. If the total profit is ₹4,000, how much does B get? (Infosys – 2023)

  25. If the perimeter of a square is 48 cm, find its area. (Accenture – 2025)

  26. A number is divisible by both 3 and 4. Is it divisible by 12? (TCS – 2023)

  27. A fruit seller mixes two types of apples costing ₹40 and ₹50 per kg. If he sells the mixture at ₹48/kg and gains 20%, in what ratio did he mix them? (HCL – 2024)

  28. If x = 2 and y = 3, find the value of 2x² + 3y². (Wipro – 2024)

  29. A bag contains 3 red balls and 2 green balls. One ball is drawn at random. What is the probability that it is red? (Infosys – 2024)

  30. A cube has a volume of 64 cm³. Find its surface area. (Cognizant – 2023)


 

2. Logical Reasoning Questions (30)

Companies: Infosys, Wipro, Accenture, IBM, Cognizant

  1. If ‘APPLE’ is coded as ‘EQQPI’, what is the code for ‘BANANA’? (Infosys – 2024)

  2. Find the next number in the series: 2, 6, 12, 20, ? (Wipro – 2023)

  3. Which diagram represents the relationship among Doctor, Teacher, Human? (Accenture – 2024)

  4. If A = 1, B = 2, …, Z = 26, then what is the value of the word ‘CARE’? (IBM – 2023)

  5. Arrange the words in alphabetical order and choose the one that comes first: Zebra, Apple, Mango, Banana (Cognizant – 2025)

  6. A is taller than B but shorter than C. D is shorter than A. Who is the tallest? (Wipro – 2024)

  7. Find the odd one out: Circle, Square, Triangle, Rectangle (Infosys – 2023)

  8. If ‘TOY’ is written as ‘VOA’, how is ‘CAR’ written? (Accenture – 2023)

  9. Find the missing number: 3, 9, 27, ?, 243 (IBM – 2025)

  10. Which number replaces the question mark: 4, 9, 16, 25, ? (Cognizant – 2024)

  11. Choose the correct mirror image of ‘MOTEL’. (Wipro – 2023)

  12. All pens are books. All books are papers. Conclusion: All pens are papers. Is it correct? (Infosys – 2024)

  13. How many triangles are there in a pentagon if all diagonals are drawn? (Accenture – 2025)

  14. Ramu is facing south. He turns 90° left, then 180° right, and finally 90° right. What direction is he facing? (IBM – 2023)

  15. Statement: Some cats are dogs. All dogs are rats. Conclusion: Some cats are rats. Is it valid? (Cognizant – 2024)

  16. Identify the pattern: AZ, BY, CX, ? (Infosys – 2023)

  17. What comes next: ACE, BDF, ? (Wipro – 2024)

  18. Choose the odd one: 2, 3, 5, 7, 8, 11 (Accenture – 2023)

  19. A clock shows 3:15. What is the angle between hour and minute hands? (TCS – 2024)

  20. Pointing to a woman, John said, “She is the daughter of my grandfather’s only son.” Who is the woman? (IBM – 2023)

  21. Which one is different: Dog, Lion, Tiger, Elephant (Capgemini – 2025)

  22. If Monday falls on 1st, what day will be on 15th? (Infosys – 2023)

  23. What will be the next term: 0, 1, 1, 2, 3, 5, 8, ? (Wipro – 2023)

  24. Unscramble the word: “LEPPA” (Cognizant – 2024)

  25. Choose the best fit: Boat is to water as Car is to ? (Accenture – 2025)

  26. If ‘flower’ is related to ‘petal’, then ‘book’ is related to ? (Infosys – 2024)

  27. Complete the analogy: Pen : Write :: Knife : ? (TCS – 2024)

  28. Which shape is symmetrical among the following: Circle, Trapezium, Triangle, Rectangle (IBM – 2023)

  29. Choose the best match: Sky : Blue :: Grass : ? (Wipro – 2023)

  30. How many squares are in a 4×4 grid? (Capgemini – 2025)


 

3. Verbal Ability Questions (30)

Companies: Infosys, Capgemini, Cognizant, Wipro, Accenture

  1. Choose the correct synonym for ‘Obsolete’. (Infosys – 2024)

  2. Fill in the blank: She ___ to the market every morning. (Wipro – 2023)

  3. Find the antonym of ‘Generous’. (Capgemini – 2024)

  4. Choose the correctly spelled word: a) Recieve b) Receive c) Receeve d) Recive (Accenture – 2023)

  5. Identify the error in the sentence: “Each of the boys have done their homework.” (Infosys – 2023)

  6. Choose the best replacement for the underlined phrase: “He did not took the offer.” (Wipro – 2024)

  7. Change to passive voice: “The manager will review the report.” (Capgemini – 2025)

  8. Identify the correct indirect speech: He said, “I am working on a project.” (Accenture – 2024)

  9. What is the plural form of ‘Crisis’? (IBM – 2025)

  10. Choose the best word: She is ___ than her sister. (Infosys – 2024)

  11. Spot the error: “Neither the teacher nor the students was present.” (Wipro – 2023)

  12. Choose the correct sentence: a) He don’t like coffee. b) He doesn’t like coffee. (Capgemini – 2024)

  13. Choose the correct preposition: He was accused ___ theft. (Accenture – 2023)

  14. What is the meaning of the idiom: “Break the ice”? (Infosys – 2023)

  15. Fill in the blank: He is good ___ mathematics. (Cognizant – 2024)

  16. Choose the word closest in meaning to ‘Diligent’. (Wipro – 2024)

  17. Choose the correct word: He lost his ___ of keys. (Capgemini – 2025)

  18. What is the superlative form of ‘Good’? (Accenture – 2024)

  19. Identify the sentence type: “Please open the door.” (Infosys – 2024)

  20. Fill in the blank: She was born ___ a rich family. (TCS – 2023)

  21. Choose the correct conjunction: I will wait ___ he comes. (Wipro – 2023)

  22. Replace the underlined word with its opposite: “This is a very old machine.” (Capgemini – 2024)

  23. Choose the best option: The train will arrive ___ 5 p.m. (Accenture – 2025)

  24. What is the correct form of the verb: He ___ to school yesterday. (Infosys – 2023)

  25. Choose the correct relative pronoun: The boy ___ won the race is my cousin. (Cognizant – 2024)

  26. What does the phrase ‘kick the bucket’ mean? (Wipro – 2024)

  27. Select the correct article: He is ___ honest man. (Capgemini – 2025)

  28. Choose the correct homophone: Their/There/They’re going to the market. (Infosys – 2024)

  29. Which of the following is a noun: a) Run b) Red c) Book d) Slowly (IBM – 2025)

  30. Choose the correct prefix to make a negative: ___possible (TCS – 2024)


 

4. Coding Questions (30)

Companies: TCS, Wipro, Infosys, Accenture, Capgemini

  1. Write a program to reverse a string in Python. (TCS – 2023)

  2. Write a program to check if a number is a palindrome. (Infosys – 2024)

  3. Write a function to compute the factorial of a number using recursion. (Wipro – 2023)

  4. Find the missing number in an array containing 1 to n with one missing element. (Capgemini – 2024)

  5. Check whether a string is a valid anagram of another. (Accenture – 2024)

  6. Implement bubble sort algorithm in C. (Infosys – 2023)

  7. Convert a binary number to decimal. (TCS – 2024)

  8. Write a program to print Fibonacci series up to n terms. (Wipro – 2024)

  9. Find the second largest element in an array. (Capgemini – 2023)

  10. Count vowels in a given string. (Accenture – 2023)

  11. Check if a number is prime. (Infosys – 2025)

  12. Program to check Armstrong number. (TCS – 2023)

  13. Find GCD of two numbers. (Wipro – 2023)

  14. Write a function to calculate power without using math.pow(). (Capgemini – 2024)

  15. Reverse a linked list (singly). (Accenture – 2024)

  16. Implement binary search in an array. (Infosys – 2024)

  17. Detect a loop in a linked list. (TCS – 2025)

  18. Find the length of the longest substring without repeating characters. (Wipro – 2024)

  19. Check if a number is a power of two. (Capgemini – 2023)

  20. Merge two sorted arrays. (Accenture – 2023)

  21. Write code to find LCM of two numbers. (Infosys – 2023)

  22. Implement stack using two queues. (TCS – 2024)

  23. Check if a string is a valid palindrome ignoring special characters. (Wipro – 2023)

  24. Write a program to count frequency of elements in an array. (Capgemini – 2025)

  25. Convert a string to title case. (Accenture – 2025)

  26. Rotate an array to the right by k steps. (Infosys – 2024)

  27. Check balanced parentheses in an expression. (TCS – 2023)

  28. Implement a queue using a stack. (Wipro – 2024)

  29. Find the missing and repeating numbers in an array of size n. (Capgemini – 2024)

  30. Write a program to find the maximum subarray sum (Kadane’s Algorithm). (Accenture – 2024)


 

5. Interview Questions (30)

Companies: TCS, Wipro, Infosys, Capgemini, Accenture, HCL, IBM

  1. Tell me about yourself. (Common – 2023 to 2025)

  2. What are your strengths and weaknesses? (Infosys – 2023)

  3. Describe a challenging situation and how you handled it. (Accenture – 2024)

  4. Why do you want to join our company? (IBM – 2025)

  5. Explain the difference between final, finally, and finalize in Java. (TCS – 2024)

  6. What is your understanding of OOPs concepts? (Wipro – 2023)

  7. Explain a project you’ve worked on and your role in it. (Capgemini – 2023)

  8. How do you stay updated with new technologies? (HCL – 2024)

  9. What is your approach to solving coding problems? (Infosys – 2024)

  10. Why should we hire you? (TCS – 2025)

  11. What are your career goals for the next five years? (IBM – 2024)

  12. How do you manage your time during multiple deadlines? (Accenture – 2023)

  13. Have you faced any conflicts in a team? How did you resolve them? (Wipro – 2023)

  14. What is a primary key and a foreign key in databases? (Capgemini – 2024)

  15. How would you explain cloud computing to a non-technical person? (Infosys – 2025)

  16. What is the difference between overloading and overriding? (HCL – 2023)

  17. Describe SDLC and Agile methodology. (IBM – 2023)

  18. What is normalization in databases? (TCS – 2024)

  19. How would you debug a program that’s not working? (Cognizant – 2023)

  20. What is your preferred programming language and why? (Accenture – 2025)

  21. What is garbage collection in Java? (Wipro – 2023)

  22. Can you explain the MVC architecture? (Capgemini – 2025)

  23. What is the difference between == and equals() in Java? (Infosys – 2024)

  24. How would you explain APIs to someone with no tech background? (IBM – 2025)

  25. What motivates you to do better each day? (TCS – 2024)

  26. How do you handle failure or rejection? (HCL – 2024)

  27. Have you worked with Git or version control systems? (Accenture – 2023)

  28. Explain one data structure and where you used it. (Wipro – 2024)

  29. Do you have any questions for us? (Common – All Companies)

150. What is your expected salary and are you open to relocation? (Capgemini – 2024)