Skip to content
GATEiit

GATE CSE 2026 Session 2 Q64: Discontinuities of a function of the second decimal digit

Question

Consider a function f:(0,1)→{0,1}f: (0,1) \rightarrow \{0, 1\} defined as follows.

For a real number r∈(0,1)r \in (0,1), f(r)=1f(r) = 1 if the second digit after the decimal point in rr is one of the four digits 2, 3, 6 and 7. Otherwise, f(r)f(r) is equal to 0.

The number of points in (0,1)(0,1) at which ff is discontinuous is ___________. (answer in integer)

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 40 (official GATE 2026 final answer key)

Concept used: A step function is discontinuous only where its value actually jumps.

First step: ff is constant on each interval [k/100,(k+1)/100)[k/100, (k+1)/100); check at which points k/100k/100 the second digit moves between the sets {2,3,6,7}\{2,3,6,7\} and the rest.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2026 Session 2 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key