swift icon indicating copy to clipboard operation
swift copied to clipboard

[v3] Implement new Concept Exercise: bit-manipulation

Open wneumann opened this issue 4 years ago • 0 comments

This issue describes how to implement the bit manipulation concept exercise for the Swift track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read the following documents:

  • The features of v3.
  • Rationale for v3.
  • What are concept exercises and how are they structured?

Please also watch the following video:

Goal

This concept exercise should convey a basic understanding of how to perform bit-manipulation in Swift.

Things to teach

  • Bitwise AND
  • Bitwise OR
  • Bitwise NOT
  • Bitwise XOR
  • Bitwise Left and right shifts

Things not to teach

  • Operations that can be built out of bitwise operations

Concepts

  • bit-manipulation

Prerequisites

  • basics
  • numbers

Resources to refer to

Hints

After

Representer

TBD

Analyzer

TBD

Implementing

See the Swift track implementation guide for guidance.

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

wneumann avatar Jun 18 '20 00:06 wneumann