Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Control Structures in Swift

via CodeSignal

Overview

Master the art of decision-making in Swift programming by harnessing the power of control structures. This course focuses on making logical decisions using if, else, and switch statements, and will show you how to control the flow of your space mission simulations effectively.

Syllabus

  • Lesson 1: Making Decisions with If Statements
    • Habitability Check with If Statements
    • Changing Planets in Habitability Check
    • Fix the Habitability Check
    • Breathable Atmosphere Check
    • Check Planet Atmosphere
  • Lesson 2: Using Switch Cases to Handle Multiple Conditions
    • Planet Type with Switch Statements
    • Enhance Planet Type Handling
    • Fix Spacecraft Type Code
    • Adding More Planet Types
    • Spacecraft Type Handlers
  • Lesson 3: Nested Conditions - Managing Complex Logic
    • Nested Conditions in Action
    • Change Mission Planning Conditions
    • Fix Nested Conditions Bug
    • Fill in Mission Planning Code
    • Nested Conditions Mission Planning
  • Lesson 4: Using Conditional Logic with Arrays
    • Check Supplies with Conditional Logic
    • Modify Array Conditions for Supplies
    • Fix Array Supply Check Code
    • Checking Mission Critical Supplies
    • Verify Astronaut Gear Readiness
  • Lesson 5: Advanced Decision Making: More Examples
    • Advanced Conditional Checking in Swift
    • Changing Speed in Conditional Logic
    • Fix the Conditional Logic
    • Advanced Conditional Logic Practices
    • Advanced Conditional Logic in Swift

Reviews

Start your review of Control Structures in Swift

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.