You can adjust the weight and grade preferences at a class level. When adjusted at the class level, the settings don't affect other classes attached to the same subject. Class settings override subject settings. You can also add assignment types and assign weights to the assignment types. See also Add, Edit, or Delete Assignment Types for a Class.
If you make changes to grade weights and preferences, the changes will affect grades already posted as well as new ones entered.