Introduction to conditions

Objectives

  • Get a practical overview of conditions–what they are, what they do, where to use them
  • Learn the basics of condition syntax
  • Learn conditions for single-select categorical questions–the most common use case
  • Learn where to find more for conditions involving other question (data) types
  • Learn about variables

Slides

Assignment

Complete the assignment here.

This will provide an opportunity to:

  • Implement conditions on the housing module
  • Explore conditions for other question (data) types

Resources

  • C# data types for SuSo questions. Often, it’s useful to understand how SuSo stores/represents answers to its questions. With this knowledge, users can identify C# resources for accomplishing something (e.g., C# documentation, StackOverflow articles, etc.).
  • Conditions public app. Even though it’s already part of the assignment above, it’s truly worth reviewing to develop familiarity with the conditions for a broader set of question (data) typess.