All Exams Test series for 1 year @ ₹349 only
Question

In a certain code language, ‘+’ represents ‘×’, ‘÷’ represents ‘+’, ‘-’ represents ‘÷’ and ‘×’ represents ‘-’. Find out the answer to the following question.

12 ÷ 6 – 2 + 10 × 5 = ?

This question was previously asked in
RRB ALP 2018 CBT 2 Fitter Question Paper (21-Jan-2019) (Shift 3)
The correct answer is

37

Solving Coding Language Expression with Symbol Substitution

This question requires us to first understand the given code language where standard mathematical operators are replaced by other operators. After substituting the operators based on the provided rules, we need to evaluate the resulting expression using the standard order of operations (BODMAS/PEMDAS).

Understanding the Coding Language Rules

The rules for operator substitution are given as follows:

  • ‘+’ represents ‘×’
  • ‘÷’ represents ‘+’
  • ‘-’ represents ‘÷’
  • ‘×’ represents ‘-’

Evaluating the Expression

The given expression is: 12 \(\div\) 6 – 2 + 10 \(\times\) 5 = ?

Now, we substitute the operators in the expression according to the coding language rules:

  • Replace ‘÷’ with ‘+’
  • Replace ‘–’ with ‘÷’
  • Replace ‘+’ with ‘×’
  • Replace ‘×’ with ‘–’

Applying these substitutions to the expression 12 \(\div\) 6 – 2 + 10 \(\times\) 5, we get:

12 + 6 \(\div\) 2 \(\times\) 10 – 5

Step-by-Step Calculation using BODMAS/PEMDAS

Now we evaluate the new expression 12 + 6 \(\div\) 2 \(\times\) 10 – 5 using the order of operations (BODMAS/PEMDAS):

Brackets
Orders (powers, square roots, etc.)
Division and Multiplication (from left to right)
Addition and Subtraction (from left to right)

Step 1: Division

Perform the division operation first.

12 + 6 \(\div\) 2 \(\times\) 10 – 5

Calculate 6 \(\div\) 2:

\(6 \div 2 = 3\)

The expression becomes:

12 + 3 \(\times\) 10 – 5

Step 2: Multiplication

Next, perform the multiplication operation.

12 + 3 \(\times\) 10 – 5

Calculate 3 \(\times\) 10:

\(3 \times 10 = 30\)

The expression becomes:

12 + 30 – 5

Step 3: Addition and Subtraction

Finally, perform addition and subtraction from left to right.

12 + 30 – 5

First, perform the addition:

\(12 + 30 = 42\)

The expression becomes:

42 – 5

Now, perform the subtraction:

\(42 – 5 = 37\)

The final answer is 37.

Revision Table: Operator Substitution

Original Operator Replaced By
+ \(\times\)
\(\div\) +
- \(\div\)
\(\times\) -

Additional Information: Order of Operations (BODMAS/PEMDAS)

The order of operations is a set of rules used to clarify which operations come first in an expression with multiple operations. This ensures a unique result for any given expression.

The acronyms BODMAS and PEMDAS represent the same order:

  • BODMAS: Brackets, Orders (powers, roots), Division and Multiplication, Addition and Subtraction.
  • PEMDAS: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction.

It is important to remember that Division and Multiplication have equal priority and should be performed from left to right. Similarly, Addition and Subtraction have equal priority and should also be performed from left to right.

Was this answer helpful?

Similar Questions

  1. If + means -, - means × , × means ÷ and ÷ means + then what will be the value of 16 + 4 – 3 ÷ 8 × 6?

  2. If the second half of the given series is reversed, then how many letters, from left to right, is preceded by a letter and succeeded by a number?
    9$YX8N6OLBUJZT(a)1QFD%

  3. In the following triad, each group of letters is related to the subsequent one following a certain logic. Select from the given options, the one which follows the same logic. GRAND-GRNAD-DNARG
  4. If ‘+’ represents ‘×’, ‘÷’ represents ‘+’, ‘-’ represents ‘÷’ and ‘×’ represents ‘-’, then find the value of the following expression.

    8 + 4 ÷ 15 – 3 × 1
  5. If, ‘+’ represents ‘×’, ‘-‘ represents ‘+’, ‘×’ represents ‘÷’ and ‘÷’ represents ‘-‘ then find the value of the following expression.

    9 × 3 + 6 ÷ 2 = ?
  6. Consider that 5 # 11 = 4; 13 # 7 = 5; 10 # 22 = 8. Then what is the value of 10 # 2 = ?

  7. In a certain code language, ‘+’ represents ‘×’, ‘-‘ represents ‘+’, ‘×’ represents ‘÷’ and ‘÷’ represents ‘-‘, calculate the answer of the following equation.

    8 + 3 × 4 - 2 = ?
  8. Which two signs should be interchanged to correct the given equation?

    15 ÷ 3 + 2 × 10 - 6 = 14
  9. Using the following sequence, determine which of the given options does not belong to the group.

    R B 7 5 E % M 3 W 4 8 Q 9 # B 2 A $ M S
  10. If + means ÷, ÷ means -, - means ×, × means +, then 10 + 5 ÷ 7 - 4 × 30 = ?


Important Questions from Logical Puzzle

  1. Seven persons P, Q, R, S, T, U and V like different watches namely W1, W2, W3, W4, W5, W6 and W7 (not necessarily in the same order). P and R do not like odd numbered watch. T likes W5. U does not like W2 or W3 or W6 or W7. P likes prime numbered watch. Q likes W4. S likes W2 or W7. Which of the following statement(s) is/are correct ?

    I. S likes W7.

    II. R likes W2.

    III. U likes W1.

    IV. V likes W3.

  2. If ‘+’ means ‘×’, ‘×’ means ‘÷’, ‘÷’ means ‘–’ and ‘–’ means ‘+’, then

    16 + 18 × 3 ÷ 6 = ?

  3. In a certain code language, ‘Today is last match’ is written as ‘Sa Te Mo Pt’, ‘Last king like your team’ is written as ‘De Ra Mo Lo Zs’, ‘Our team won today match’ is written as ‘Te Ra Pt Ae We’. What is the code for ‘Our won is Last’ in that code language?

  4. In a certain code language, ‘LETTER’ is written as ‘ZLZYIO’. What is the code for ‘ACTION’ in that code language?

  5. If A denotes ‘+’, B denotes ‘×’, C denotes ‘-’, and D denotes ‘÷’, then what will come in place of ‘?’ in the following equation?

    34 A 15 B 3 C 11 B 2 A (51 D 17) = ?

Need Expert Advice?
Upcoming Exams
RRB Technician
October 06, 2026
RRB JE
October 27, 2026
RRB ALP
November 03, 2026
Test Series
RRB ALP img
Railways
RRB ALP 2026 Mock Test series
1035 Tests 1 Tests Free
1081 Attempts
4.3(238)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App