WorksheetsFunctions
Total questions: 21
Worksheet time: 20mins
Indicate all the diagrams that are functions.
What statements are correct for a function?
A function has only one input
An input can have different output
A function map one input to only one output
All input has an output
Input is an element in Domain and output is an element in Co-domain
Which statement is correct about the diagram.
It is a relation, but not a function because there is a negative number in the domain
It is neither relation nor a function
It is a relation and a function
It is a relation, but not a function because 11 has two outputs
It is a not relation, but a function
Which set of values are a function?
{(9,5),(10,5), (9,-5), (10,-5)}
{(3,4), (4,-3), (7,4), (3, 8)}
{(6,-5), (7, -3),(8, -1), (9, 1)}
{(2, -2), (5, 9), (5, -7), (1, 4)}
{(6,-5), (7, -3), (8, -1), (9, 1), (6,-1)}
Which graphs are functions?
Define functions f and g from R to R by the following
formulas: For every x in R, f(x) = 2x and g(x) = x2+12x3+2x . Which statement is correct?
f(x)=g(x) because the domain and co-domain are euqal
f(x)=g(x) because the domain are not equal
f(x)=g(x) because the the co-domain are not equal
f(x)=g(x) because for every x, f(x) = g(x)
Define a function f : Z+ -> Z+ as follows: For
each positive integer n, f(n) = the sum of all of the positive divisors of n. What is f(15)?
1
3
5
15
24
Define a boolean function f: {0,1} -> {0,1}, f(x,y,z) = (2x-y+z) mod 2. What is f(2,6,1)?
-1
0
1
Undefined
Consider F. Which statements are correct?
F is one-to-one
F is onto
F is not a function
None of the answers
Consider H. Which statement is true?
H is one-to-one
H is onto
H is not a function
None of the answers
Define f : R -> R, f(n) = 4n + 5. Which statements are correct?
f is one-to-one
f is onto
f is not a function
None of the answers
Define f : Z -> Z, f(x) = x2+1 . Which statements are correct?
f is one-to-one
f is onto
f is not a function
None of the answers
Let A = {0, 1} and let S be the set of all strings over A. For all x in S, define f to be from S to N, f(x) = the length of x. Which statements are correct? (N is a natural number set)
f is one-to-one
f is onto
f is not a function
None of the answers
Define f: R -> Z, f(x) = ⌈x⌉ . Which statements are correct? ( ⌈x⌉ is a ceiling of x)
f is one-to-one
f is onto
f is not a function
None of the answers
Which of the following functions has an inverse?
f: R-> R, f(x) = x+2
f: Z-> Z, f(x) = x+2
f: R+-> R+, f(x) = |x|
f: R-> R, f(x) = x2
f: R-> N, f(x) = ⌈x⌉
Define f : R -> R and g : R -> Z by the following
formulas: f(x) = 3x2 and g(x) = ⌊x⌋ ; for every x in R. What is gof(2)?
-1
0
1
2
Define f : R -> R and g : R -> R. Let f(x) = 3x and g(x) = ⌈3x⌉ for every real number x. What is fog (5)?
3
5
6
8
0
Let f(x) = x^5 and g(x)^5 = x^(1/5) for each real number x. Find f o g (5)
0
1
5
10
Define f: R X R -> R X R as follows: f(x, y) = (x+1, 2-y) for every (x, y) in R X R. Is H one-to-one and/or onto?
neither
one-to-one but not onto
not one-to-one but onto
both one-to-one and onto
The Hamming distance function. Let Sn be the set of all strings of 0’s and 1’s of length n. Define a function H : Sn X Sn -> N (natural number set) as follows: For each pair of strings (s,t) in Sn X Sn, H(s,t) = the number of positions in which s and t have different values. Find H(00110, 10111).
1
2
3
5
The Hamming distance function. Let Sn be the set of all strings of 0’s and 1’s of length n. Define a function H : Sn X Sn -> N (natural number set) as follows: For each pair of strings (s,t) in Sn X Sn, H(s,t) = the number of positions in which s and t have different values. Determine if H is one-to-one or onto?
Neither
one-to-one but not onto
Not one-to-one, but onto
Both one-to-one and onto
