There is no hard and fast rule that can determine an acid/base solely from the formula.
Some can be derived from knowing the electronegativities and bonding behaviour of the elements concerned; some can be determined from knowing the electronic configurations of the elements; some can be told simply from memory i.e. if you know it's an acid/base then it's an acid/base.
Some cannot be derived at all from the formula; amphoteric substances for example, will be either basic or acidic depending on the conditions, and some substances will only act in certain ways in certain conditions too.
Octane is neither an acid nor a base; it is a hydrocarbon with the chemical formula C8H18, primarily used as a fuel. It is classified as an alkane, which means it is non-polar and does not participate in acid-base reactions. In general, octane is neutral and does not exhibit acidic or basic properties in aqueous solutions.
H2SO3 is the chemical formula of the sulfurous acid.
HClO4 is an acid. Hint: if "H" is at the beginning of a chemical formula, the compound is probably an acid.
RbOH is a strong base. It is the chemical formula for rubidium hydroxide, which dissociates completely in water to release hydroxide ions.
Diesel is neither acid nor base it is a neutral mixture of several hydrocarbons.
H2NO3 is not a valid chemical formula. Nitric acid, which has the formula HNO3, is an acid.
NONE of them. CH3OH is an organic alcohol ( Methanol). However, in suitable circumstances it will react with an acid to form as ester.
C3H8O3 is neither a salt, acid, nor base. It is the chemical formula for glycerol, which is a colorless, odorless, viscous liquid used in various industries, including food, pharmaceuticals, and cosmetics.
If you meant HCl, Hydrochloric Acid, it is a strong acid and not a base. A way to tell if it is an acid is that it has an H+ in the chemical formula. Most of the time, if it is a base it has an OH- attached to the chemical formula, but this is not necessarily true for all bases.
When you add a base to an acid, they undergo a neutralization reaction to form water and a salt. The general chemical formula for this reaction is: acid + base → salt + water
CoCO3 (Cobalt II carbonate) would be a weak base.
Silver carbonate is a CHEMICAL SALT. Hence it is neither an acid nor a base.
Cul2 is neither an acid nor a base. It is a chemical compound called copper(I) iodide, which is a solid with low solubility in water.
The amount of base depends on the chemical formula of the acid.
H2SO3 is the chemical formula of the sulfurous acid.
Arsenic is a chemical element.
Salts are neither acidic or alkaline; they are neutral. Salts are a product of a chemical reaction between an acid and a base.