CSC165H1 Study Guide - Comprehensive Final Exam Guide - First-Order Logic, Natural Number, Integer
![CSC165H1 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2138340-class-notes-ca-utsg-csc-165h1-lecture2.jpg)
3
CSC165H1 Full Course Notes
Verified Note
3 documents
Document Summary
Sets: de(cid:879)ne the universe of things being studied functions: to express relationships between sets. A set is a collection of distinct objects that we call the elements of the set. How to describe a set: list elements in set between brace brackets e. g. set of all (cid:879)rst-year csc courses f = {csc104, csc108, csc120, csc121, csc148, csc165} g = {(leafs, 91), blue, {afternoon, evening}} e. g. no. of elements in set |f| = 6 |g| = 3. Empty set: e. g. the set consisting 0 elements. 0 is a nature number in computer science. Real numbers e. g. the set of all (cid:879)nite string over 0, 1. {, -2, -1, 0, 1, 2, } positive integers. } the set of all: give name to arbitrary element such that condition for to be in e. g. set. Set of rational numbers set all natural numbers between 1 and 6 inclusive. Set of all rational numbers e. g. q ={ and and.