The string 101 could mean five, one hundred and one, or two hundred and fifty-seven, depending on the base. Base notation removes the doubt.
Subscripts, used in this course and most textbooks: write the base, in decimal, after the number. 101₂ = 5, 101₁₀ = 101, 101₁₆ = 257.
Prefixes, used in programming languages:
0xfor hex:0x2F= 470bfor binary:0b1011= 110ofor octal in some languages:0o17= 15
Other markers you may see: a trailing h for hex in some assembly languages (2Fh), and # before web colors (#FF8800), which are hex.
When the base is obvious from context, such as a bit pattern in a two's complement question, the subscript is often left off. When in doubt, check before you convert. 0x10 is sixteen, not ten.