Skip to main content
Engineering LibreTexts

4.3 Application: Programming with Sets

  • Page ID
    9681
  • On a computer, all pieces of data are represented, ultimately, as strings of zeros and ones. At times, computers need to work with sets. How can sets be represented as strings of zeros and ones? And once we have represented sets on a computer, how do we program with them?

    In this section we go into detail about representing and computing with sets. You won’t be examined on this in Reasoning & Logic. You will find that there is again quite some overlap with your study materials from Computer Organ- isation however, as we discuss different numeric systems.