كود:
1- P ^ q is true whenboth are true
2- suppose f(0)= 3, f(n+1)= 2f(n)+ 3 , so f(2)=21
3- S={x in Z+ | x is odd and x <10} , so S={1,3,5,7,9}
4-the power set p({0,1,2}) = {phi, {0},{1},{2},{0,1},
{0,2},{1,2},{0,1,2}}
5- A= {a,b}, B={1,2} , A×B= {(a,1),(a,2),(b,1),(b,2)}
6- A ={1,3,5} , B= {1,2,3} A U B = {1,2,3,5}
7- Let U={1,2,3,4,5,6,7,8,9,10} the bit string that represents
{1,3,5,7,9}
1010101010
8- gcd (10,21) = 1
9- cardinality {15,1,4,15}
انا اخترت 3 .. حسبت ال 15 مرة وحدة
10- the negation of
A(x^2>=x) is
انا اخترت
E(x^2<x)