IBM Interview Question Bank
IBM Interview Question Bank
Typical
Round Round type Description
duration
1
Typical
Round Round type Description
duration
The following sections provide detailed question banks for each round.
The OA consists of two coding problems (or game‑based tasks) and ~15 MCQs. Different batches faced
different problem sets; all known questions are listed below.
2
Year(s) Question & brief description Topic / pattern Sources
concentric, touching,
intersecting or disjoint.”
3
Year(s) Question & brief description Topic / pattern Sources
“Check if a sentence is
grammatically correct.” IBM cognitive
Year unspecified String parsing
Validate basic grammar or assessment round 2 .
punctuation.
“Determine whether a
String, set/hash
Year unspecified sentence is a pangram Same round 2 .
table
(contains every alphabet).”
These coding questions emphasise string manipulation, arrays, heaps and mathematical reasoning. The
most common tasks—string conversion, last‑word length and linked‑list operations—were repeated across
years 1 .
The OA also features ~15 MCQs drawn from Operating Systems, Databases, Computer Networks, Aptitude
and Linux. Candidates frequently report the following questions:
4
2.2 English Assessment
IBM sometimes conducts a short English assessment with ~10 multiple‑choice questions on grammar and
comprehension. For example, candidates may be asked to choose the correct form of a sentence, fill in
blanks, or identify errors. It tests written communication skills and is generally straightforward.
Some drives include a group discussion lasting ~30 min. Topics are broad (technological trends, current
affairs or case studies) and the emphasis is on clear communication, listening skills and teamwork. There
are no “right answers”; evaluation focuses on coherence and respectful debate 3 .
This round is often a mix of theoretical questions and live coding. Interviewers test depth of understanding
rather than rote memorisation.
• Process management: explain the difference between a process and a thread; describe process
states and context switching; list and compare CPU scheduling algorithms (FCFS, SJF, Round‑Robin,
Priority); discuss long‑term, medium‑term and short‑term schedulers 6 7 .
• Inter‑process communication (IPC): describe mechanisms like pipes, message queues, shared
memory and sockets; explain semaphores and how they prevent race conditions; differentiate
between mutexes and semaphores 6 .
• Deadlocks & synchronization: define a deadlock and list the four necessary conditions; describe
strategies for prevention, avoidance and detection; discuss dining philosophers or producer–
consumer problems 7 .
• Memory management: describe virtual memory, paging and segmentation; compare page
replacement algorithms (FIFO, LRU, optimal); discuss fragmentation 6 .
• Storage classes & C fundamentals: explain auto , static , extern and register storage
classes; differentiate between stack and heap memory; illustrate how interrupts work at the OS level
1 .
Interviewers frequently ask candidates to code small functions on a whiteboard or shared editor. Known
tasks include:
Create a linked‑list node Write a struct/class and functions to insert nodes or traverse a linked list.
Detect a cycle in a Implement Floyd’s cycle detection (hare and tortoise) and return whether
linked list a loop exists 1 .
5
Task Description & patterns
Swap the
most‑significant and
Use bitwise operations to swap bits and return the new value 1 .
least‑significant bits of
an integer
Stock buy‑and‑sell Given an array of prices, maximise profit by buying and selling at most
variations once or multiple times.
Sub‑array sum Find sub‑arrays with a given sum or divisible by K, sometimes using prefix
problems sums or hashing.
Detect palindrome or
Validate whether a string is a palindrome or includes all letters.
pangram
• Design a distributed system to handle heavy traffic (e.g., a chat application or file storage),
discussing scalability, fault tolerance and consistency.
• Optimize a slow database without changing hardware—consider indexing, query optimisation and
caching.
• Design a secure, scalable REST API—cover authentication, rate limiting, versioning and error
handling.
• Factors when designing a grocery‑store website—consider user experience, database schema,
security and concurrent user handling 4 .
• Explain how web pages are rendered, including DNS lookup, TCP handshake, HTTP request/
response and browser rendering pipeline 4 .
6
2.5 Technical Interview 2 – Advanced Concepts & Projects
The second technical round dives deeper into databases, OOP and project experiences.
• ACID properties: define atomicity, consistency, isolation and durability and give examples 8 .
• Normalization: explain 1NF, 2NF, 3NF and BCNF; identify partial and transitive dependencies 8 .
• Types of joins: inner, left/right outer, full outer; write SQL queries to join two tables 4 .
• Indexing: explain how indexes improve query performance; discuss trade‑offs (insert/update
overhead) 1 .
• Stored procedures & triggers: define and contrast them; explain use‑cases.
• Transactions & isolation levels: discuss how databases handle concurrent transactions and prevent
anomalies.
• Difference between DBMS and file systems; RDBMS vs OODBMS.
• Four pillars: encapsulation, inheritance, polymorphism and abstraction; give real‑world examples.
• Inheritance types: single, multiple, multilevel, hierarchical and hybrid; discuss problems like the
diamond problem 9 .
• Polymorphism: static vs dynamic binding; method overloading vs overriding; virtual functions 9 .
• Abstract classes vs interfaces: differences in C++/Java and when to use each 9 .
• Constructor chaining and destructors.
• Design patterns: Singleton (including thread‑safe variants such as Bill Pugh and double‑checked
locking), Observer pattern; implementing LRU cache using LinkedHashMap 10 .
7
• Operating system enhancements: virtualization, containers (Docker/Kubernetes), REST API design
and microservices; these appear because the job description emphasises cloud‑native development.
• High‑level design: design an elevator control system, a parking‑lot management system or a URL
shortener. Discuss scalability, data modelling and fault tolerance.
• Web fundamentals: difference between HTTP and HTTPS, how TLS works, REST vs SOAP 17 , status
codes (200, 404, 500), how cookies and sessions work, content‑delivery networks and caching.
• Cloud computing & microservices: explain microservice architecture and its benefits; discuss
Docker and Kubernetes; describe CI/CD pipelines and how you set them up 18 .
2.6 HR Interview
IBM’s HR rounds evaluate cultural fit, communication and values alignment. Behavioural questions follow
the STAR (Situation–Task–Action–Result) framework.
These questions encourage storytelling. Candidates should prepare multiple examples highlighting
technical achievements and soft skills 5 .
• Explain your academic and personal projects in detail. Interviewers probe design decisions,
scalability and your individual contribution.
• Which programming languages and frameworks are you comfortable with?
• Describe your experience with cloud technologies or DevOps pipelines.
• How do you stay updated with the latest technology trends?
• What interests you most about the role at IBM?
8
• Describe your approach to learning new technologies.
• What do you know about IBM’s values (dedication to client success, innovation that matters
and trust/personal responsibility)?
• Who are IBM’s largest competitors?
• Mention something IBM has recently done that impressed you.
• Are you comfortable with travel or relocation?
• Arrays & Strings: Two Sum, Best Time to Buy and Sell Stock, Rotate Array/Image, Meeting Rooms II,
Merge Intervals, Product of Array Except Self, Maximum Subarray (Kadane’s), Next Permutation,
Missing Number, Roman to Integer / Integer to Roman, Longest Substring Without Repeating
Characters, Valid Parentheses, Longest Palindromic Substring, String Compression, Length of Last
Word, Fizz Buzz.
• Linked Lists: Create node, Detect Cycle (Floyd’s algorithm), Reverse list, Merge two sorted lists,
Remove Nth node from end.
• Trees: Binary Tree Inorder Traversal, Maximum Depth of Binary Tree, Validate Binary Search Tree,
Lowest Common Ancestor.
• Dynamic Programming: Climbing Stairs, House Robber, Longest Increasing Subsequence, Coin
Change, 0/1 Knapsack, Maximum Product Subarray.
• Graphs: Number of Islands, Course Schedule (topological sort), Clone Graph, Word Ladder.
• Hash Tables: Group Anagrams, Frequency counting, Single Number (bitwise), Top K Frequent
Elements.
• Two Pointers & Sliding Window: Remove Duplicates from Sorted Array, Three Sum, Container With
Most Water, Longest Substring Without Repeating Characters, Minimum Window Substring.
• Stack & Queue: Valid Parentheses, Next Greater Element, Evaluate Reverse Polish Notation,
Implement queue using two stacks.
• Bit Manipulation: Swap MSB and LSB, Power of Two, XOR problems.
• Processes & Threads, CPU scheduling algorithms (FCFS, SJF, Round‑Robin, Priority)
• Process synchronization, deadlocks and semaphores 6 7
• Memory management (paging, segmentation, page replacement) 6
• Inter‑process communication (pipes, shared memory, message queues, sockets)
• Virtual memory and page faults 6
• Storage classes, interrupts, system calls 1
• ACID properties 8
• Normalization (1NF, 2NF, 3NF, BCNF)
• SQL joins (inner, outer), subqueries and aggregate functions
9
• Indexing, transactions and isolation levels
• Differences between DBMS vs file system, RDBMS vs OODBMS 7 9
19
10
5 Subject‑wise PYQ Question Bank (with year where available)
This section collates every unique question gathered from candidate experiences and study resources.
Questions are grouped by subject. For brevity, only phrases and keywords are listed; full problem
statements appear in Section 2.
OA second
2025 SQL join query
round 4
OA second
2025 Simple if‑else logic (largest of three numbers / grading)
round 4
2024
Relation between two circles given (x,y,r) OA coding 3
(CodeKnack)
2024
Count occurrences of “error” three times consecutively in log OA coding 3
(CodeKnack)
Bit manipulation
Technical 1 Swap MSB & LSB of an integer
1
Systems
Technical 1 Detect machine endianness programming
1
11
Year(s) Question / problem Notes
Two Sum; Best Time to Buy and Sell Stock; Rotate Array/
Image; Meeting Rooms II; Merge Intervals; Product of Array
Except Self; Maximum Subarray; Next Permutation; Missing
Number; Roman to Integer / Integer to Roman; Fizz Buzz;
Group Anagrams; Longest Substring Without Repeating
Characters; Valid Parentheses; Longest Palindromic High‑frequency
Technical 2 /
Substring; String Compression; Climbing Stairs; House LeetCode / IBM
General
Robber; Longest Increasing Subsequence; Coin Change; PYQ list.
0/1 Knapsack; Number of Islands; Course Schedule; Clone
Graph; Word Ladder; LRU Cache implementation; Reverse
polish notation; Evaluate expressions; Greedy – Jump Game;
Activity Selection; Bit‑manipulation problems like Single
Number and Power of Two
• Conceptual questions:
• What is a DBMS? List its advantages over file systems.
• Explain data independence; differentiate between logical and physical independence.
• What is a database schema? What is a relation?
• Explain the differences between DDL, DML and DCL commands.
• Define a transaction. Explain ACID properties with examples 8 .
• Contrast DBMS vs RDBMS, and RDBMS vs OODBMS 9 .
12
• SQL & querying:
• Write SQL queries to perform inner join, left/right join and full outer join on two tables 4 .
• Use GROUP BY and HAVING to filter aggregated data; contrast HAVING with WHERE.
• Use subqueries and correlated subqueries.
• Use aggregate functions ( COUNT , SUM , AVG , MAX , MIN ).
• Explain primary keys vs foreign keys; define composite keys; what is a candidate key?
• Create and drop indexes; discuss advantages and disadvantages 1 .
• Write stored procedures and triggers; explain their benefits.
• Explain transaction isolation levels (read uncommitted, read committed, repeatable read,
serializable).
• Scenario‑based questions:
• Design a schema for a library management system (tables for books, members, loans).
• Given a poorly performing query, suggest ways to optimise it (indexes, rewriting, partitioning).
• How would you handle concurrent updates to the same record? Discuss pessimistic vs optimistic
locking.
• Fundamental concepts:
• Explain the OSI seven‑layer model and the TCP/IP model. Map protocols (HTTP, TCP, IP) to layers.
• Transport layer:
• Discuss flow control (sliding window) and congestion control (AIMD, slow start).
• Application layer:
• Explain how HTTP works; difference between HTTP and HTTPS (TLS/SSL) 1 .
• Describe RESTful APIs; what is CRUD? 1 .
• Describe other protocols: FTP for file transfer, SMTP for email, DNS for name resolution.
13
5.4 Object‑Oriented Programming (OOPS)
• Explain the difference between deep and shallow copy; implement copy constructors.
• Processes & threads: difference between process and thread; states of a process; multithreading vs
multiprocessing 6 .
• CPU scheduling: FCFS, SJF (preemptive & non‑preemptive), Round‑Robin, Priority scheduling;
advantages and disadvantages; short/medium/long‑term schedulers 7 .
• Deadlocks: define deadlock; four necessary conditions; methods to prevent, avoid or detect
deadlocks; difference between deadlock and starvation 7 .
• Process synchronization: critical section problem; semaphores vs mutexes; monitors; the
producer‑consumer problem 6 .
• Memory management: virtual memory; paging vs segmentation; page replacement algorithms
(FIFO, LRU, Optimal) 6 ; fragmentation; thrashing.
• File & I/O management: describe file systems, file descriptors, buffering, interrupt handling.
• Miscellaneous: system calls vs library calls; difference between fork() and exec() ; role of
caches; difference between static and dynamic linking; difference between microkernel and
monolithic kernel; difference between threads and green threads.
• Programming languages (C/C++/Java): differences between array and linked list, difference
between == and .equals() (Java), concept of constructors and destructor, static variables and
methods, exception handling (checked vs unchecked), overloading the new operator in C++,
difference between malloc and new , recursion vs iteration, pointer arithmetic, super vs this
in Java 11 21 22 13 .
• Algorithms & puzzles: program to find the largest or second‑largest number; check whether a
number is prime; generate a Fibonacci series; compute factorial; count vowels in a string; convert
string to uppercase/lowercase; remove duplicates; rotate array; implement stack using arrays;
implement queue using two stacks; evaluate postfix expressions; longest increasing subsequence;
sliding window substring; transposing a matrix; rotate matrix by 90°; find missing number from
1 to n; implement Saga pattern for distributed transactions; implement thread pool; implement LRU
cache.
• DevOps & cloud: explain microservices; differences between REST and SOAP; containerisation
(Docker); orchestration (Kubernetes); CI/CD tools (Jenkins, GitHub Actions); monitoring and logging;
caching strategies; load balancing; content‑delivery networks 18 .
14
• Network & security: differences between symmetric and asymmetric encryption; how HTTPS
secures communication; difference between authentication and authorisation; cross‑site scripting
(XSS) and SQL injection; firewall and VPN basics.
• Describe your final‑year project – problem statement, architecture, technologies used, challenges
faced and outcomes.
• What was your role and contribution? Did you design, code, test or manage requirements?
• How did you choose your tech stack? How would you scale the project for real‑world use?
• What difficulties did you encounter and how did you resolve them?
• If given more time, how would you improve your project?
• Have you contributed to open‑source projects? Explain your contributions.
• Explain any internship experience, focusing on achievements, learning outcomes and teamwork.
6 Preparation Tips
1. Solve high‑frequency problems first: prioritise questions with acceptance frequency above 70 %.
For example, Fizz Buzz, Two Sum, Best Time to Buy and Sell Stock, Roman numeral conversions and
Meeting Rooms II appear frequently in IBM’s question bank.
2. Master core CS concepts: OS, DBMS, CN and OOP collectively account for a significant portion of
MCQs and interview questions 1 . Use textbooks and Sanfoundry/GeeksforGeeks quizzes for
practice.
3. Practice live coding: use platforms like LeetCode, InterviewBit or Pramp to simulate timed coding
sessions. Focus on explaining your thought process and writing clean, bug‑free code.
4. Prepare behavioural stories: use the STAR method to structure answers for HR questions. Align
your stories with IBM’s values—client success, innovation and trust.
5. Stay updated on IBM and industry trends: read about IBM’s latest product launches, acquisitions
and initiatives. Familiarity with cloud, AI, blockchain and quantum computing can make your
answers stand out.
6. Mock interviews and group discussions: practise with peers to improve communication, teamwork
and confidence.
References
The question bank draws from numerous candidate experiences and learning resources. Key sources
include GeeksforGeeks interview experiences (2024–2025 batches) 1 4 2 3 , IBM’s official job
description, the IBM complete PYQ bank (internal report), Educative and GeeksforGeeks technical question
lists 6 7 9 , and general interview guides like Internshala and Indeed 5 17 . HR questions and
preparation tips were inspired by articles on Internshala and Simplilearn 5 .
1 IBM Interview Experience | Software Engineer | Full Time | On Campus 2024 - GeeksforGeeks
https://www.geeksforgeeks.org/interview-experiences/ibm-interview-experience-software-engineer-full-time-on-campus-2024/
15
3 IBM CodeKnack Interview Experience | CIC 2024 (On-Campus) - GeeksforGeeks
https://www.geeksforgeeks.org/interview-experiences/ibm-codeknack-interview-experience-cic-2024-on-campus/
16 IBM Interview Questions | IBM Technical Interview Question | IBM HR Interview Questions
https://gdpi.hitbullseye.com/ibm.php
16