Yes and no, but you are mostly right.
An assault gun I think of like an ancient catapault, a stronger weapon. A tank, more like calvary, strong and mobile. Both have their places on a battlefield, but a tank wins outright in modern warfare, it is more mobile.