My Blog.

COMP 256 MOC

[!links] _Home MOC

References

LaTeX ReferenceLaTeX Reference\[!links\] Parent: COMP 256 MOC Set Symbols |Category|Symbol|Source| |--------|------|------| |Set Membership|$x \in A$|x \in A| |Subset|$B \subset C$|B \subset C| |Subset Equal To|$B \subseteq C$|B \subseteq C| |Proper Subset|$B \subsetneq C$|B \subsetneq C| ||$B \subsetneqq C$|B \subsetneqq C| |Union|$A \cup B$|A \cup B| |Intersection|$A \cap B$|A \cap B| |Complement|$A^c$|A^c| ||$\complement(A)$|\complement(A)| |Empty Set|$\emptyset$|\emptyset| |Cardinality|$\mid A \mid$|\mid A \mid;| |Log

Class Notes

cn256_IntegersAndDivision_2026-03-24cn256_IntegersAndDivision_2026-03-24\[!links\] Parent: COMP 256 MOC Integers and Division New Notation Divides & Not-Divides Definitions If $a$ and $b$ are integers with $a \neq 0$, we say that $a$ divides $b$ if there is an integer $c$ such that $b = ac$. When $a$ divides $b$ we say that $a$ is a "factor of" $b$ and that $b$ is a "multiple of" $a$. Divides Operator $$3 | 12$$ * To specify when an integer evenly divides another integer * Read a "3 divides 12" Not-divides operator $$3 \nmid 12$$ * To specify when an integ

Midterm

COMP 256 Midterm StudyguideCOMP 256 Midterm Studyguide\[!links\] Parent: COMP 256 MOC Info * Thursday, March 26th * Held on canvas Topics * Sets * Sequences (sums/loops) * Proofs * Counting Previous Quiz Questions Quiz 1 Question 1 $$\text{If } |A| = 4, \text {what is } |P(P(A))|$$ * $2^{16}$ * $16$ * $32$ * $2^4$ \[!Answer\]- $2^{16}$ Explanation: The number of elements in a power set is always $2^{|S|}$. $|P(A)| = 2^{4} \implies |P(P(A))| = 2^{2^4} = 2^{16}$ Question 2 $$\text{Which statements are always true for set} A? \text{ (sel