iClicker Quiz Questions Flashcards
1
Q
Is f(x) = 1/x a valid function from R to R?
A
F
2
Q
Is Z+ –> Z+ defined by f(n) = n+1 injective?
A
T
3
Q
Is Z+ –> Z+ defined by f(n) = n+1 surjective?
A
F
4
Q
Can total # of ops be represented by f(n) = n (ceiling)? for(int i=0; i
A
False
5
Q
Can total # of iterations in for loop be represented by following sum Sum 1 from i=0 to n/2 for even positive numbers?
A
T