THE MODN CHRONICLES

Interview Prep

Interview Questions for IT Freshers — OS, DBMS, Networking, and What TCS, Infosys, Wipro Actually Ask

IT fresher interviews in India follow a predictable pattern: aptitude test, technical round, HR round. The technical round is where 70% of candidates get eliminated — not because the questions are hard, but because most B.Tech students memorize definitions without understanding concepts.

Students preparing for campus placement interviews at an Indian engineering college

Campus placements at Indian engineering colleges — TCS, Infosys, Wipro, HCL, and Cognizant hire 200,000+ freshers every year through this process.

The 3-Stage IT Fresher Interview

Every major IT service company in India — TCS, Infosys, Wipro, HCL, Cognizant, Tech Mahindra — follows the same hiring pattern for freshers. Round 1: online aptitude test covering quantitative ability, logical reasoning, and verbal ability. Round 2: technical interview testing CS fundamentals — operating systems, DBMS, networking, data structures, and one programming language. Round 3: HR round covering communication skills, willingness to relocate, and salary expectations.

The aptitude round filters out roughly 50% of candidates. But the technical round is where the real elimination happens. Companies do not expect freshers to know React, Docker, or cloud services. They test whether you actually understood what you studied for four years — process vs thread, normalization, TCP vs UDP, stack vs queue. The questions are from your B.Tech syllabus. The problem is that most candidates studied these topics to pass exams, not to understand them.

This guide covers the exact technical and HR questions asked in IT fresher interviews at service companies and entry-level product company roles. Every question includes the depth of answer interviewers expect — not textbook definitions, but the kind of explanation that shows you actually understand the concept.

The interviewer at TCS does not care if you can recite the definition of deadlock. They care if you can explain why it happens, give a real example, and describe how to prevent it. That is the difference between a textbook answer and a job offer.

OS & Computer Basics

Operating system questions appear in every IT fresher interview. Service companies ask 2-3 OS questions in the technical round. Product companies go deeper — they might ask you to trace through a scheduling algorithm or explain page replacement. Here are the four questions that come up most frequently.

Q1: What is the difference between a process and a thread?

Why they ask: This is the single most asked OS question in IT fresher interviews. The interviewer wants to hear about memory sharing — not just a definition. A process is an independent program in execution with its own memory space. A thread is a lightweight unit of execution within a process that shares the same memory space with other threads in that process.

// Process vs Thread — Key Differences

// PROCESS:
// - Independent program in execution
// - Has its OWN memory space (code, data, heap, stack)
// - Processes do NOT share memory with each other
// - Communication between processes requires IPC
//   (Inter-Process Communication: pipes, sockets, shared memory)
// - Creating a process is expensive (memory allocation)
// - Example: Opening Chrome and Word — two separate processes

// THREAD:
// - A unit of execution WITHIN a process
// - Shares memory (code, data, heap) with other threads
//   in the same process
// - Each thread has its OWN stack and registers
// - Communication between threads is fast (shared memory)
// - Creating a thread is cheap (no new memory allocation)
// - Example: Chrome tabs — each tab is a thread within Chrome

// Why this matters:
// Multithreading is faster than multiprocessing because
// threads share memory — no need to copy data between them.
// But shared memory means threads can corrupt each other's data
// if not synchronized properly (race conditions).

// Real-world analogy:
// Process = separate offices in a building (own space, own resources)
// Thread = employees in the same office (share desk, printer, files)

Q2: What is deadlock? What are the 4 necessary conditions?

Why they ask: Deadlock is a classic OS concept that tests whether you understand resource management. The interviewer expects you to name all four conditions AND explain that removing any one condition prevents deadlock.

// Deadlock: Two or more processes are waiting for each other
// to release resources, and none of them can proceed.

// Real-world example:
// Two cars meet on a narrow bridge from opposite sides.
// Neither can move forward. Neither will reverse.
// Both are stuck forever — that is deadlock.

// The 4 Necessary Conditions (ALL must hold simultaneously):

// 1. MUTUAL EXCLUSION
//    A resource can be held by only one process at a time.
//    Example: Only one process can use the printer at a time.

// 2. HOLD AND WAIT
//    A process holding a resource is waiting for another resource.
//    Example: Process A holds the printer, waits for the scanner.

// 3. NO PREEMPTION
//    A resource cannot be forcibly taken from a process.
//    The process must release it voluntarily.

// 4. CIRCULAR WAIT
//    Process A waits for B, B waits for C, C waits for A.
//    A circular chain of waiting processes.

// Prevention: Remove ANY ONE condition to prevent deadlock.
// Most practical approach: Prevent circular wait by ordering
// resources and requiring processes to request them in order.

// Interview tip: Draw the circular wait diagram on paper
// if the interviewer gives you a whiteboard. Visual explanation
// is much more convincing than verbal.

Q3: What is virtual memory and why is it needed?

Why they ask: Virtual memory is fundamental to how modern operating systems work. The interviewer wants you to explain the problem it solves (RAM is limited) and the mechanism (using disk as extended memory with paging).

// Virtual Memory: A memory management technique that gives
// each process the illusion of having a large, contiguous
// block of memory — even if physical RAM is limited.

// The Problem:
// Your laptop has 8 GB RAM. You open Chrome (2 GB),
// VS Code (1 GB), Spotify (500 MB), and a game (4 GB).
// Total: 7.5 GB — almost full. Without virtual memory,
// opening one more app would crash the system.

// The Solution:
// The OS uses a portion of the hard disk as "extended memory."
// Pages (fixed-size blocks) of memory that are not actively
// used are moved from RAM to disk (this is called "swapping"
// or "paging out"). When needed again, they are loaded back.

// How it works:
// 1. Each process gets a virtual address space
// 2. The OS maps virtual addresses to physical RAM addresses
//    using a Page Table
// 3. If a page is not in RAM (page fault), the OS loads it
//    from disk into RAM
// 4. If RAM is full, the OS evicts a less-used page to disk
//    (using algorithms like LRU — Least Recently Used)

// Why it matters:
// - Programs can be larger than physical RAM
// - Multiple programs can run simultaneously
// - Each process is isolated (cannot access another's memory)
// - Memory allocation is simplified for programmers

Q4: What is the difference between RAM and ROM?

Why they ask: This sounds basic, but it is asked in almost every service company interview — TCS, Wipro, HCL. The interviewer wants a clear, concise answer. Do not overthink it, but do mention volatility and use cases.

// RAM (Random Access Memory):
// - Volatile: Data is lost when power is turned off
// - Read AND write: CPU can read from and write to RAM
// - Fast: Used for currently running programs and data
// - Temporary storage: Holds the OS, open applications, data
// - Sizes: 4 GB, 8 GB, 16 GB in modern computers
// - Types: DRAM (main memory), SRAM (cache — faster, expensive)

// ROM (Read Only Memory):
// - Non-volatile: Data persists even without power
// - Read only: Data is written once during manufacturing
//   (modern variants like EEPROM can be rewritten)
// - Slower than RAM but permanent
// - Stores firmware: BIOS/UEFI that boots the computer
// - Small size: Usually a few MB
// - Types: PROM, EPROM, EEPROM, Flash ROM

// Key Difference Summary:
// RAM  → Volatile, Read/Write, Fast, Temporary, Large
// ROM  → Non-volatile, Read-only, Slower, Permanent, Small

// Real-world analogy:
// RAM = your desk (workspace for current tasks, cleared daily)
// ROM = instruction manual (permanent, rarely changes)

// Interview tip: Keep this answer under 60 seconds.
// It is a warm-up question — answer clearly and move on.

Networking & DBMS

Networking and DBMS questions are the second most tested category after OS. Service companies ask 2-3 questions from each. The SQL query question — especially "find the second highest salary" — appears in roughly 80% of IT fresher interviews across all companies.

Q1: What is the difference between TCP and UDP?

Why they ask: TCP vs UDP is the most asked networking question. The interviewer wants you to explain the trade-off: TCP is reliable but slower, UDP is fast but unreliable. Use real examples — that is what separates a good answer from a textbook one.

// TCP (Transmission Control Protocol):
// - Connection-oriented: Establishes connection before sending data
//   (3-way handshake: SYN → SYN-ACK → ACK)
// - Reliable: Guarantees delivery, order, and error checking
// - Slower: Overhead from acknowledgments and retransmissions
// - Use cases: Web browsing (HTTP/HTTPS), email (SMTP),
//   file transfer (FTP), banking transactions

// UDP (User Datagram Protocol):
// - Connectionless: Sends data without establishing connection
// - Unreliable: No guarantee of delivery or order
// - Faster: No overhead from acknowledgments
// - Use cases: Video streaming (YouTube, Netflix),
//   online gaming (PUBG, Valorant), DNS lookups, VoIP calls

// Why the trade-off matters:
// When you watch a cricket match on Hotstar, a few dropped
// frames are acceptable — you do not want buffering.
// UDP is perfect here: fast, some loss is okay.
//
// When you transfer money on Google Pay, every byte must
// arrive correctly. TCP guarantees this with acknowledgments.

// Key Differences:
// TCP  → Reliable, Ordered, Slower, Connection-oriented
// UDP  → Unreliable, Unordered, Faster, Connectionless

// Interview tip: Always give real-world examples.
// "YouTube uses UDP, Google Pay uses TCP" is more
// convincing than reciting protocol specifications.

Q2: What is normalization? Explain 1NF, 2NF, 3NF

Why they ask: Normalization is the most tested DBMS concept. The interviewer wants you to walk through the process step by step with a table example — not just recite definitions. Show how an unnormalized table is broken down into 1NF, then 2NF, then 3NF.

// Normalization: Process of organizing data to reduce
// redundancy and dependency.

// UNNORMALIZED TABLE (Student-Course):
// | StudentID | Name   | Courses          | Instructor     |
// |-----------|--------|------------------|----------------|
// | 101       | Rahul  | DBMS, OS         | Prof A, Prof B |
// | 102       | Priya  | DBMS, Networks   | Prof A, Prof C |
// Problem: Multiple values in one cell (Courses, Instructor)

// 1NF (First Normal Form):
// Rule: Each cell must contain a single atomic value.
// | StudentID | Name   | Course   | Instructor |
// |-----------|--------|----------|------------|
// | 101       | Rahul  | DBMS     | Prof A     |
// | 101       | Rahul  | OS       | Prof B     |
// | 102       | Priya  | DBMS     | Prof A     |
// | 102       | Priya  | Networks | Prof C     |
// Problem: Name repeats for each course (partial dependency)

// 2NF (Second Normal Form):
// Rule: Must be in 1NF + no partial dependency
// (non-key columns depend on the ENTIRE primary key)
// Split into two tables:
//
// Students: | StudentID | Name  |
//           | 101       | Rahul |
//           | 102       | Priya |
//
// Enrollments: | StudentID | Course   | Instructor |
//              | 101       | DBMS     | Prof A     |
//              | 101       | OS       | Prof B     |
//              | 102       | DBMS     | Prof A     |
//              | 102       | Networks | Prof C     |
// Problem: Instructor depends on Course, not on StudentID

// 3NF (Third Normal Form):
// Rule: Must be in 2NF + no transitive dependency
// (non-key columns depend ONLY on the primary key)
// Split Enrollments further:
//
// Enrollments: | StudentID | Course   |
//              | 101       | DBMS     |
//              | 101       | OS       |
//              | 102       | DBMS     |
//              | 102       | Networks |
//
// Courses: | Course   | Instructor |
//          | DBMS     | Prof A     |
//          | OS       | Prof B     |
//          | Networks | Prof C     |
// Now each non-key column depends only on the primary key.

Q3: What is the difference between SQL and NoSQL?

Why they ask: This question tests whether you understand database design choices. SQL databases are structured and relational (MySQL, PostgreSQL). NoSQL databases are flexible and non-relational (MongoDB, Cassandra). The key is knowing when to use which.

// SQL (Relational Databases):
// - Structured: Data stored in tables with rows and columns
// - Schema: Fixed schema — must define structure before inserting
// - ACID compliant: Atomicity, Consistency, Isolation, Durability
// - Relationships: Tables linked via foreign keys (JOINs)
// - Examples: MySQL, PostgreSQL, Oracle, SQL Server
// - Use when: Data is structured, relationships matter,
//   transactions are critical (banking, e-commerce orders)

// NoSQL (Non-Relational Databases):
// - Flexible: Data stored as documents, key-value, graphs, columns
// - Schema-less: No fixed structure — fields can vary per record
// - BASE model: Basically Available, Soft state, Eventually consistent
// - No JOINs: Data is denormalized (duplicated for speed)
// - Examples: MongoDB (documents), Redis (key-value),
//   Cassandra (column), Neo4j (graph)
// - Use when: Data is unstructured, scale is massive,
//   speed matters more than consistency (social media feeds)

// Real-world examples:
// Flipkart order system → SQL (transactions must be ACID)
// Instagram feed → NoSQL (millions of posts, speed matters)
// Aadhaar database → SQL (structured citizen data)
// Chat messages on WhatsApp → NoSQL (flexible, high volume)

// Interview tip: Do not say one is "better" than the other.
// Say "it depends on the use case" and give examples.

Q4: Write a SQL query to find the second highest salary

Why they ask: This is THE most asked SQL question in IT fresher interviews — TCS, Infosys, Wipro, all of them. Knowing multiple approaches shows depth. The DENSE_RANK approach is the most impressive answer.

-- Table: Employees (id, name, salary)

-- Approach 1: Subquery (most common answer)
SELECT MAX(salary) AS second_highest
FROM Employees
WHERE salary < (SELECT MAX(salary) FROM Employees);
-- Finds the max salary that is less than the overall max

-- Approach 2: LIMIT with OFFSET (MySQL)
SELECT DISTINCT salary
FROM Employees
ORDER BY salary DESC
LIMIT 1 OFFSET 1;
-- Sorts descending, skips 1st row, takes the next one
-- DISTINCT handles duplicate salaries

-- Approach 3: DENSE_RANK (best answer — works for Nth highest)
SELECT salary FROM (
  SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rank
  FROM Employees
) ranked
WHERE rank = 2;
-- DENSE_RANK assigns ranks without gaps
-- Change rank = 2 to rank = N for Nth highest salary
-- This approach handles duplicates correctly

-- Why DENSE_RANK over RANK or ROW_NUMBER?
-- RANK: Skips ranks for ties (1, 1, 3 — no rank 2)
-- ROW_NUMBER: No ties (1, 2, 3 — arbitrary for same salary)
-- DENSE_RANK: No gaps (1, 1, 2 — correct for "second highest")

-- Interview tip: Start with the subquery approach (simple),
-- then mention DENSE_RANK to show you know window functions.
-- This impresses interviewers at both service and product companies.
Student writing code on laptop during technical interview preparation

The technical round tests CS fundamentals from your B.Tech syllabus — OS, DBMS, networking, and one programming language.

Programming & Logic

Every IT fresher interview includes at least 2-3 programming questions. Service companies test basic logic — palindrome, factorial, sorting. Product companies go deeper into data structures and time complexity. You will be asked to write code on paper or a whiteboard, so practice writing without an IDE.

Q1: What is the difference between stack and queue?

Why they ask: Stack and queue are the two most basic data structures. The interviewer wants you to explain the access pattern (LIFO vs FIFO) with real-world analogies — not just definitions.

// STACK — Last In, First Out (LIFO)
// The last element added is the first one removed.
//
// Real-world analogy: A stack of plates in a canteen.
// You add plates on top, and you take plates from the top.
// The plate you placed last is the first one you pick up.
//
// Operations:
//   push(element)  → Add to top       → O(1)
//   pop()          → Remove from top   → O(1)
//   peek()/top()   → View top element  → O(1)
//
// Use cases:
//   - Undo/Redo in text editors
//   - Browser back button (history stack)
//   - Function call stack in programming
//   - Expression evaluation (postfix, infix)

// QUEUE — First In, First Out (FIFO)
// The first element added is the first one removed.
//
// Real-world analogy: A queue at an IRCTC ticket counter.
// The person who arrives first gets served first.
//
// Operations:
//   enqueue(element) → Add to rear     → O(1)
//   dequeue()        → Remove from front → O(1)
//   front()/peek()   → View front element → O(1)
//
// Use cases:
//   - Print job scheduling (first document prints first)
//   - CPU task scheduling (round-robin)
//   - BFS (Breadth-First Search) in graphs
//   - Message queues in distributed systems

Q2: Write a program to check if a string is a palindrome

Why they ask: Palindrome is the most frequently asked coding question in service company interviews. It tests basic string manipulation and loop logic. Show it in both Java and Python — Java is expected at TCS and Infosys, Python is increasingly accepted.

// JAVA — Palindrome Check
public class Palindrome {
    public static boolean isPalindrome(String str) {
        str = str.toLowerCase();
        int left = 0;
        int right = str.length() - 1;

        while (left < right) {
            if (str.charAt(left) != str.charAt(right)) {
                return false;
            }
            left++;
            right--;
        }
        return true;
    }

    public static void main(String[] args) {
        System.out.println(isPalindrome("madam"));   // true
        System.out.println(isPalindrome("hello"));   // false
        System.out.println(isPalindrome("Racecar")); // true
    }
}

# PYTHON — Palindrome Check
def is_palindrome(s):
    s = s.lower()
    return s == s[::-1]

# Alternative: Two-pointer approach (same logic as Java)
def is_palindrome_two_pointer(s):
    s = s.lower()
    left, right = 0, len(s) - 1
    while left < right:
        if s[left] != s[right]:
            return False
        left += 1
        right -= 1
    return True

print(is_palindrome("madam"))    # True
print(is_palindrome("hello"))    # False
print(is_palindrome("Racecar")) # True

// Interview tip: Use the two-pointer approach in Java.
// In Python, mention s == s[::-1] but also explain the
// two-pointer logic — it shows you understand the algorithm,
// not just Python shortcuts.

Q3: What is the difference between array and linked list?

Why they ask: This tests your understanding of memory allocation and time complexity trade-offs. The interviewer wants you to compare access time, insertion time, and memory usage — with specific Big-O notation.

// ARRAY:
// - Contiguous memory allocation (elements stored side by side)
// - Fixed size (in most languages — must declare size upfront)
// - Fast access: O(1) — direct index access (arr[5])
// - Slow insertion/deletion: O(n) — must shift elements
// - Memory efficient: No extra pointers needed

// LINKED LIST:
// - Non-contiguous memory (elements scattered, connected by pointers)
// - Dynamic size (grows and shrinks as needed)
// - Slow access: O(n) — must traverse from head to find element
// - Fast insertion/deletion: O(1) — just update pointers
// - Extra memory: Each node stores data + pointer(s)

// Time Complexity Comparison:
// Operation        | Array  | Linked List
// Access by index  | O(1)   | O(n)
// Search           | O(n)   | O(n)
// Insert at start  | O(n)   | O(1)
// Insert at end    | O(1)*  | O(1)**
// Delete at start  | O(n)   | O(1)
// Delete at end    | O(1)*  | O(n)***
//
// *  If array has space; O(n) if resizing needed
// ** If tail pointer maintained
// *** O(1) if doubly linked list

// When to use what:
// Array → Frequent access by index, known size
//         Example: Storing marks of 60 students
// Linked List → Frequent insertions/deletions, unknown size
//         Example: Implementing a music playlist

Q4: What is recursion? Write a factorial program

Why they ask: Recursion tests whether you understand how functions call themselves and the importance of a base case. The factorial program is the standard example — but the interviewer also wants you to explain what happens if you forget the base case (stack overflow).

// Recursion: A function that calls itself to solve
// a smaller version of the same problem.

// Two essential parts:
// 1. BASE CASE — when to stop (prevents infinite recursion)
// 2. RECURSIVE CASE — the function calls itself with a
//    smaller input, moving toward the base case

// JAVA — Factorial using recursion
public class Factorial {
    public static int factorial(int n) {
        // Base case: factorial of 0 or 1 is 1
        if (n <= 1) {
            return 1;
        }
        // Recursive case: n * factorial(n-1)
        return n * factorial(n - 1);
    }

    public static void main(String[] args) {
        System.out.println(factorial(5)); // 120
        // How it works:
        // factorial(5) = 5 * factorial(4)
        // factorial(4) = 4 * factorial(3)
        // factorial(3) = 3 * factorial(2)
        // factorial(2) = 2 * factorial(1)
        // factorial(1) = 1 (base case — stops here)
        // Unwinds: 2*1=2, 3*2=6, 4*6=24, 5*24=120
    }
}

# PYTHON — Factorial using recursion
def factorial(n):
    if n <= 1:
        return 1
    return n * factorial(n - 1)

print(factorial(5))  # 120

// What happens without a base case?
// The function calls itself forever → stack overflow error.
// Each function call uses stack memory. Without a base case,
// the stack fills up and the program crashes.
// Java: StackOverflowError
// Python: RecursionError (default limit: 1000 calls)

Practice These Questions With AI Mock Interviews

Reading answers is not the same as explaining them to an interviewer. Practice answering OS, DBMS, and programming questions out loud with timed mock interviews — the same way your campus placement round works.

START MOCK INTERVIEW →

HR & Behavioral — IT Fresher Context

The HR round in IT fresher interviews is not just a formality — candidates do get rejected here. The questions are predictable, but the wrong answer on relocation or salary expectations can cost you the offer. Here are the three questions that trip up freshers the most.

Q1: Why do you want to join [company name]?

Why they ask: The HR wants to see that you have researched the company and are not just applying everywhere blindly. The answer must be customized for each company — a generic answer gets you rejected.

// How to customize your answer for each company:

// FOR TCS:
// Research: TCS is the largest IT services company in India.
// Mention: Their training program (ILP — Initial Learning Program),
// global delivery model, work across industries.
// Sample: "TCS's Initial Learning Program is one of the most
// structured fresher training programs in the industry. I want
// to start my career where I can learn multiple technologies
// and work on projects across domains like banking and retail."

// FOR INFOSYS:
// Research: Known for InfyTQ platform, Mysore training campus.
// Mention: Their focus on digital transformation, Infosys BPM.
// Sample: "Infosys's Mysore training campus and the emphasis
// on continuous learning through platforms like Lex attracted me.
// I want to work on digital transformation projects where I can
// apply my CS fundamentals to real business problems."

// FOR WIPRO:
// Research: Strong in cybersecurity, cloud services.
// Mention: Their WILP program, sustainability initiatives.
// Sample: "Wipro's focus on cybersecurity and cloud services
// aligns with my interest in networking and security. The WILP
// program also gives me an opportunity to continue learning
// while working on live projects."

// COMMON MISTAKES:
// "I want to join because it is a big company" — too generic
// "I need a job" — honest but wrong answer
// "My friend works here" — irrelevant
// Always mention something SPECIFIC to that company.

Q2: Are you willing to relocate?

Why they ask: Service companies have offices across India — Hyderabad, Bangalore, Chennai, Pune, Noida, Kolkata. They need freshers who will go wherever the project is. Saying "no" or "I prefer my hometown" is an instant rejection for most service companies.

// THE CORRECT ANSWER: Always say YES.

// For service companies (TCS, Infosys, Wipro, HCL, Cognizant):
// "Yes, I am completely open to relocation. I understand that
// project requirements may need me to work from different
// locations, and I see it as an opportunity to experience
// different cities and grow professionally."

// WHY this matters:
// Service companies assign freshers to projects based on
// client requirements. A project in Hyderabad needs 50 Java
// developers — they pull from the fresher pool. If you said
// "I only want Bangalore," you have eliminated yourself from
// most project allocations.

// WHAT ACTUALLY HAPPENS:
// - TCS: Posts freshers to any of 20+ offices across India
// - Infosys: Training in Mysore, then posted anywhere
// - Wipro: Training in various locations, posted based on project
// - Most freshers get posted to Hyderabad, Bangalore, Chennai,
//   or Pune — the major IT hubs

// CAN YOU NEGOTIATE LATER?
// Yes. Once you have 1-2 years of experience and are on a
// project, internal transfers are possible. But at the fresher
// stage, saying "no" to relocation means "no" to the job.

// The only exception: If you have a genuine medical reason
// for a specific location, mention it politely after getting
// the offer — not during the interview.

Q3: What is your expected CTC?

Why they ask: For freshers, this is a tricky question because the salary is usually fixed — you do not negotiate. But the interviewer wants to see if your expectations are realistic and if you understand the difference between service and product company packages.

// FRESHER SALARY RANGES IN INDIAN IT:

// Service Companies (campus placement):
// TCS Digital    → ₹7-7.5 LPA (for top performers in NQT)
// TCS Ninja      → ₹3.36 LPA (standard package)
// Infosys SP     → ₹5-6.5 LPA (Systems Engineer Specialist)
// Infosys SE     → ₹3.6 LPA (Systems Engineer)
// Wipro          → ₹3.5-6.5 LPA (varies by role)
// HCL            → ₹3.5-4.25 LPA
// Cognizant GenC → ₹4-4.5 LPA
// Tech Mahindra  → ₹3.25-3.75 LPA

// Product Companies (off-campus/referral):
// Entry-level    → ₹6-12 LPA
// Good startups  → ₹8-15 LPA
// Top product    → ₹15-25+ LPA (rare for freshers)

// HOW TO ANSWER:
// For service companies (fixed package):
// "I am aware that the CTC for this role is [amount] as
// mentioned in the job description. I am comfortable with
// that and my focus is on learning and growing in the role."

// For product companies (negotiable):
// "Based on my research and the skills I bring, I am looking
// at a CTC in the range of ₹X-Y LPA. However, I am open to
// discussion based on the role and growth opportunities."

// MISTAKES TO AVOID:
// "I want ₹10 LPA" at a service company → unrealistic
// "Whatever you offer" → shows no research
// "I need at least ₹X because of EMI" → personal reasons
//   are irrelevant to the interviewer

Company-Specific Hiring Patterns

Each IT service company has its own hiring process with different test formats. Knowing the pattern before you sit for the test gives you a significant advantage — you know what to expect and can prepare accordingly.

TCS NQT (National Qualifier Test)

The TCS NQT has two tracks: Ninja (standard) and Digital (advanced). Ninja includes aptitude (quant, logical, verbal), programming logic, and coding. Digital adds an advanced coding section with harder problems. A unique TCS element is the email writing section — you get a business scenario and must write a professional email in 10 minutes. Many candidates ignore this and lose easy marks. The coding section tests basic problems: pattern printing, string manipulation, array operations. Prepare all three sections equally.

Infosys InfyTQ / SP & SE Hiring

Infosys hires through InfyTQ certification and campus drives. The test includes coding problems (2-3 medium difficulty), technical MCQs covering OS, DBMS, networking, and OOP concepts. For the SP (Specialist Programmer) role, the coding section is harder — expect problems involving dynamic programming and graph traversal. The SE (Systems Engineer) role has easier coding but more aptitude questions. Infosys also conducts a separate communication assessment — they evaluate your English proficiency during the HR round.

Wipro NLTH (National Level Talent Hunt)

Wipro NLTH includes three sections: aptitude (quant, logical, verbal), an essay writing component (200-300 words on a given topic), and a coding section (2 problems, 60 minutes). The essay section is unique to Wipro — topics are usually about technology trends or workplace scenarios. The coding problems are moderate difficulty. Wipro also has an online interview round after the written test, which includes both technical and HR questions in a single session.

HCL Tech Hiring

HCL conducts technical MCQs covering C, C++, Java, OS, DBMS, and networking — the MCQ section is heavier than other companies. This is followed by 1-2 coding problems and then a technical interview. HCL interviewers tend to ask more questions about networking (TCP/IP, OSI model) compared to other service companies. The technical interview is usually 20-30 minutes and covers your strongest programming language plus CS fundamentals.

Cognizant GenC / GenC Next / GenC Elevate

Cognizant has three tiers: GenC (standard), GenC Next (intermediate), and GenC Elevate (advanced). All include aptitude, coding, and a communication assessment. The communication round is a recorded video assessment where you answer questions on camera — practice speaking clearly and confidently. GenC coding problems are basic (pattern printing, string operations). GenC Elevate includes harder problems and a separate technical interview round.

How to Prepare — 2-Week Plan

Two weeks is enough to prepare for an IT fresher interview if you are systematic about it. The mistake most students make is spending all their time on aptitude and ignoring the technical round — which is where the actual elimination happens. Here is a day-by-day plan.

Week 1: CS Fundamentals + Daily Coding

Days 1-2: Operating Systems — process vs thread, deadlock (4 conditions), virtual memory, paging, CPU scheduling (round-robin, SJF). Do not memorize definitions. For each concept, write a one-paragraph explanation in your own words. If you cannot explain it simply, you do not understand it.

Days 3-4: DBMS — normalization (1NF, 2NF, 3NF with table examples), SQL queries (JOIN, GROUP BY, HAVING, subqueries), ACID properties, indexing. Practice writing SQL queries on paper — not on a computer. The interview is on paper or whiteboard.

Days 5-6: Networking — OSI model (know all 7 layers with one-line descriptions), TCP vs UDP, HTTP vs HTTPS, DNS resolution, IP addressing basics. Do not try to learn everything — focus on the questions that actually get asked.

Day 7: Review all three subjects. Write down the top 5 questions from each topic on a single sheet. This is your revision sheet for the night before the interview. Also: solve 2 coding problems daily throughout the week on GeeksforGeeks or HackerRank — start with easy problems (palindrome, factorial, Fibonacci, array reversal).

Week 2: Company-Specific Prep + Mock Interviews

Days 8-9: Practice aptitude — quantitative (percentages, profit-loss, time-speed-distance, probability), logical reasoning (blood relations, seating arrangement, coding-decoding), verbal (reading comprehension, error spotting). Use IndiaBix or PrepInsta for company-specific question patterns.

Days 10-11: Practice the company-specific test format. If you are sitting for TCS NQT, practice email writing. For Wipro, practice essay writing. For Cognizant, practice the video communication assessment. Solve 2-3 coding problems from previous year papers of your target company.

Days 12-13: Mock interviews. Ask a friend or senior to interview you — 15 minutes technical, 10 minutes HR. Practice answering out loud, not in your head. Record yourself if possible. Common feedback: students know the answer but cannot articulate it clearly under pressure.

Day 14: Light revision only. Go through your one-page revision sheet. Prepare your HR answers (why this company, relocation, CTC). Get your documents ready (resume, marksheets, ID proof). Sleep well — fatigue causes more interview failures than lack of knowledge.

Free Resources

GeeksforGeeks — best for CS fundamentals and coding practice, has company-specific interview experiences. HackerRank — good for SQL practice and coding challenges with an actual IDE. PrepInsta — has previous year papers for TCS, Infosys, Wipro, and other service companies. IndiaBix — solid for aptitude practice (quant, logical, verbal). YouTube channels like Gate Smashers and Jenny's Lectures for OS and DBMS video explanations. All of these are free and sufficient for fresher-level preparation.

Simulate Your Campus Placement Interview

Practice answering technical and HR questions with timed AI mock interviews. Get instant feedback on your answers — the same way your placement cell conducts mock rounds, but available anytime.

TRY MOCK INTERVIEW →

The fresher who can explain deadlock with a real example, write a SQL query on paper without syntax errors, and tell the HR exactly why they want to join that specific company — that fresher gets the offer. It is not about knowing everything. It is about knowing the fundamentals deeply enough to explain them clearly.

IT fresher interviews in India test the same 20-30 concepts across all service companies — OS basics, DBMS normalization and SQL, networking fundamentals, one programming language, and HR readiness. The technical round eliminates candidates who memorized definitions without understanding. The HR round eliminates candidates who did not research the company or gave wrong answers on relocation. Two weeks of focused preparation covering CS fundamentals, company-specific test patterns, and mock interviews is enough to clear campus placements at TCS, Infosys, Wipro, and similar companies.

Prepare for Your IT Fresher Interview

Practice with AI-powered mock interviews covering technical and HR rounds, and get your resume campus-placement ready.

Free · AI-powered · Instant feedback