Interview Rounds: Online Test, Technical and Managerial
40 min · Beginner
Need help? Ask a tutor on WhatsApp (opens in a new tab)You applied through campus or a job portal, and now the company sends you through several rounds. Each round filters for a different reason, so knowing what each one checks tells you how to prepare for it.
The campus placement flow
A placement drive is the series of rounds a company runs to pick freshers: usually an online test, one or more technical interviews, a managerial round and an HR round.
A company rarely hires on one interview. Most campus drives in India run the rounds below in this order.
Example 1 · A campus drive in one picture
Registration (college placement cell) | vOnline test ---- aptitude + Java MCQs + 1-3 coding problems | (most candidates are removed here) vTechnical round(s) ---- core Java, OOP, DSA, SQL, project | vManagerial round ---- ownership, teamwork, scenarios | vHR round ---- communication, location, joining | vOffer letterElimination first (online test), selection later (interviews).
What this code does
- The order is common, not fixed: some companies merge technical and managerial rounds, and some add a group discussion.
- The online test is the widest filter, so practise speed and basics for it, and depth for the interviews.
Early rounds are about elimination: removing many candidates quickly and cheaply. Later rounds are about selection: choosing the best few. So the online test checks speed and basics, while the interviews check depth and how you think. Some companies merge rounds, skip the managerial round or add a group discussion, so read the company's own note before the drive.
Before any drive, find out:
- the round list and timings from the placement cell's note
- whether the online test has negative marking or sectional cut-offs
- the role, location, bond and joining details, so HR answers are ready
- your resume line by line, because every round may ask about it
Order of execution
Order a campus drive
Put the stages of a usual campus drive in the order a candidate meets them.
Online test: aptitude, Java MCQs and coding
An online test is a timed computer test, usually 60 to 120 minutes, with sections such as technical MCQs and 1 to 3 coding problems. Some tests add aptitude or verbal sections.
The technical MCQs often ask you to trace a short Java snippet. The coding problems are graded by secret inputs. Here is one of each.
Example 2 · A typical output-prediction question
public class OnlineTestQuestion { public static void main(String[] args) { int x = 5; int y = x++ + ++x; System.out.println(x + " " + y);
String s = "Java"; s.toUpperCase(); System.out.println(s);
System.out.println(10 / 4 + 10 % 4); }}7 12 Java 4
What this code does
x++gives 5 and then makesx6;++xmakesx7 and gives 7. Soyis 5 + 7 = 12 andxends at 7.s.toUpperCase()returns a new string that is thrown away, because String is immutable, sosis stillJava.10 / 4is integer division (2) and10 % 4is 2, so the last line prints 4.
Example 3 · A typical coding problem with hidden test cases
public class SecondHighestMarks { // Returns the second highest distinct mark, or -1 if there is none. static int secondHighest(int[] marks) { int first = Integer.MIN_VALUE; int second = Integer.MIN_VALUE; for (int m : marks) { if (m > first) { second = first; first = m; } else if (m > second && m != first) { second = m; } } return second == Integer.MIN_VALUE ? -1 : second; }
public static void main(String[] args) { System.out.println("Sample: " + secondHighest(new int[] {78, 91, 85, 91, 66})); System.out.println("All equal: " + secondHighest(new int[] {50, 50, 50})); System.out.println("One student: " + secondHighest(new int[] {72})); System.out.println("Negatives: " + secondHighest(new int[] {-4, -9, -1})); }}Sample: 85 All equal: -1 One student: -1 Negatives: -4
What this code does
- The sample
{78, 91, 85, 91, 66}passes even with a careless solution. The hidden tests are the other three lines: all marks equal, one student and negative values. - The check
m != firststops a repeated 91 from becoming the second highest. Returning -1 for "no answer" is what the problem statement would ask for; always read that part of the statement.
Hidden test cases are inputs the judge keeps secret. Your program must handle edge cases such as an empty array or repeated values, not only the sample shown in the question.
Most tests do not let you go back to a submitted section, and some have negative marking, so read the instructions page first. Revise: output prediction rounds (opens in a new tab).
Predict the output
Online-test output rounds
Work each snippet out by hand, then pick what it prints.
Round 1 of 3
Technical round: Java, OOP, DSA and your project
A technical round is a 30 to 60 minute interview, in person or on video, where an engineer asks core Java, OOP, collections, one or two DSA problems, SQL basics and questions about your own project.
The technical round tests what you know and how you explain it. Here is a question that comes up in almost every one.
Example 4 · A technical-round question answered with code
public class EqualsQuestion { public static void main(String[] args) { String a = "upi"; String b = new String("upi");
System.out.println(a == b); System.out.println(a.equals(b)); }}false true
What this code does
- Asked "What is the difference between
==andequals?", a strong candidate answers in one line and then shows this:==compares references,equalscompares content. new String("upi")makes a separate object, soa == bisfalseeven though the text is the same. The Core Java Questions module drills this in detail.
Service companies (large IT firms that build software for clients) mostly check fundamentals: clear definitions, small programs and your project. Product companies (firms that build their own product) usually ask harder DSA, expect the time complexity and dig deeper into one topic. Both want you to explain your own code. Revise: == and equals (opens in a new tab).
Typical focus by role:
- Service fresher: core Java, OOP, simple coding, SQL, project explanation.
- Product SDE: DSA with complexity, problem-solving process, code quality, deeper follow-ups.
- Java backend: core Java plus Spring Boot, REST, SQL and how your project works end to end.
Find the bug
Find the weak line
Select the line that is wrong.
Interviewer: "Tell me about yourself." Which line weakens this answer?
Round 1 of 3Managerial round: ownership, teamwork and scenarios
A managerial round is an interview, often with a senior engineer or project manager, that checks how you work: project ownership, teamwork and judgement in tricky situations.
Managerial questions are about behaviour, not syntax. Here is one scenario, a weak answer and a better one.
Example 5 · A managerial scenario and a good answer outline
Question: "Two days before your project demo, a teammate has notfinished his part. What do you do?"Weak: "I would complain to the faculty."Better: 1. Talk to him first and find out what is blocking him. 2. Split the remaining work; take the part I know best. 3. Cut a small feature if needed so the demo still works. 4. Tell the guide early if the date is at risk.Ownership + teamwork + early communication
What this code does
- The managerial round scores behaviour: the better answer talks to the teammate first, shares the work and protects the deadline.
- Use a real event from your college project if you have one; a true story is easier to tell and to defend in follow-up questions.
Expect questions such as "What exactly did you build in your project?", "Tell me about a time your team disagreed" and "Would you be fine working in a different technology or city?".
Short, honest answers with one real example do well. If you built ShopLite, a bug you fixed or a deadline you met there is a ready story.
What each round eliminates, with a sample timeline
Each round removes candidates for a specific weakness. Below, a made-up drive of 600 applicants shows how the funnel narrows.
Example 6 · One drive as a funnel (sample numbers)
public class PlacementFunnel { public static void main(String[] args) { String[] rounds = {"Online test", "Technical round", "Managerial round", "HR round"}; int[] cleared = {150, 60, 45, 40}; int entered = 600; System.out.println("Applied: " + entered); for (int i = 0; i < rounds.length; i++) { double pct = 100.0 * cleared[i] / entered; System.out.printf("%-17s %3d of %3d cleared (%.1f%%)%n", rounds[i], cleared[i], entered, pct); entered = cleared[i]; } }}Applied: 600 Online test 150 of 600 cleared (25.0%) Technical round 60 of 150 cleared (40.0%) Managerial round 45 of 60 cleared (75.0%) HR round 40 of 45 cleared (88.9%)
What this code does
- These are made-up numbers for one drive, not data from a real company. The pattern is typical: the online test removes the most people.
- The percentage of people who clear each round goes up as the rounds go on, so the online test is where most preparation pays off first.
Know the weakness each round targets, then fix it before that round:
- Online test: slow problem solving, weak basics, code that fails hidden test cases.
- Technical round: memorised answers without understanding, unclear explanations, a project you cannot explain.
- Managerial round: no ownership, poor teamwork examples, unrealistic expectations.
- HR round: unclear communication, mismatch with location, bond or joining date.
Next step
Check your understanding
12 quick questions