solutions for constants, control statements, methods, and regular expressions