Better Introduction to Swift assignments

Join a growing community of educators who are transforming the way they teach Introduction to Swift. Save time and improve learning outcomes by incorporating our full set of interactive lessons and mastery-based quizzes created by Meta software engineer Tyler Neveldine.
In Swift, what is a Bool variable and what values can it hold?
Instructor solution
Learning resources
Instructor answered
A Bool variable in Swift is a data type that can hold one of two values: true or false. It is often used in conditional statements and loops to control the flow of a program.
You answered
true and false

Trusted by educators at

Class Outline

  • 14
  • 67
  • 11
    mastery quizzes
  • Preface
  • Fundamentals
  • Operators
  • Strings
  • Collections
  • Control Flow
  • Functions
  • Closures
  • Enumerations
  • Structures & Classes
  • Properties
  • Initialization
  • Methods
  • Conclusion

What's wrong with punitive worksheets?

Punitive worksheets punish learners for missing questions, lack immediate feedback, and promote massed practice. It's time for better assignments.

Our assignments were designed to optimize learning.

Mastery quizzes to turn assessments into learning experiences.

Our mastery quizzes provide immediate corrective feedback and re-quiz opportunities for learners to reduce stress, incentivize effort, and encourage learning.
What is the value of y in the following code? let y = 10 % 3
  • A.
  • B.
  • C.
  • D.

Lessons to organize your teaching resources.

Our lessons allow you to combine your teaching resources with questions in an easy-to-digest format to build engaging learning experiences.
Compound Assignment Operator

Beloved by educators

Emily Carroll
“Every single week, students would spontaneously, unsolicited post in my discord channel ‘This OpenClass thing is great’, ‘I love this OpenClass thing’, ‘Can we have more OpenClass assignments?’ and if I haven’t prepared one for a week, there would be messages popping up after lecture, ‘Is there OpenClass this week?’, ‘When is it going to be available?’. My students had a great reaction to it.”
Emily Carroll
Assistant Professor - University of Arizona
Nick Suwyn
“Looking back two years ago when we started working with OpenClass, I couldn’t be happier that we went with OpenClass. The improvements that it led to our program and our student success rate is incredible.”
Nick Suwyn
CEO - Promineo Tech
Gus Hahn-Powell
“As educators, comprehensive review is something we all want to provide, but it can be difficult to deliver. OpenClass makes it easy — far easier than any other tool I’ve used. Feedback from undergraduates and graduates was overwhelmingly positive. Unsolicited, students repeatedly reached out to let us know how useful they found the review and mastery activities.”
Gus Hahn-Powell
Assistant Professor - University of Arizona
Dianne Patterson
“I was very impressed by OpenClass. I was impressed by the aesthetic of the interface—it was very beautiful to look at. I was impressed with the statistics that I got out of it afterwards—I could quickly look and see who'd finished, when they'd finished, and drill down and see details of what students had done—that was fantastic. I think it's a fantastic tool, and I think it fills in a niche that nothing else we have fills in.”
Dianne Patterson
Research Scientist - University of Arizona
Diheng Zhang
“The interface is attractive, it's user-friendly, and the instruction is very, very clear. I basically just spent like half an hour or an hour trying to learn how to build a class and I was able to do it. One very interesting thing I noticed is that not too many students noticed that they leave D2L, so I think that speaks to how well OpenClass is integrated to the D2L system.”
Diheng Zhang
Graduate Researcher - University of Arizona

All with powerful metrics to help you better understand your class.

Our detailed metrics outline what your learners do and don't understand, allowing you to make data-driven decisions to improve your class.

Integrating with the tools you already use

We're happy to host your entire class. But if you already have a preferred LMS, we can plug right into it.

Ready to incorporate our Introduction to Swift assignments into your class?