FirstHack Learn
Log in Sign up free

Mock tests

Timed papers with a real clock, instant scoring, and a breakdown afterwards showing which topics cost you the marks. Retake anything as often as you like.

51 papers · 640 questions · 30 free, 21 with Pro · no negative marking

You can sit any free paper without an account. Signing up is what saves the score, ranks you and pays coins.

Full-length papers

Sit these properly — phone away, no pausing, one go. They are the closest thing here to the real paper.

Quantitative Aptitude 14 papers

Percentages, ratios, time and work, numbers, probability, DI.

Quantitative Aptitude — Percentages, Ratios & Interest

Core number skills every placement test opens with: percentages, ratios, averages, profit and loss, and simple and compound interest.

12 questions 15 min ◆ 25
Start the test

Quantitative Aptitude — Time, Work, Speed & Trains

Rate-based problems that dominate campus tests: time and work, speed-distance-time, pipes and cisterns, and trains crossing poles, platforms and each other.

12 questions 15 min ◆ 25
Start the test

Percentages

Percentage of a number, successive rises and falls, and the classic salary, marks, population and price-consumption sums.

12 questions 15 min ◆ 25
Start the test
Pro

Ratio & Proportion

Splitting sums in a given ratio, combining two ratios, changes in the terms, proportion, and partnership profit sharing.

12 questions 15 min ◆ 25
See what is inside

Profit, Loss & Discount

Cost price, selling price and margin sums, marked price with single and successive discounts, false weights and paired sales.

12 questions 15 min ◆ 25
Start the test
Pro

Simple & Compound Interest

Simple interest, rate and time back-calculations, compound amounts, the CI minus SI shortcut, half-yearly compounding and depreciation.

12 questions 15 min ◆ 25
See what is inside

Averages, Alligation & Mixtures

Averages that shift when someone joins or leaves, corrected entries, weighted averages, alligation ratios and repeated replacement in a mixture.

12 questions 15 min ◆ 25
Start the test
Pro

Time & Work, Pipes & Cisterns

One-day work rates, efficiency ratios, the men-days chain rule, workers leaving midway, wage sharing and filling or emptying pipes.

12 questions 15 min ◆ 25
See what is inside

Time, Speed & Distance

Speed conversions, average speed, late-and-early sums, relative speed, trains crossing poles and platforms, boats in a stream and races.

12 questions 15 min ◆ 25
Start the test
Pro

Number System, HCF & LCM

HCF and LCM including word problems, divisibility rules, remainders of large powers, unit digits, counting factors and digit puzzles.

12 questions 15 min ◆ 25
See what is inside

Permutations & Combinations

Counting with the multiplication rule, arrangements of words with repeated letters, circular seating, and selections including committee conditions.

12 questions 15 min ◆ 25
Start the test
Pro

Probability

Dice and coin outcomes, cards, drawing balls from a bag, the complement rule for at-least questions and independent events.

12 questions 15 min ◆ 25
See what is inside

Mensuration (2D & 3D)

Areas and perimeters of rectangles, squares, triangles and circles, paths around a field, and the surface area and volume of cuboids, cylinders, cones and spheres.

12 questions 15 min ◆ 25
Start the test
Pro

Data Interpretation

Three self-contained data sets - a placement table, a sales bar chart and an expenditure statement - read for totals, percentages, ratios and growth.

12 questions 15 min ◆ 25
See what is inside

Logical Reasoning 9 papers

Series, coding-decoding, blood relations, seating, syllogisms, puzzles.

Logical Reasoning — Series, Coding, Relations & Directions

Pattern-spotting practice covering number and letter series, coding-decoding, blood relations, direction sense, and odd one out.

12 questions 15 min ◆ 25
Start the test
Pro

Number & Letter Series

Spot the rule behind a run of numbers or letters and supply the missing term, the wrong term or the odd one out.

12 questions 15 min ◆ 25
See what is inside

Coding-Decoding

Work out the rule a code uses - letter shifts, reversals, number substitution or an invented language - and apply it to a fresh word.

12 questions 15 min ◆ 25
Start the test
Pro

Blood Relations

Untangle who is whose what - photograph riddles, relation chains, coded relation symbols and in-law links.

12 questions 15 min ◆ 25
See what is inside

Direction Sense & Distance

Track a walker through left and right turns and work out the final direction, the net displacement and the shortest distance back.

12 questions 15 min ◆ 25
Start the test
Pro

Syllogisms

Decide which conclusions must follow from two given statements, taking the statements as true even when they contradict everyday facts.

12 questions 15 min ◆ 25
See what is inside

Seating Arrangement

Fix people into a row or around a table from a handful of clues, then read off neighbours, ends and opposite seats.

12 questions 15 min ◆ 25
Start the test
Pro

Analytical Puzzles

Pin down a floor order, a stack of boxes, a weekly schedule or a person-to-attribute matching from a short list of clues.

12 questions 15 min ◆ 25
See what is inside

Data Sufficiency

Judge whether the given statements are enough to answer the question - without actually needing to finish the calculation.

12 questions 15 min ◆ 25
Start the test

Verbal Ability 7 papers

Grammar, sentence correction, synonyms, para jumbles, comprehension.

Programming 10 papers

Output questions in C, C++, Python and Java — the ones interviewers ask.

C Programming — Predict the Output

Short C programs where you trace pointers, arrays, strings, scope and integer arithmetic to work out exactly what gets printed.

12 questions 15 min ◆ 25
Start the test

Python Basics — Predict the Output

Small Python snippets covering mutability, slicing, dictionaries, comprehensions and the gotchas that trip up beginners in interviews.

12 questions 15 min ◆ 25
Start the test

C — Operators, Precedence & Type Conversion

Predict the output of small C programs that hinge on integer arithmetic, type conversion, precedence and printf behaviour.

12 questions 15 min ◆ 25
Start the test
Pro

C — Pointers, Arrays & Strings

Trace pointer arithmetic, array decay and standard string functions in short C programs.

12 questions 15 min ◆ 25
See what is inside

C — Functions, Scope, Storage Classes & Recursion

Trace static variables, block scope, pass-by-value and recursive call patterns in C.

12 questions 15 min ◆ 25
Start the test
Pro

C++ — References, Overloading & STL Basics

Predict the output of C++ programs using references, default arguments, overloading, vector, map, set and sort.

12 questions 15 min ◆ 25
See what is inside

Python — Lists, Dicts, Sets, Tuples & Slicing

Predict the output of Python snippets built on slicing, aliasing, mutability and the built-in containers.

12 questions 15 min ◆ 25
Start the test
Pro

Python — Functions, Comprehensions & Closures

Predict the output of Python functions involving default arguments, *args/**kwargs, scope, closures and common gotchas.

12 questions 15 min ◆ 25
See what is inside

Java — Primitives, Strings, Arrays & Static

Predict the output of small Java programs covering primitive conversions, String identity, array defaults and static members.

12 questions 15 min ◆ 25
Start the test
Pro

Recursion & Iteration Tracing

Hand-trace recursive and iterative routines in C and Python and predict exactly what they print.

12 questions 18 min ◆ 25
See what is inside

Computer Science Core 10 papers

Complexity, data structures, sorting, DBMS, OS and networks.

Data Structures & Algorithms — Core Concepts

Complexity, sorting properties and the behaviour of stacks, queues, linked lists, trees and hash tables — the theory questions that open most placement tests.

12 questions 12 min ◆ 25
Start the test

OOP & DBMS — Interview Fundamentals

The object-oriented ideas and database basics that come up in almost every campus interview: inheritance, polymorphism, normalisation, keys, joins and ACID.

12 questions 12 min ◆ 25
Start the test

Time & Space Complexity Analysis

Work out the exact asymptotic time and space cost of loops, recurrences and standard operations.

12 questions 15 min ◆ 25
Start the test
Pro

Arrays & Strings — Algorithms and Complexities

Standard array and string techniques - two pointers, prefix sums, Kadane, rotation - and what each one actually costs.

12 questions 15 min ◆ 25
See what is inside

Linked Lists, Stacks & Queues

Costs of linked-list operations and hand-traces of stack and queue behaviour, including postfix evaluation.

12 questions 15 min ◆ 25
Start the test
Pro

Trees, BST, Traversals & Heaps

Trace binary tree traversals, reason about BST properties and heap operations, and count nodes.

12 questions 15 min ◆ 25
See what is inside

Graphs — BFS, DFS & Shortest Paths

Trace breadth-first and depth-first search, run Dijkstra by hand, and reason about graph representations.

12 questions 15 min ◆ 25
Start the test
Pro

Sorting & Searching Properties

Hand-trace sorting passes and pin down stability, in-place behaviour and best/average/worst-case costs.

12 questions 15 min ◆ 25
See what is inside

DBMS — SQL Semantics, Joins, Keys & Normalisation

Evaluate SQL against small given tables (including NULL traps) and answer on keys, normal forms and ACID.

12 questions 18 min ◆ 25
Start the test
Pro

Operating Systems & Computer Networks

Scheduling calculations, memory management and deadlock, plus the OSI/TCP-IP model and core protocols.

12 questions 18 min ◆ 25
See what is inside

How to use these

A drill is about a dozen questions on one topic — good for a spare fifteen minutes between classes. A full paper is forty questions in an hour and should be sat in one go, with the phone somewhere else.

There is no negative marking here, so never leave a question blank. A guess on a four-option question is worth a quarter of a mark on average; a blank is worth zero.

The score is the least useful part of the result. The topic breakdown underneath it is the part that tells you what to revise tonight.