mth202 Quiz2 (AutoRecovered)
mth202 Quiz2 (AutoRecovered)
(identity function)
What will be the fourth term of the following sequence ½, 2/3, ¾, ………….? (4/5)
Which of the following is not correct for a ‘sequence’? (A sequence is a relation whose domain is the set
of natural numbers)
A function f:X – Y that is both one to one and onto is called a ………………….. (bijective function)
let f : R R is one to one function then c. f , c = 0 is also one to one function for (c!= 0)
Number of one to one functions form X={a,b} to Y={u,v} are equal to …………….. (2)
If A is defined as the set of English alphabets then the cardinality of A is …………….. (26)
Let A = {1,2,3,4} and B={7} then the constant function from A to B is ………….. (onto)
real valued function is a function that assigns ____ to each member of its domain. (only a real number)
a constant function is surjective if and only if (The co domain consist of single element)
common ration in the sequence “4. 16. 64. 256. …….” Is …….. 12 (1/4)
let f : R R is one to one function then c. f , c = 0 is also one to one function (true)
let X = {1,2,3,4} and a function 'f' defined from X to X by f(1) = 1, f(2) = 1, f(3) = 1, f(4) = 1 then which of
the following is true? (f is a constant function)
let X = {1,2,3,4} and a function 'f' defined on X by f(1) = 1, f(2) = 2, f(3) = 3, f(4) = 4 then ………………… (f is
an identity function)
if f and g are two one-to-one functions, then their composition that is gof is one-to-one (true)
let f(x) =3x and g(x) = x+2 define functions f and g from R to R, the (f.g)(x) is …. (3x2 + 6x)
let f(x) =x2+1 define functions f from R to R and c=2 be any scalar, then c.f(x) is … (2x2 + 2)
One-to-one correspondence means the condition of ………. (both onto and one-One)
Which of the following is not true for an identity function? (the identity function is always a constant
function)
If 0 is the 1st term and -2 be the common difference of an arithmetic series.then the sum of first five
terms of series is ….. (-20)
Let f(2) = 3, g(2) = 3, f(4) = 1 and g(4) = 2 then the value of fog(4) is ………. (3)
Which of the following set is the domain of a sequence? (set of natural numbers)
BC100401707
1. p is True, q is False
2. p is False, q is True
3. p is True, q is True
4. p is False, q is False
2. The disjunction of p and q is written as ________.
1. p ∨ q
2. p ∧ q
3. p XOR q
4. None of the given
3. The logical statement p ∧ q means ________.
1. p OR q
2. p NOT q
3. p AND q
4. p XOR q
4. The disjunction p ∨ q is False when ________.
1. p is False, q is True.
2. p is True, q is False.
3. p is True, q is True.
4. p is False, q is False.
5. If p = It is raining, q = She will go to college
"It is raining and she will not go to college”
will be denoted by
1. p ∧ ∼q
2. p∧q
3. ∼(p ∧ q)
4. ∼p ∧ q
6. The negation of “Today is Friday” is
1. Today is Saturday
2. Today is not Friday
3. Today is Thursday
4. None of the given
7. ( p ∨ ∼p ) is the ________.
1. Contradiction
2. Conjunction
3. Tautology
4. Contingency
8. The converse of the conditional statement p → q is
1. q → p
2. ∼q → ∼p
3. ∼p → ∼q
4. None of the given
9. Let p be True and q be True, then ( ∼p ∧ q ) is ________.
1. t ( where t is tautology. )
2. c ( where c is contradiction. )
3. True
4. False
10. The contrapositive of the conditional statement 'If
it is Sunday, then I go for shopping' is ________.
1. True
2. False
12. Let p → q be a conditional statement, then the
statement q → p is called ________.
1.
Inverse
2.
Converse
3.
Contrapositive
4.
Double conditional
13. If p is false and q is false, then ∼p implies q is
________.
1. True
2. False
14. The converse of the conditional statement 'If I live
in Quetta, then I live in Pakistan' is ________.
1. If I live in Pakistan, then I live in Quetta.
2. If I live in Pakistan, then I do Not live in Quetta.
3. If I do Not live in Quetta, then I do Not live in Pakistan
4. If I do Not live in Quetta, then I live in Pakistan
15. ∼(P → q) is logically equivalent to _________.
1. p ∧ ∼q
2. p ∨ ∼q
3. ∼p ∧ q
4. ∼p ∨ q
16. If p ↔ q is True, then ________.
1. Only p is True.
2. Only q is True.
3. p and q both are True.
4. None of the given.
17. 'p is equivalent to q' means ________.
1. True
2. False
19. If p is false and q is true, then ∼p ↔ q is ________.
1. True
2. False
20. Let p1, p2, p3 be True premises in a given Truth
Table. If the conjunctions of the Conclusion with each of
p1, p2, p3 are True, then the argument is ________.
1. False
2. True
3. Invalid
4. Valid
21. The switches in parallel act just like ________.
1.NOT gate
2.AND gate
3.OR gate
4.XOR gate
22. Let A = {2, 3, 5, 7}, B = {2, 3, 5, 7, 2}, C = Set of
first five prime numbers. Then from the following which
statement is true ?
1.
A=B
2.
A=C
3.
B=C
4.
All the three sets are equal.
23. If A = Set of students of virtual university then A
has been written in the _________.
1. Tabular form
2. Set builder form
3. Descriptive form
4. A is not a set
24. If A and B are any two sets, then A − B = B − A
1. True
2. False
25. x belongs to A or x belongs to B, therefore x
belongs to ________.
1. A intersection B
2. A union B
3. A difference B
4. A symmetric difference B
26. Range of the relation {(0,1), (3,22), (90,34)} is
__________ .
1. {0, 3, 90}
2. {1, 22, 34}
3. {0, 1, 3}
4. {0, 1, 3, 22, 90, 34}
27. Which of the followings is the product set A * B *
C ? where A = {a}, B = {b}, and C = {c, d}.
1.x = 3 and y = 5
2.x = 4 and y = 2
3.x = 6 and y = 12
4.x = 4 and y = 12
29. Let R be the universal relation on a set A then
which one of the following statement about R is true?
1. Reflexive
2. Irreflexive
3. Symmetric
4. Antisymmetric
31. Let R be a relation on a set A. If R is reflexive then
its compliment is ____________.
1.Reflexive
2.Irreflexive
3.Symmetric
4.Antisymmetric
32. R = {(a,1), (b,2), (c,3), (d,4)} then the inverse of
this relation is _______.
1. Reflexive
2. Irreflexive
3. Symmetric
4. Antisymmetric
34. Which relations below are functions?
R1 = {(3,4), (4,5), (6,7), (8,9)}
R2 = {(3,4), (4,5), (6,7), (3,9)}
R3 = {(-3,4), (4,-5), (0,0), (8,9)}
R4 = {(8,11), (34,5), (6,17), (8,19)}
1.
R1 and R3 are functions
2.
R1 and R2 are functions
3.
R2 and R4 are functions
4.
R3 and R2 are functions
35. For the following relation to be a function, x can not
be what values?
R = {(2,4), (x,1), (4,2), (5,6)}
1. x cannot be 2, 4 or 5
2. x cannot be 4, 1 or 6
3. x cannot be 2, 4 or 6
4. x cannot be 1, 2 or 6
36. Let X = {2, 4, 5} and Y= {1, 2, 4} and R be a
relation from X to Y defined by R = {(2,4), (4,1), (a,2)}.
For what value of ‘a‘ the relation R is a function ?
1. 1
2. 2
3. 4
4. 5
37. Let A = {1, 2, 3} and B = {2, 4} then number of
functions from A to B are _________.
1. 6
2. 8
3. 16
4. 64
38. Let A = {1, 2, 3, 4} and B = {7} then the constant
function from A to B is _________ .
1.Onto
2.One to one
3.Both one to one and onto
4.Neither one to one nor onto
39. One-to-One correspondence means the condition of
______.
1. one-One
2. identity
3. onto
4. one-One and onto
40. If a function (g o f)(x):X→Z is defined as (g o f)(x)
= g(f(x)) for all x ∈ X. Then the function ________ is
known as composition of f and g.
1. (f o g)
2. f-1(g(x))
3. (g o f)
4. g-1(f(x))
41. Let g be a function defined by g(x) = x + 1. Then
the composition of (g o g)(x)is ______.
1.
x
2.
x+1
3.
x+2
4.
x2 + 2x + 1
42. The functions 'f' and 'g' are inverse of each other if
and only if their composition gives _______.
1. constant function
2. identity function
3. bijective function
4. injective function
43. The functions f o g and g o f are always equal.
1. TRUE
2. FALSE
44. A set is called finite, if and only if, it is the
________ or there is ________ .
1.
empty set, onto
2.
empty set, one-to-one
3.
one-to-one, onto
4.
empty set, bijective
45. If f and g are two one-to-one functions, then their
composition that is gof is one-to-one.
1. TRUE
2. FALSE
46. Let f(x) = x2 + 1 define functions f from R to R and c
= 2 be any scalar, then c.f(x) is ______.
1. 2
2. x2 + 1
3. 2x2 - 1
4. 2x2 + 2
47. The set Z of all integers is _____.
1. uncountable
2. countable
48. Let f(x) = 3x and g(x) = x + 2 define functions f
and g from R to R, then (f.g)(x) is _____.
1.
2x − 2
2.
3x + 2
3.
4x + 2
4.
3x2 + 6x
49. Real valued function is a function that assigns
_______ to each member of its domain.
1.
negative real number
2.
positive real number
3.
only a real number
4.
any arbitrary real number
50. Let f(x)=3x and g(x) = 3x − 2 define functions f
and g from R to R. Then (f+g)(x) = ________.
1.
−2
2.
6x + 2
3.
6x − 2
4.
6x.x − 2
51. The total number of terms in an arithmetic series 0
+ 5 + 10 + 15 + .... + 50 are ________.
1. 9
2. 10
3. 11
4. Infinite
52. The method of loop invariants is used to prove
__________ of a loop with respect to certain pre and
post-conditions.
1. falseness
2. correctness
1. E(aX)
2. aE(X)
3. aX
1. x cannot be 2, 4 or 5
2. x cannot be 4, 1 or 6
3. x cannot be 2, 4 or 6
4. x cannot be 1, 2 or 6
1. TRUE
2. FALSE
2. +9
3. 0
1. 1
2. 2
3. 4
4. 5
1. Reflexive
2. Irreflexive
3. Symmetric
4. Antisymmetric
1. Reflexive
2. Irreflexive
3. Symmetric
4. Antisymmetric
1. True
2. False
1. p is False, q is True.
2. p is True, q is False.
3. p is True, q is True.
4. p is False, q is False.
1. p ∨ q
2. p ∧ q
3. p XOR q
2. A = C
3. B = C
1. aVar(X) + bVar(Y)
2. (a + b)[Var(X) + Var(Y)]
3. Var(aX) + Var(bY)
1. A intersection B
2. A union B
3. A difference B
4. A symmetric difference B
1. 4
2. 15
3. 25
4. 100
68. How many possible outcomes are there when a fair
coin is tossed four times?
1. 4
2. 8
3. 16
4. 32
1. True
2. False
1. K-Selection
2. K-Sample
3. K-combination
4. K-Permuatation
1. 5/3
2. 5!/3
3. 5!/3!
4. 5/3!
72. If A and B are disjoint finite sets then n(A ∪ B) =
______.
1. n(A) − n(B)
3. n(A) + n(B)
1. x
2. x + 1
3. x + 2
4. x2 + 2x + 1
1. 120
2. 6
3. 12
4. 720
1. p OR q
2. p NOT q
3. p AND q
4. p XOR q
1. Onto
2. One to one
1. {0, 3, 90}
3. {0, 1, 3}
1. True
2. False
1. uncountable
2. countable
1. 2/3
2. 5/12
3. 1/24
4. 1/2
1. -2
2. 0
3. 2
4. Undefined
2. c ( where c is contradiction. )
3. True
4. False
85. There are three bus lines between A and B, and two
bus lines between B and C. Find the number of ways a
person can travel round trip by bus from A to C by way
of B?
1. 5
2. 6
3. 10
4. 36
1. finite set
2. infinite set
3. continuous set
1. n = 2k
2. n = k^2
3. n = square-root of k
4. n = k^3
1. 12
2. 18
3. 30
4. 216
1. 8
2. 15
3. 125
4. 243
1. 6
2. 8
3. 16
4. 64
2. x2 + 1
3. 2x2 - 1
4. 2x2 + 2
1. x = 3 and y = 5
2. x = 4 and y = 2
3. x = 6 and y = 12
4. x = 4 and y = 12
1. E(XY)
2. XE(Y)
3. YE(X)
4. E(x)E(y)
2. proof by contradiction
3. proof by contapositive
1. 5
2. 8
3. 13
4. 40
1. 27
2. 29
3. 20
4. 35
98. Let R be the universal relation on a set A then
which one of the following statement about R is true?
1. R is not symmetric
2. R is not reflexive
3. R is not transitive
1. 9p9
2. 9C9
3. 9! / (2!2!2!)
1. 2x − 2
2. 3x + 2
3. 4x + 2
4. 3x2 + 6x
1. 17 = 5 x 1 + 12
2. 17 = 5 x 3 + 2
3. 17 = 5 x 4 - 3
4. 17 = 5 x 5 - 8
1. Only p is True.
2. Only q is True.
1. p ∧ ∼q
2. p ∧ q
3. ∼(p ∧ q)
4. ∼p ∧ q
1. Contradiction
2. Conjunction
3. Tautology
4. Contingency
1. 120
2. 220
3. 320
4. 420
1. 216
2. 316
3. 126
1. 30
2. 10
3. 1440
4. 240
1. Inverse
2. Converse
3. Contrapositive
4. Double conditional
109. A predicate becomes _________ when its variables
are given specific values.
1. sentence
2. statement
3. algorithm
4. iteration
1. 11
2. 12
3. 13
4. 14
1. one-One
2. identity
3. onto
1. 0
2. 1
3. 2
4. undefined
114. The functions 'f' and 'g' are inverse of each other if
and only if their composition gives _______.
1. constant function
2. identity function
3. bijective function
4. injective function
1. q → p
2. ∼q → ∼p
3. ∼p → ∼q
1. Tabular form
2. Set builder form
3. Descriptive form
4. A is not a set
1. −2
2. 6x + 2
3. 6x − 2
4. 6x.x − 2
1. Today is Saturday
3. Today is Thursday
1. TRUE
2. FALSE
2. {1, 2}, {2, 1}, {1, 3}, {3, 1}, {2, 3}, and {3, 2}
1. p is True, q is False
2. p is False, q is True
3. p is True, q is True
4. p is False, q is False
1. 120
2. 110
3. 220
1. 9
2. 24
3. 288
4. 14
1. right
2. center
3. left to right
4. right to left
2. AND gate
3. OR gate
4. XOR gate
1. p ∧ ∼q
2. p ∨ ∼q
3. ∼p ∧ q
4. ∼p ∨ q
3. one-to-one, onto
1. False
2. True
3. Invalid
4. Valid
132. A non-zero integer d divides an integer n if and only
if there exists an integer k such that _________.
1. n = d / k
2. n = d k
3. n = d + k
4. n = d - k
1. (f o g)
2. f-1(g(x))
3. (g o f)
4. g-1(f(x))
1. Reflexive
2. Irreflexive
3. Symmetric
4. Antisymmetric
1. True
2. False
136. The statement p → q is logically equivalent to ∼q →
∼p
1. True
2. False
1. 9
2. 10
3. 11
4. infinite
1. Chance Variable
2. Constant
1. 6
2. 16
3. 24
4. 46
. Let A = {1, 2, 3, 4} and define a relation R on A by R = {(1, 1), (1, 2), (1, 3), (2, 3)}. Then which one of
the following is a correct statement about R:
a) r is transitive
b) r is REflexive
c) r is both Tr, and reflex ANS (but not sure)
d) r is neithr Tr, n Reflex.
2. Let A = {1,2,3,4} and define the relation R on A by R = {(1,2), (2,3), (3,3), (3,4)}.Then ________
Which relations below are not functions?
a. {(3,90),(4,54),(6,71),(8,90)}
b. {(13,14),(13,5),(16,7),(18,13)} ANS
3. R is not symmetric iff there are elements a and b in A such that ____________ .
a) (a, b) belongs to R but (b, a) does not belong to R ANS
b) (a, b) belongs to R but (b, a) belongs to R
4. Let X = {2,4,5} and Y={1,2,4 }and R be a relation from X to Y defined by R = {(2,4), (4,1), (a,2)}. For
what value of ‘a ‘ the relation R is a function ?
5. Let f(x)=x and g(x)=-x for all x belongs to R,then f+g(x)is…….
6. Let A = {2, 3, 4} and B = {2,6,8}and let R be the “divides” relation from A to B i.e. for all (a,b) belong
to (Cartesian product of A and B),a R b iff a | b (a divides b).Then