GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeLogical reasoning · Patterns and Codes

Mathematical Operations

Decode disguised arithmetic signs — substituted symbols, interchanged operators, blanks and defined operations — and evaluate each expression with correct BODMAS.

5 min read 45 questions
Practice questions
P = ×8 P 3 = 24

On this page

1/9
  1. 011. What mathematical operations tests
  2. 022. BODMAS is the whole game
  3. 033. Symbol substitution
  4. 044. Interchanged signs
  5. 055. Balancing and filling blanks
  6. 066. Defined operations
  7. 077. Common traps
  8. 088. Revision sheet
  9. 09Practice
Back to top

1. What mathematical operations tests

In a mathematical-operations question the four signs +, −, ×, ÷ (and sometimes =, >, <) are disguised. They may be hidden behind letters or symbols, swapped with one another, or left as blanks for you to fill. Your job is to translate the disguised expression back into ordinary arithmetic and work out its value.

Almost every mistake here comes from one of two slips: reading the key the wrong way round, or doing the arithmetic in the wrong order. The maths itself is simple; the discipline is not.

  • Symbol substitution: a key such as "P means +, Q means −" replaces each sign with a letter.
  • Interchanged signs: "+ means ×, × means +" swaps the meaning of the real signs.
  • Balancing: blanks or stars must be filled with signs so an equation comes out right.
  • Which is correct: four equations are given under a new scheme; exactly one is true.
  • Defined operations: a made-up operator like a @ b = 2a + b is spelt out and used.

2. BODMAS is the whole game

After you have translated the signs, evaluate in the standard order: Brackets, Orders (powers), Division and Multiplication (left to right), then Addition and Subtraction (left to right). The shortened name BODMAS reminds you that × and ÷ are settled before + and −.

Worked example. Take 12 × 3 − 4 + 2. Multiplication and division come first: 12 × 3 − 4 + 2 = 36 − 4 + 2 = 34. Doing the + and − before the × here would give the wrong answer, which is exactly the trap most options are built on.

12×3−4+2
Settle × and ÷ first, then move left to right through + and −.

Division and multiplication share a rank: read them left to right. 12 ÷ 3 × 2 is (12 ÷ 3) × 2 = 8, not 12 ÷ 6 = 2.

3. Symbol substitution

A key gives a letter or symbol for each operation. Write the real sign above each letter, copy the numbers down unchanged, and then evaluate with BODMAS.

SymbolPQRSMeans+−×÷
A sample key: P = +, Q = −, R = ×, S = ÷.

Worked example. Using that key, 12 R 3 Q 4 P 2 translates to 12 × 3 − 4 + 2. Then 12 × 3 − 4 + 2 = 36 − 4 + 2 = 34. The value is 34.

Translate first and write it down. Trying to evaluate straight from the letters is how a × gets treated as a +.

4. Interchanged signs

Here the real signs stay on the page but their meanings are swapped, for example "+ means ×, × means +". Replace each written sign by what it means, and only then apply BODMAS to the new signs.

Written+−×÷Means−+÷×
An example scheme: + ↔ − and × ↔ ÷ are swapped.

Worked example. Under that scheme, 16 − 4 × 2 is read as 16 + 4 ÷ 2. The precedence follows the *meaning*, so the division is done first: 16 + 4 ÷ 2 = 16 + 2 = 18. The value is 18.

The order of operations is decided by what each sign now means, not by the sign printed on the page.

5. Balancing and filling blanks

Some questions leave the signs out and give the answer, asking which signs fit. With only four signs and a handful of gaps, the fastest method is to try them. Start with the sign that lands you near the target.

Worked example. Make 4 _ 5 _ 2 = 10 true. Trying × then ÷: 4 × 5 ÷ 2 = 10. Running through all sixteen pairs confirms this is the only pair that works.

  • A number much bigger than the parts points to ×; much smaller points to ÷.
  • Respect BODMAS while testing: 16 × 4 ÷ 2 is 32, not 16 × 2.
  • When two blanks are independent, they need not hold the same sign.

6. Defined operations

A question may invent an operator and define it, such as a @ b = (a × b) + a. Treat the definition as a recipe: substitute the two numbers for a and b and compute. For a chain like (a @ b) @ c, work the bracket first, then feed its result back in as the new "a".

For example, with a @ b = (a × b) + a: 5 @ 2 = (5 × 2) + 5 = 15. Then (5 @ 2) @ 3 = 15 @ 3 = (15 × 3) + 15 = 60. Order matters: a and b are not interchangeable unless the formula is symmetric.

Copy the definition out with the real numbers in place before simplifying. Most wrong answers swap a and b.

7. Common traps

  • Ignoring BODMAS and reading left to right. This is the single most common wrong option.
  • Reading the key backwards: "P means +" is P → +, not + → P.
  • Precedence under interchange: once + means ×, that step is now a multiplication and jumps the queue.
  • Swapping a and b in a defined operation when the formula is not symmetric.
  • Forgetting one occurrence when numbers or signs are interchanged everywhere they appear.

When an option equals the strict left-to-right value, be suspicious: it is almost certainly the BODMAS trap.

8. Revision sheet

TypeWhat to do
Symbol substitutiontranslate each letter to its sign, then BODMAS
Interchanged signsreplace sign by meaning; precedence follows the meaning
Fill the blanktry +, −, ×, ÷; keep the one that fits
Balance two blankstest sign pairs; they may differ
Which is correctevaluate each equation under the scheme; one holds
Defined operationsubstitute into the recipe; mind the order of a and b
Interchange numbers and signsswap every occurrence, then BODMAS

Order of operations: × and ÷ (left to right) before + and − (left to right). Translate first, compute second.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousClassification (Odd One Out)NextBlood Relations
Log inStart free