Discrete Mathematics: Functions and Sets - Questions and Answers
Test your knowledge of functions and sets in discrete mathematics with this comprehensive Q&A. This resource covers key concepts, definitions, and examples, providing a valuable tool for self-assessment and exam preparation.
Discrete Mathematics: Functions and Sets - Questions and Answers
This section presents questions and answers related to functions and sets in discrete mathematics.
Questions and Answers
- A set containing an integer that is neither positive nor negative is a(n):
- Finite set
- Empty set
- Non-empty set
- Both non-empty and finite set
Answer: (d) Both non-empty and finite set
Explanation: The set {0} is a non-empty, finite set.
- The set of prime numbers is a(n):
- Infinite set
- Not a set
- Finite set
- Empty set
Answer: (a) Infinite set
Explanation: There are infinitely many prime numbers.
- A set containing real numbers in the range [1, 2] is a(n):
- Empty set
- Finite set
- Infinite set
- None of the mentioned
Answer: (c) Infinite set
Explanation: There are infinitely many real numbers between 1 and 2.
- Which of the following is a subset of {1, 2, 3, 4}?:
- {1, 2}
- {1, 2, 3}
- {1}
- All of the mentioned
Answer: (d) All of the mentioned
- The set of positive prime integers that divide 72 is:
- {∅}
- {3, 5, 7}
- {2, 3}
- {2, 3, 7}
Answer: (c) {2, 3}
Explanation: The prime factors of 72 are 2 and 3.
- The power set of the empty set has how many elements?:
- Two
- One
- Zero
- Three
Answer: (b) One
Explanation: The power set of the empty set contains only the empty set itself.
- The Cartesian product of A = {1, 2} and B = {a, b} is:
- {(1, a), (1, b), (2, a), (b, b)}
- {(1, 1), (a, a), (2, a), (1, b)}
- {(1, 1), (2, 2), (a, a), (b, b)}
- {(1, a), (2, a), (1, b), (2, b)}
Answer: (d) {(1, a), (2, a), (1, b), (2, b)}
- The set of integers whose squares are less than 100 is:
- {0, 2, 4, 5, 9, 55, 46, 49, 99, 81}
- {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- {1, 4, 9, 16}
- {0, 1, 4, 9, 25, 36, 49, 123}
Answer: (b) {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- The intersection of {1, 2, 8, 9, 10, 5} and {1, 2, 6, 10, 12} is:
- {5, 6, 12, 15}
- {1, 2, 10}
- {2, 5, 10, 9}
- {1, 6, 12, 9, 8}
Answer: (b) {1, 2, 10}
- The set difference {1, 2, 5, 6} - {3, 6, 8} is:
- {3, 8}
- {1, 3}
- {1, 2, 5}
- {2, 5}
Answer: (c) {1, 2, 5}
- If n(A) = 20, n(B) = 30, and n(A ∪ B) = 40, then n(A ∩ B) =:
- 30
- 20
- 40
- 10
Answer: (d) 10
Explanation: n(A ∪ B) = n(A) + n(B) - n(A ∩ B)
- In a group of 16 players, 10 play football, 6 play only cricket. How many play only football?:
- 16
- 4
- 8
- 10
Answer: (b) 4
Explanation: 10 (football) - 4 (football and cricket) = 4
- Which of the following is a discrete object?:
- Integers
- People
- Rational numbers
- All of the mentioned
Answer: (d) All of the mentioned
- Which pair of sets are equal?:
- X = {5, 6} and Y = {6}
- X = {5, 6, 9} and Y = {5, 6}
- X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- X = {5, 6} and Y = {5, 6, 3}
Answer: (c) X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- The cardinality of the power set of {1, 5, 6} is:
- 8
- 5
- 6
- 10
Answer: (a) 8
Explanation: The power set of a set with n elements has 2n elements.
- Is (Y x X) equal to (X x Y)?:
- Yes
- No
- None of the above
- I don't know
Answer: (b) No
- How many elements are in the power set of A = {a, b, c}?:
- 4
- 6
- 2
- 5
Answer: (a) 4
- How many main branches of mathematics are there?:
- Mostly 2 types
- Mostly 3 types
- Mostly 5 types
- Mostly 4 types
Answer: (a) Mostly 2 types
Explanation: Discrete and continuous mathematics.
- Which of these is NOT a function type in mathematics?:
- One-to-many
- Many-to-one
- One-to-one
- All of the mentioned
Answer: (a) One-to-many
- Which of the following is NOT a property of an injective function?:
- One-to-one
- Many-to-one
- Onto
- None of the mentioned
Answer: (b) Many-to-one
- How many injections are there from a set with 4 elements to a set with 5 elements?:
- 120
- 24
- 64
- 144
Answer: (a) 120
- If f and g are onto functions, then g∘f is a(n):
- Into function
- One-to-one function
- Onto function
- One-to-many function
Answer: (c) Onto function
- How many bytes are needed to encode 2000 bits?:
- 8
- 5
- 2
- 4
Answer: (c) 250
Explanation: 1 byte = 8 bits, so 2000 bits = 250 bytes
- How many even positive integers are less than 20?:
- 8
- 10
- 9
- 10
Answer: (c) 9
- The union of X = {2, 8, 12, 15, 16} and Y = {8, 16, 15, 18} is:
- {2, 8, 12, 15, 16}
- {8, 16, 15, 18, 9}
- {8, 16, 15}
- {2, 8, 12, 15, 16, 18}
Answer: (d) {2, 8, 12, 15, 16, 18}
- What does the floor function do?:
- Rounds a real number up to the nearest integer.
- Rounds a real number down to the nearest integer.
- Rounds a real number to the nearest integer.
- None of the above
Answer: (b) Rounds a real number down to the nearest integer.
- What does the ceiling function do?:
- Rounds a real number down to the nearest integer.
- Rounds a real number up to the nearest integer.
- Rounds a real number to the nearest integer.
- All of the above are not correct
Answer: (b) Rounds a real number up to the nearest integer.
- What is Floor(8.4) + Ceiling(9.9)?:
- 18
- 17
- 20
- 19
Answer: (a) 18
- What are the maximum values of Floor(a+b) and Ceiling(a+b) if a and b are positive numbers less than 1?:
- Ceil(a+b) = 1 and Floor(a+b) = 0
- Ceil(a+b) = 1 and Floor(a+b) = 1
- Ceil(a+b) = 0 and Floor(a+b) = 1
- Ceil(a+b) = 1 and Floor(a+b) = 2
Answer: (b) Ceil(a+b) = 1 and Floor(a+b) = 1
- A set containing only the integer 0 is a(n):
- Finite set
- Empty set
- Non-empty set
- Both non-empty and finite set
Answer: (d) Both non-empty and finite set
- The set of prime numbers is a(n):
- Infinite set
- Not a set
- Finite set
- Empty set
Answer: (a) Infinite set
- A set containing all real numbers between 1 and 2 is a(n):
- Empty set
- Finite set
- Infinite set
- None of the mentioned
Answer: (c) Infinite set
- Which is a subset of {1, 2, 3, 4}?:
- {1, 2}
- {1, 2, 3}
- {1}
- All of the mentioned
Answer: (d) All of the mentioned
- In roster form, the set of positive prime integers that divide 72 is:
- {∅}
- {3, 5, 7}
- {2, 3}
- {2, 3, 7}
Answer: (c) {2, 3}
- The power set of the empty set has how many elements?:
- Two
- One
- Zero
- Three
Answer: (b) One
- The Cartesian product of A = {1, 2} and B = {a, b} is:
- {(1, a), (1, b), (2, a), (b, b)}
- {(1, 1), (a, a), (2, a), (1, b)}
- {(1, 1), (2, 2), (a, a), (b, b)}
- {(1, a), (2, a), (1, b), (2, b)}
Answer: (d) {(1, a), (2, a), (1, b), (2, b)}
- The set of integers whose squares are less than 100 is:
- {0, 2, 4, 5, 9, 55, 46, 49, 99, 81}
- {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- {1, 4, 9, 16}
- {0, 1, 4, 9, 25, 36, 49, 123}
Answer: (b) {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- The intersection of {1, 2, 8, 9, 10, 5} and {1, 2, 6, 10, 12} is:
- {5, 6, 12, 15}
- {1, 2, 10}
- {2, 5, 10, 9}
- {1, 6, 12, 9, 8}
Answer: (b) {1, 2, 10}
- The set difference {1, 2, 5, 6} - {3, 6, 8} is:
- {3, 8}
- {1, 3}
- {1, 2, 5}
- {2, 5}
Answer: (c) {1, 2, 5}
- If n(A) = 20, n(B) = 30, and n(A∪B) = 40, then n(A∩B) is:
- 30
- 20
- 40
- 10
Answer: (d) 10
- If there are 16 players, 10 play football, and 6 play only cricket, how many play only football?:
- 16
- 4
- 8
- 10
Answer: (b) 4
- Which of these is a discrete object?:
- Integers
- People
- Rational numbers
- All of the mentioned
Answer: (d) All of the mentioned
- Which pair of sets are equal?:
- X = {5, 6} and Y = {6}
- X = {5, 6, 9} and Y = {5, 6}
- X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- X = {5, 6} and Y = {5, 6, 3}
Answer: (c) X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- The cardinality of the power set of {1, 5, 6} is:
- 8
- 5
- 6
- 10
Answer: (a) 8
- Is the Cartesian product (Y x X) equal to (X x Y)?:
- Yes
- No
- None of the above
- I don't know
Answer: (b) No
- How many elements are in the power set of A = {a, b, c}?:
- 4
- 6
- 2
- 5
Answer: (a) 4
- Discrete mathematics primarily deals with:
- Continuous quantities
- Discrete quantities
- Both continuous and discrete quantities
- None of the above
Answer: (b) Discrete quantities
- Discrete objects are characterized by being:
- Continuous and unbounded
- Distinct and countable
- Interconnected and overlapping
- None of the above
Answer: (b) Distinct and countable
- Which of the following is NOT a discrete set?:
- The set of all even numbers less than 100
- The set of all integers
- The set of all real numbers between 0 and 1
- The set of all prime numbers
Answer: (c) The set of all real numbers between 0 and 1
- If sets X and Y have 7 and 8 elements, respectively, how many relations exist between them?:
- 256
- 272
- 356
- 56
Answer: (a) 256
- On the set {0, 1, 2, 3}, how many reflexive closures are there for the relation {(0, 1), (1, 1), (1, 3), (2, 1), (2, 2), (3, 0)}?:
- 26
- 36
- 8
- 6
Answer: (d) 6
- What is the transitive closure of R = {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on the set A = {0, 1, 2, 3, 4, 5}?:
- {(0,0), (4,4), (5,5), (1,1), (2,2), (3,3)}
- {(0,1), (1,2), (2,2), (3,4)}
- {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- {(0,1), (5,3), (5,4), (1,1), (2,2)}
Answer: (c) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- Which statement is FALSE if X and Y are relations on S?:
- Their intersection is a relation on S.
- Their union is a relation on S.
- Their difference is a relation on S.
- Their symmetric closure is not a relation.
Answer: (d) Their symmetric closure is not a relation.
- Which of these is NOT a valid law of Boolean algebra?:
- (A + B)(A + C) = A + (B × C)
- A + A = A
- A × B = B × A
- All of the above are true
Answer: (a) (A + B)(A + C) = A + (B × C)
- What is the dual of AND?:
- OR
- AND
- NOT
- Exclusive OR (XOR)
Answer: (a) OR
- Which area of mathematics is described by the set {1, 0}?:
- Logical algebra
- Boolean algebra
- Set Theory
- Matrices
Answer: (b) Boolean algebra
- How many distinct ways are there to express a logical proposition using only AND and OR?:
- 16
- 32
- 24
- None of the above
Answer: (b) 32
- Which statement is correct for a symmetric matrix A?:
- A = AT
- A = -AT
- Diagonal elements are all 1
- Diagonal elements are all 0
Answer: (a) A = AT
- A matrix with one row and multiple columns is a:
- Diagonal Matrix
- Row Matrix
- Column Matrix
- None of the mentioned
Answer: (b) Row Matrix
- A matrix with multiple rows and only one column is a:
- Diagonal Matrix
- Row Matrix
- Column Matrix
- None of the mentioned
Answer: (c) Column Matrix
- To add two matrices, they must have:
- The same number of rows and columns
- The same number of columns
- The same number of rows
- The number of rows in the first matrix must equal the number of columns in the second matrix
- Is the statement A + B = B + A always true for matrix addition?:
- False
- True
Answer: (b) True
- Is the statement AB = BA always true for matrix multiplication?:
- False
- True
Answer: (a) False
- Which gate is considered a universal logic gate?:
- OR
- NOT
- AND
- NAND
Answer: (d) NAND
- In what year did Maurice Karnaugh publish the Karnaugh map?:
- 1952
- 1956
- 1953
- 1958
Answer: (c) 1953
- How many main canonical forms are there for Boolean expressions?:
- Mostly Two types
- Mostly Four types
- Mostly Three types
- Mostly Five types
Answer: (a) Mostly Two types
- Boolean algebra is primarily used in the design of:
- Logic symbols
- Digital computers
- Circuit theory
- None of the above
- Boolean algebra deals with how many discrete values?:
- Four
- Three
- Five
- Two
Answer: (d) Two
- Which search method checks each element sequentially?:
- Merge search
- Sequential search
- Binary search
- None of the mentioned
Answer: (b) Sequential search
- In insertion sort, which element starts the sorting process?:
- First
- Second
- Third
- Fourth
Answer: (b) Second
- What is the time complexity of bubble sort?:
- O(n)
- O(log n)
- O(n log n)
- O(n²)
Answer: (d) O(n²)
- Which algorithm uses prior outputs to calculate new outputs?:
- Divide and Conquer
- Dynamic Programming
- Brute Force
- None of them
Answer: (b) Dynamic Programming
- Which of the following is NOT a way to represent an algorithm?:
- Flowcharts
- Pseudocode
- Natural Language
- All of the above are valid representations
Answer: (d) All of the above are valid representations
- Complexity theory does NOT typically consider which case?:
- Average case
- Best case
- Null case
- Worst case
Answer: (c) Null case
- Discrete mathematics primarily deals with:
- Continuous quantities
- Discrete quantities
- Both continuous and discrete quantities
- None of the above
- The statement "Discrete items are distinct and isolated from one another" is:
- TRUE
- FALSE
- MAYBE
- CAN'T SAY
- Which of the following is NOT a discrete set?:
- The set of all even numbers less than 100
- The set of all integers
- The set of all real numbers between 0 and 1
- The set of all prime numbers
- What kind of set is {0}?:
- Finite set
- Empty set
- Non-empty set
- Both non-empty and finite set
Answer: (d) Both non-empty and finite set
- The set of prime numbers is:
- Infinite
- Not a set
- Finite
- Empty
- A set containing all real numbers between 1 and 2 is a(n):
- Empty set
- Finite set
- Infinite set
- None of the mentioned
Answer: (c) Infinite set
- Which is a subset of {1, 2, 3, 4}?:
- {1, 2}
- {1, 2, 3}
- {1}
- All of the mentioned
Answer: (d) All of the mentioned
- The set of prime numbers that divide 72 is:
- {∅}
- {3, 5, 7}
- {2, 3}
- {2, 3, 7}
Answer: (c) {2, 3}
- How many elements are in the power set of the empty set?:
- Two
- One
- Zero
- Three
Answer: (b) One
- What is the Cartesian product of A = {1, 2} and B = {a, b}?:
- {(1, a), (1, b), (2, a), (b, b)}
- {(1, 1), (a, a), (2, a), (1, b)}
- {(1, 1), (2, 2), (a, a), (b, b)}
- {(1, a), (2, a), (1, b), (2, b)}
Answer: (d) {(1, a), (2, a), (1, b), (2, b)}
- What is the set of integers whose squares are less than 100?:
- {0, 2, 4, 5, 9, 55, 46, 49, 99, 81}
- {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- {1, 4, 9, 16}
- {0, 1, 4, 9, 25, 36, 49, 123}
Answer: (b) {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- What is the intersection of {1, 2, 8, 9, 10, 5} and {1, 2, 6, 10, 12}?:
- {5, 6, 12, 15}
- {1, 2, 10}
- {2, 5, 10, 9}
- {1, 6, 12, 9, 8}
Answer: (b) {1, 2, 10}
- What is the set difference {1, 2, 5, 6} - {3, 6, 8}?:
- {3, 8}
- {1, 3}
- {1, 2, 5}
- {2, 5}
Answer: (c) {1, 2, 5}
- If n(A) = 20, n(B) = 30, and n(A∪B) = 40, then n(A∩B) =:
- 10
- 20
- 30
- 40
- If there are 16 players, 10 play football, and 6 play only cricket, how many play only football?:
- 16
- 4
- 8
- 10
Answer: (b) 4
- Which of these is a discrete object?:
- Integers
- People
- Rational numbers
- All of the mentioned
Answer: (d) All of the mentioned
- Which pair of sets are equal?:
- X = {5, 6} and Y = {6}
- X = {5, 6, 9} and Y = {5, 6}
- X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- X = {5, 6} and Y = {5, 6, 3}
Answer: (c) X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- The cardinality of the power set of {1, 5, 6} is:
- 8
- 5
- 6
- 10
- Is (Y x X) equal to (X x Y)?:
- Yes
- No
- None of the above
- I don't know
Answer: (b) No
- How many elements are in the power set of A = {a, b, c}?:
- 4
- 6
- 2
- 5
Answer: (a) 4
- The number of ways to partition a set with 3 elements is given by:
- 3
- 5
- 4
- 6
- If sets X and Y have 7 and 8 elements respectively, how many relations exist between them?:
- 256
- 272
- 356
- 56
Answer: (a) 256
- The number of reflexive closures for the relation {(0, 1), (1, 1), (1, 3), (2, 1), (2, 2), (3, 0)} on the set {0, 1, 2, 3} is:
- 6
- 8
- 26
- 36
- What is the transitive closure of the relation {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on {0, 1, 2, 3, 4, 5}?:
- {(0,0), (4,4), (5,5), (1,1), (2,2), (3,3)}
- {(0,1), (1,2), (2,2), (3,4)}
- {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- {(0,1), (5,3), (5,4), (1,1), (2,2)}
Answer: (c) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- Which statement is FALSE if X and Y are relations on S?:
- Their intersection is a relation on S.
- Their union is a relation on S.
- Their difference is a relation on S.
- Their symmetric closure is not a relation.
Answer: (d) Their symmetric closure is not a relation.
- Which is NOT a valid law of Boolean algebra?:
- (A + B)(A + C) = A + (B × C)
- A + A = A
- A × B = B × A
- All of the above are true
Answer: (a) (A + B)(A + C) = A + (B × C)
- The dual of the AND operation is:
- OR
- AND
- NOT
- XOR
- The set {1, 0} is primarily associated with:
- Logical algebra
- Boolean algebra
- Set Theory
- Matrices
- How many distinct ways are there to express a logical proposition using only AND and OR (considering order and parentheses)?:
- 16
- 32
- 24
- None of the above
Answer: (b) 32
- A symmetric matrix A satisfies:
- A = AT
- A = -AT
- Diagonal elements are all 1
- Diagonal elements are all 0
- A matrix with one row and multiple columns is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- A matrix with multiple rows and only one column is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- To add two matrices, they must have:
- The same number of rows and columns
- The same number of columns
- The same number of rows
- The number of rows in the first must equal the number of columns in the second
- For matrix addition, A + B = B + A is:
- False
- True
- For matrix multiplication, AB = BA is:
- False
- True
- The NAND gate is considered a universal gate because:
- It can perform all logical operations
- It is the simplest gate
- It is used in all computers
- It is the fastest gate
- Maurice Karnaugh published the Karnaugh map in:
- 1953
- 1952
- 1956
- 1958
- How many main canonical forms exist for Boolean expressions?:
- Two
- Four
- Three
- Five
- Boolean algebra is fundamentally used in the design of:
- Logic symbols
- Digital computers
- Circuit theory
- None of the above
- Boolean algebra operates on how many discrete values?:
- Two
- Three
- Four
- Five
- A sequential search algorithm is characterized by:
- Comparing each element sequentially
- Using a divide-and-conquer approach
- Sorting the list beforehand
- None of the above
- In insertion sort, the sorting process begins with which element?:
- The first element
- The second element
- The middle element
- The last element
- The worst-case time complexity of a linear search is:
- O(log n)
- O(n)
- O(n log n)
- O(n²)
- What is the time complexity of the bubble sort algorithm?:
- O(n)
- O(log n)
- O(n log n)
- O(n²)
- Dynamic programming algorithms are characterized by:
- Reusing solutions to subproblems
- Dividing the problem into independent subproblems
- Trying all possible solutions
- None of the above
- Which of the following is NOT typically considered in complexity theory?:
- Average case
- Best case
- Null case
- Worst case
Answer: (c) Null case
- Is the following statement true? “A field of mathematics that utilizes discrete elements is known as discrete mathematics.”:
- True
- False
- The statement "Discrete items are distinct from and isolated from one another" is:
- True
- False
- Which of the following is NOT a discrete set?:
- The set of all even numbers less than 100
- The set of all integers
- The set of all real numbers between 0 and 1
- The set of all prime numbers
- What kind of set is {0}?:
- Finite set
- Empty set
- Non-empty set
- Both non-empty and finite set
Answer: (d) Both non-empty and finite set
- The set of prime numbers is:
- Infinite
- Not a set
- Finite
- Empty
- The set of real numbers between 1 and 2 is:
- Empty
- Finite
- Infinite
- None of the mentioned
- Which is a subset of {1, 2, 3, 4}?:
- {1, 2}
- {1, 2, 3}
- {1}
- All of the mentioned
Answer: (d) All of the mentioned
- The set of prime factors of 72 is:
- {∅}
- {3, 5, 7}
- {2, 3}
- {2, 3, 7}
Answer: (c) {2, 3}
- How many elements are in the power set of the empty set?:
- Two
- One
- Zero
- Three
Answer: (b) One
- What is the Cartesian product of A = {1, 2} and B = {a, b}?:
- {(1, a), (1, b), (2, a), (b, b)}
- {(1, 1), (a, a), (2, a), (1, b)}
- {(1, 1), (2, 2), (a, a), (b, b)}
- {(1, a), (2, a), (1, b), (2, b)}
Answer: (d) {(1, a), (2, a), (1, b), (2, b)}
- The set of integers whose squares are less than 100 is:
- {0, 2, 4, 5, 9, 55, 46, 49, 99, 81}
- {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- {1, 4, 9, 16}
- {0, 1, 4, 9, 25, 36, 49, 123}
Answer: (b) {0, 1, 4, 9, 16, 25, 36, 49, 64, 81}
- What is the intersection of {1, 2, 8, 9, 10, 5} and {1, 2, 6, 10, 12}?:
- {5, 6, 12, 15}
- {1, 2, 10}
- {2, 5, 10, 9}
- {1, 6, 12, 9, 8}
Answer: (b) {1, 2, 10}
- What is the set difference {1, 2, 5, 6} - {3, 6, 8}?:
- {3, 8}
- {1, 3}
- {1, 2, 5}
- {2, 5}
Answer: (c) {1, 2, 5}
- If n(A) = 20, n(B) = 30, n(A∪B) = 40, then n(A∩B) =:
- 10
- 20
- 30
- 40
- In a group of 16 players, 10 play football, and 6 play only cricket. How many play only football?:
- 16
- 4
- 8
- 10
Answer: (b) 4
- Which of these is a discrete object?:
- Integers
- People
- Rational numbers
- All of the mentioned
Answer: (d) All of the mentioned
- Which pair of sets are equal?:
- X = {5, 6} and Y = {6}
- X = {5, 6, 9} and Y = {5, 6}
- X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- X = {5, 6} and Y = {5, 6, 3}
Answer: (c) X = {5, 6, 8, 9} and Y = {6, 8, 5, 9}
- The cardinality of the power set of {1, 5, 6} is:
- 8
- 5
- 6
- 10
- Is (Y x X) equal to (X x Y)?:
- Yes
- No
- None of the above
- I don't know
Answer: (b) No
- How many elements are in the power set of A = {a, b, c}?:
- 4
- 6
- 2
- 5
Answer: (a) 4
- The number of ways to partition a set with 3 elements is:
- 3
- 5
- 4
- 6
- If sets X and Y have 7 and 8 elements, the number of relations between them is:
- 256
- 256
- 272
- 356
- The number of reflexive closures for the relation {(0, 1), (1, 1), (1, 3), (2, 1), (2, 2), (3, 0)} on {0, 1, 2, 3} is:
- 6
- 8
- 26
- 36
- The transitive closure of {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on {0, 1, 2, 3, 4, 5} is:
- {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- {(0,0), (4,4), (5,5), (1,1), (2,2), (3,3)}
- {(0,1), (1,2), (2,2), (3,4)}
- {(0,1), (5,3), (5,4), (1,1), (2,2)}
- If X and Y are relations on S, which statement is FALSE?:
- Their intersection is a relation on S.
- Their union is a relation on S.
- Their difference is a relation on S.
- Their symmetric closure is not a relation.
Answer: (d) Their symmetric closure is not a relation.
- Which is NOT a valid law of Boolean algebra?:
- (A + B)(A + C) = A + (B × C)
- A + A = A
- A × B = B × A
- All of the above are true
Answer: (a) (A + B)(A + C) = A + (B × C)
- The dual of the AND operation is:
- OR
- AND
- NOT
- XOR
- The set {1, 0} is primarily associated with:
- Logical algebra
- Boolean algebra
- Set Theory
- Matrices
- How many distinct ways are there to express a logical proposition using only AND and OR (considering order and parentheses)?:
- 16
- 32
- 24
- None of the above
Answer: (b) 32
- A symmetric matrix A satisfies:
- A = AT
- A = -AT
- Diagonal elements are all 1
- Diagonal elements are all 0
- A matrix with one row and multiple columns is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- A matrix with multiple rows and only one column is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- For matrix addition, the matrices must have:
- The same number of rows and columns
- The same number of columns
- The same number of rows
- The number of rows in the first equals the number of columns in the second
- The statement A + B = B + A is true for matrix addition:
- True
- False
- The statement AB = BA is true for matrix multiplication:
- True
- False
- A universal logic gate is:
- NAND
- OR
- NOT
- AND
- Maurice Karnaugh published his map in:
- 1953
- 1952
- 1956
- 1958
- The number of main canonical forms for Boolean expressions is:
- Two
- Three
- Four
- Five
- Boolean algebra is mainly used in designing:
- Logic symbols
- Digital computers
- Circuit theory
- None of the above
- Boolean algebra deals with how many values?:
- Two
- Three
- Four
- Five
- A sequential search algorithm involves:
- Comparing each element sequentially
- Dividing the problem into subproblems
- Sorting the data first
- None of the above
- In insertion sort, sorting starts with the:
- First element
- Second element
- Middle element
- Last element
- The worst-case time complexity of a linear search is:
- O(log n)
- O(n)
- O(n log n)
- O(n²)
- The time complexity of bubble sort is:
- O(n)
- O(log n)
- O(n log n)
- O(n²)
- Dynamic programming is characterized by:
- Reusing solutions to subproblems
- Dividing problems into independent subproblems
- Trying all possible solutions
- None of the above
- Complexity theory does NOT typically consider the ______ case:
- Null case
- Average case
- Best case
- Worst case
- Is this statement true or false? "Real numbers, including rational and irrational numbers, are discrete":
- True
- False
- How many broad categories are there in mathematics?:
- Two
- Three
- Four
- Five
- Which type of mathematics deals with distinct, separate values?:
- Discrete Mathematics
- Continuous Mathematics
- Non-Discrete Mathematics
- Non-Continuous Mathematics
- If sets X and Y have 7 and 8 elements, respectively, how many relations exist between them?:
- 256
- 272
- 356
- 56
Answer: (a) 256
Explanation: There are 2mn possible relations between two sets with cardinalities m and n.
- On the set {0, 1, 2, 3}, how many reflexive closures are there for the relation {(0, 1), (1, 1), (1, 3), (2, 1), (2, 2), (3, 0)}?:
- 26
- 36
- 8
- 6
Answer: (d) 6
- What is the transitive closure of the relation {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on the set {0, 1, 2, 3, 4, 5}?:
- {(0,0), (4,4), (5,5), (1,1), (2,2), (3,3)}
- {(0,1), (1,2), (2,2), (3,4)}
- {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- {(0,1), (5,3), (5,4), (1,1), (2,2)}
Answer: (c) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
- If X and Y are relations on set S, which statement is FALSE?:
- Their intersection is a relation on S.
- Their union is a relation on S.
- Their difference is a relation on S.
- Their symmetric closure is not a relation.
Answer: (d) Their symmetric closure is not a relation.
- Which is NOT a valid law of Boolean algebra?:
- (A + B)(A + C) = A + (B × C)
- A + A = A
- A × B = B × A
- All of the above are true
Answer: (a) (A + B)(A + C) = A + (B × C)
- The dual of the AND operation is:
- OR
- AND
- NOT
- XOR
- The set {1, 0} is primarily associated with:
- Logical algebra
- Boolean algebra
- Set Theory
- Matrices
- How many distinct ways are there to express a logical proposition using only AND and OR (considering order and parentheses)?:
- 16
- 32
- 24
- None of the above
Answer: (b) 32
- A symmetric matrix A satisfies:
- A = AT
- A = -AT
- Diagonal elements are all 1
- Diagonal elements are all 0
- A matrix with one row and multiple columns is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- A matrix with multiple rows and only one column is a:
- Row Matrix
- Column Matrix
- Diagonal Matrix
- None of the mentioned
- For matrix addition, the matrices must have:
- The same number of rows and columns
- The same number of columns
- The same number of rows
- The number of rows in the first equals the number of columns in the second
- The statement A + B = B + A is true for matrix addition:
- True
- False
- The statement AB = BA is true for matrix multiplication:
- True
- False
- A universal logic gate is:
- NAND
- OR
- NOT
- AND
- Maurice Karnaugh published his map in:
- 1953
- 1952
- 1956
- 1958
- The number of main canonical forms for Boolean expressions is:
- Two
- Three
- Four
- Five
- Boolean algebra is mainly used in designing:
- Logic symbols
- Digital computers
- Circuit theory
- None of the above
- Boolean algebra operates on how many values?:
- Two
- Three
- Four
- Five
- In a linear graph, vertices are arranged in a:
- Line
- Circle
- Tree
- None of the above
- A star tree is characterized by:
- n leaves and one internal vertex
- n vertices and n-1 cycles
- n vertices in a straight line
- 0 or more connected subtrees
- A tree with exactly one center vertex is called a:
- Central tree
- Bicenter tree
- Rooted tree
- Labeled tree
- Probability theory started to formally develop around:
- 1654
- 1638
- 1674
- 1666
- In an experiment, the set of all possible outcomes is called the:
- Sample Space
- Event
- Random Experiment
- Tossing Space
- How many outcomes are there in a coin toss?:
- Two
- One
- Three
- Four
- The probability of getting a specific number on a fair six-sided die roll is:
- (1/6)
- (5/6)
- (2/3)
- (1/3)
- What is the probability of drawing an ace from a standard deck of 52 cards?:
- (1/13)
- (1/52)
- (3/52)
- (1/26)
- What is the probability of drawing a diamond from a standard deck of 52 cards?:
- (1/4)
- (1/6)
- (3/26)
- (1/13)
- Discrete probability distributions are defined by:
- Discrete variables
- Probability function
- Data
- Machine
- A bag contains 5 red balls and twice as many blue balls. What is the probability of drawing a blue ball?:
- 10
- 20
- 5
- 15
- A box contains cards numbered 2 to 101. What is the probability that a randomly selected card has a number that is a perfect square?:
- (1/10)
- (1/5)
- (1/25)
- (1/20)
- The mean annual salary is Rs. 48,000 with a standard deviation of Rs. 1500. What is the approximate probability that an employee earns between Rs. 45,000 and Rs. 52,000?:
- 0.421
- 0.42
- 0.422
- 0.423
Answer: (a) The same number of rows and columns
Answer: (b) Digital computers
Answer: (b) Discrete quantities
Answer: (a) TRUE
Answer: (c) The set of all real numbers between 0 and 1
Answer: (a) Infinite
Answer: (a) 10
Answer: (a) 8
Answer: (c) 5
Answer: (a) 6
Answer: (a) OR
Answer: (b) Boolean algebra
Answer: (a) A = AT
Answer: (a) Row Matrix
Answer: (b) Column Matrix
Answer: (a) The same number of rows and columns
Answer: (b) True
Answer: (a) False
Answer: (a) It can perform all logical operations
Answer: (a) 1953
Answer: (a) Two
Answer: (b) Digital computers
Answer: (a) Two
Answer: (a) Comparing each element sequentially
Answer: (b) The second element
Answer: (b) O(n)
Answer: (d) O(n²)
Answer: (a) Reusing solutions to subproblems
Answer: (a) True
Answer: (a) True
Answer: (c) The set of all real numbers between 0 and 1
Answer: (a) Infinite
Answer: (c) Infinite
Answer: (a) 10
Answer: (a) 8
Answer: (b) 5
Answer: (a) 256
Answer: (a) 6
Answer: (a) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
Answer: (a) OR
Answer: (b) Boolean algebra
Answer: (a) A = AT
Answer: (a) Row Matrix
Answer: (b) Column Matrix
Answer: (a) The same number of rows and columns
Answer: (a) True
Answer: (b) False
Answer: (a) NAND
Answer: (a) 1953
Answer: (a) Two
Answer: (b) Digital computers
Answer: (a) Two
Answer: (a) Comparing each element sequentially
Answer: (b) Second element
Answer: (b) O(n)
Answer: (d) O(n²)
Answer: (a) Reusing solutions to subproblems
Answer: (a) Null case
Answer: (b) False
Answer: (a) Two (Discrete and Continuous)
Answer: (a) Discrete Mathematics
Answer: (a) OR
Answer: (b) Boolean algebra
Answer: (a) A = AT
Answer: (a) Row Matrix
Answer: (b) Column Matrix
Answer: (a) The same number of rows and columns
Answer: (a) True
Answer: (b) False
Answer: (a) NAND
Answer: (a) 1953
Answer: (a) Two
Answer: (b) Digital computers
Answer: (a) Two
Answer: (a) Line
Answer: (a) n leaves and one internal vertex
Answer: (a) Central tree
Answer: (a) 1654
Answer: (a) Sample Space
Answer: (a) Two
Answer: (a) (1/6)
Answer: (a) (1/13)
Answer: (a) (1/4)
Answer: (c) Data
Answer: (a) 2/3
Answer: (a) (1/10)
Answer: (a) 0.421 (approximately)