Boolean expressions

Which of the following is/are true?
  1. Boolean expressions can be used in assignment statements as well as If...Then statements
  2. If used in an assignment statement, the Boolean expression would be on the left hand side of the equal sign
  3. If a Boolean expression appears in an assignment statement, it must be assigned to a Boolean variable
  4. If a Boolean variable appears in an assignment statement, it must be assigned to a Boolean expression
  5. You can use Boolean constants in Boolean expressions
  6. You can use Numeric constants in Boolean expressions
  7. You can use numeric expressions in Boolean expressions
Explain your answers.

Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.