Mathematics for Computer Science
- 58Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a mathematical proof?
What is a mathematical proof?
58 questions
- 1
What is a mathematical proof?
- A
A calculation that produces the same result in several different ways
- B
A verification of a proposition through logical deductions from axioms
- C
A collection of examples that support a mathematical pattern
- D
A personal explanation of why a mathematical claim seems reasonable
Correct answer
BA verification of a proposition through logical deductions from axioms
Explanation
A mathematical proof verifies a proposition through a chain or sequence of logical deductions from a base set of axioms.
- A
- 2
What is a proposition?
- A
A statement that is either true or false
- B
A rule that must be accepted without justification
- C
A calculation containing at least one variable
- D
A question whose answer may be true or false
Correct answer
AA statement that is either true or false
Explanation
A proposition is a statement for which it makes sense to ask whether it is true or false.
- A
- 3
Why is the statement “p is prime” not necessarily a proposition?
- A
Prime numbers are defined only for natural numbers greater than 1
- B
The statement contains a mathematical property instead of an equation
- C
The variable p has not been assigned a specific value
- D
Primality cannot be determined for any number
Correct answer
CThe variable p has not been assigned a specific value
Explanation
The truth of “p is prime” depends on the unspecified value of p. Once p is assigned a value, such as 7 or 12, the result is a proposition.
- A
- 4
Which statement best describes a predicate?
- A
A statement that is always true regardless of its variables
- B
A proposition that cannot be evaluated as true or false
- C
A conclusion obtained after applying several axioms
- D
A parametrized statement whose truth depends on variables
Correct answer
DA parametrized statement whose truth depends on variables
Explanation
A predicate is a statement involving variables whose truth value becomes determined after values are assigned to those variables.
- A
- 5
Why is “Today is Thursday” still a proposition when today is Tuesday?
- A
It is false, but it still has a definite truth value
- B
It is neither true nor false until someone verifies the calendar
- C
It is an axiom because calendar dates are universally accepted
- D
It is a predicate because the day can change later
Correct answer
AIt is false, but it still has a definite truth value
Explanation
A proposition may be either true or false. A false statement is still a proposition as long as it has a definite truth value.
- A
- 6
Why does checking the values n=0 through n=39 fail to prove that n2+n+41 is prime for every natural number n?
- A
The expression is not defined for all natural numbers
- B
A universal claim requires the property to hold for every natural number
- C
Checking consecutive values is valid only for finite sets
- D
The first forty values include numbers that are not natural numbers
Correct answer
BA universal claim requires the property to hold for every natural number
Explanation
Testing finitely many examples cannot establish a statement quantified over all natural numbers. A later value, such as n=40 or n=41, provides a counterexample.
- A
- 7
Which value provides a counterexample to the claim that n2+n+41 is prime for every natural number n?
- A
n=1
- B
n=39
- C
n=2
- D
n=41
Correct answer
Dn=41
Explanation
At n=41, the expression equals 412+41+41=41⋅43, which is not prime. Thus the universal proposition is false.
- A
- 8
What is sufficient to disprove a proposition of the form “For every natural number n, P(n) holds”?
- A
One natural number for which P(n) is false
- B
One natural number for which P(n) is true
- C
A large finite collection of natural numbers for which P(n) is true
- D
A proof that P(n) is difficult to evaluate
Correct answer
AOne natural number for which P(n) is false
Explanation
A single counterexample is enough to disprove a universal statement.
- A
- 9
Why is Goldbach’s claim called a conjecture rather than a theorem?
- A
It has not been proved or disproved
- B
It has already been disproved by one counterexample
- C
It is known to be true only for odd numbers
- D
It is a definition rather than a mathematical statement
Correct answer
AIt has not been proved or disproved
Explanation
Goldbach’s Conjecture states that every even number greater than 2 is the sum of two primes, but its truth remains unresolved.
- A
- 10
Why does writing 20=9+11 not disprove Goldbach’s Conjecture?
- A
Goldbach’s claim applies only to numbers greater than 20
- B
The number 9 is actually a prime number
- C
The number 20 is not an even number
- D
The same number may have another representation, such as 20=17+3
Correct answer
DThe same number may have another representation, such as 20=17+3
Explanation
A number need only have one representation as a sum of two primes. Although 9 is not prime, 20=17+3 satisfies the conjecture.
- A
- 11
What does the negation of a proposition A mean?
- A
The proposition that A is especially unlikely
- B
A second proposition unrelated to A
- C
The proposition that A is false
- D
The proposition that A and another statement are both true
Correct answer
CThe proposition that A is false
Explanation
The negation, written as “not A,” reverses the truth value of A: it is false when A is true and true when A is false.
- A
- 12
If A is false, what is the truth value of not A?
- A
False
- B
Undetermined
- C
True only if another proposition is true
- D
True
Correct answer
DTrue
Explanation
Negation flips the truth value of a proposition. Therefore, not A is true when A is false.
- A
- 13
When is A and B true?
- A
Whenever A and B have different truth values
- B
Whenever at least one of A and B is true
- C
Only when both A and B are false
- D
Only when both A and B are true
Correct answer
DOnly when both A and B are true
Explanation
The conjunction A and B requires both component propositions to be true.
- A
- 14
When is A or B false under the mathematical definition of “or”?
- A
Whenever both A and B are true
- B
Only when A is false and B is true
- C
Only when both A and B are false
- D
Whenever exactly one of A and B is false
Correct answer
COnly when both A and B are false
Explanation
Mathematical “or” is inclusive: it is true when at least one statement is true and false only when both are false.
- A
- 15
What does inclusive OR allow that exclusive OR does not?
- A
It allows both component propositions to be true
- B
It requires the component propositions to have opposite truth values
- C
It allows both component propositions to be false
- D
It requires exactly one component proposition to be true
Correct answer
AIt allows both component propositions to be true
Explanation
Inclusive OR means at least one statement is true, so both may be true. Exclusive OR requires exactly one to be true.
- A
- 16
Which situation illustrates exclusive OR rather than mathematical inclusive OR?
- A
A person may choose at least one of two available options
- B
A diner must choose chicken or pasta, but not both
- C
A person may request both cream and sugar
- D
A student may choose coffee, tea, or neither
Correct answer
BA diner must choose chicken or pasta, but not both
Explanation
Exclusive OR requires one option or the other, but not both and not neither. This matches the chicken-or-pasta example.
- A
- 17
What does NAND mean in terms of the operators AND and NOT?
- A
The negation of the conjunction
- B
The negation of the first proposition only
- C
The exclusive version of the disjunction
- D
The conjunction of two negations
Correct answer
AThe negation of the conjunction
Explanation
NAND is “not AND.” It is false only when both component propositions are true.
- A
- 18
Why can ordinary spoken uses of “or” be dangerous in mathematical communication?
- A
Mathematical propositions cannot contain the word “or”
- B
Spoken language is often context-dependent and may not match inclusive OR
- C
Spoken language always treats “or” as exclusive
- D
Mathematical OR has no truth table
Correct answer
BSpoken language is often context-dependent and may not match inclusive OR
Explanation
In ordinary language, “or” can mean inclusive OR, exclusive OR, NAND-like choices, or something else depending on context. Mathematical notation gives it a precise meaning.
- A
- 19
Which truth assignment makes A implies B false?
- A
A is false and B is true
- B
A is true and B is false
- C
A is false and B is false
- D
A is true and B is true
Correct answer
BA is true and B is false
Explanation
An implication fails only when its antecedent is true but its consequent is false.
- A
- 20
Why is a statement of the form “If A, then B” considered true when A is false?
- A
A false antecedent automatically makes B false
- B
The implication imposes no requirement when its antecedent is false
- C
A false antecedent cannot be part of a proposition
- D
The implication requires B to be true in every case
Correct answer
BThe implication imposes no requirement when its antecedent is false
Explanation
A mathematical implication is violated only by true A and false B. When A is false, the rule is not being triggered.
- A
- 21
For the rule “If it is Wednesday, then wear pink,” which situation violates the rule?
- A
It is Wednesday and the person is not wearing pink
- B
It is not Wednesday and the person is wearing pink
- C
It is Wednesday and the person is wearing pink
- D
It is not Wednesday and the person is not wearing pink
Correct answer
AIt is Wednesday and the person is not wearing pink
Explanation
The rule requires pink clothing when it is Wednesday. The other three cases satisfy the implication’s truth table.
- A
- 22
What does mathematical implication exclude from the meaning of the word “implies”?
- A
It excludes assumptions of causality or temporal order
- B
It excludes propositions whose truth values are unknown
- C
It excludes cases in which the antecedent is false
- D
It excludes the possibility that both propositions are true
Correct answer
AIt excludes assumptions of causality or temporal order
Explanation
In mathematics, implication is defined solely by its truth table. It does not assert that A causes B or that A occurs before B.
- A
- 23
Which expression is logically equivalent to A implies B?
- A
B or not A
- B
not A and not B
- C
A and not B
- D
A or not B
Correct answer
AB or not A
Explanation
The only false case for A implies B is true A with false B. The expression B or not A has exactly the same truth table.
- A
- 24
What is the converse of A implies B?
- A
Not B implies not A
- B
B implies A
- C
A and B
- D
Not A implies not B
Correct answer
BB implies A
Explanation
The converse reverses the order of the antecedent and consequent, producing B implies A.
- A
- 25
What is the contrapositive of A implies B?
- A
Not A implies not B
- B
A implies not B
- C
Not B implies not A
- D
B implies A
Correct answer
CNot B implies not A
Explanation
The contrapositive negates and reverses the original implication: not B implies not A.
- A
- 26
Which pair of statements is logically equivalent?
- A
B implies A and not B implies not A
- B
A implies B and not B implies not A
- C
A implies B and B implies A
- D
A implies B and not A implies not B
Correct answer
BA implies B and not B implies not A
Explanation
An implication is logically equivalent to its contrapositive. The converse and inverse form another equivalent pair, but neither is generally equivalent to the original implication.
- A
- 27
Which statement correctly compares an implication with its inverse?
- A
The inverse is the same as the contrapositive
- B
The inverse is not generally equivalent to the original implication
- C
The inverse reverses the order without negating either statement
- D
The inverse is always equivalent to the original implication
Correct answer
BThe inverse is not generally equivalent to the original implication
Explanation
The inverse of A implies B is not A implies not B. It is generally not equivalent to the original; the contrapositive is the equivalent form.
- A
- 28
What is a set?
- A
A rule that maps every object to exactly one output
- B
A proposition whose variables have been assigned values
- C
A collection of objects
- D
An ordered list in which repetitions are required
Correct answer
CA collection of objects
Explanation
A set is a collection of objects. The order of its elements does not matter, and repeated elements are not counted multiple times.
- A
- 29
Which equality of sets is valid?
- A
{6,1,2,0}={6,1,2}
- B
{6,1,2,0}={2,1,6,0}
- C
{6,1,2,0}={6,1,2,0,0} as different sets
- D
{6,1,2,0}={6,1,2,3}
Correct answer
B{6,1,2,0}={2,1,6,0}
Explanation
Sets ignore order and repetitions, so both listed sets contain exactly the elements 0, 1, 2, and 6.
- A
- 30
Which set is represented by N in this course?
- A
All rational numbers
- B
All integers, including their negatives
- C
The positive integers beginning with 1
- D
The natural numbers beginning with 0
Correct answer
DThe natural numbers beginning with 0
Explanation
In this course, N denotes the natural numbers 0,1,2,3,….
- A
- 31
What does the set Z contain?
- A
All natural numbers and positive fractions
- B
All integers, including positive, negative, and zero
- C
All complex numbers with integer real parts
- D
All real numbers between 0 and 1
Correct answer
BAll integers, including positive, negative, and zero
Explanation
Z is the set of integers: …,−2,−1,0,1,2,….
- A
- 32
How are rational numbers defined in the content?
- A
Numbers whose numerator and denominator are both natural primes
- B
Numbers expressible only as terminating decimal expansions
- C
Numbers expressible as an integer divided by a nonzero integer
- D
Numbers that cannot be written as fractions
Correct answer
CNumbers expressible as an integer divided by a nonzero integer
Explanation
Q consists of numbers that can be written as a/b, where a is an integer and b is a nonzero integer.
- A
- 33
What is the empty set?
- A
A set containing one empty set as its only element
- B
A set containing the number 0 only
- C
A set whose elements have not yet been identified
- D
A set containing no elements
Correct answer
DA set containing no elements
Explanation
The empty set contains zero elements. It is still a set and is commonly written as ∅ or {}.
- A
- 34
Suppose B={2,{3,4},∅}. Which statement is true?
- A
2 is an element of B
- B
3 is an element of B
- C
4 is an element of B
- D
{2,3,4} is an element of B
Correct answer
A2 is an element of B
Explanation
The elements of B are 2, the set {3,4}, and ∅. The numbers 3 and 4 are nested inside an element but are not themselves elements of B.
- A
- 35
What does A⊆B mean?
- A
Every element of A is also an element of B
- B
The sets A and B have no elements in common
- C
Every element of B is also an element of A
- D
The sets A and B have exactly the same number of elements
Correct answer
AEvery element of A is also an element of B
Explanation
A⊆B means that all elements belonging to A also belong to B; B may contain additional elements.
- A
- 36
Why is the empty set a subset of every set?
- A
It is equal to every other set
- B
It always appears as an element inside every set
- C
It has no element that could violate the subset condition
- D
It contains every possible element implicitly
Correct answer
CIt has no element that could violate the subset condition
Explanation
For ∅⊆A, there is no element of the empty set that could fail to belong to A. Thus the subset condition is satisfied vacuously.
- A
- 37
What is A∪B?
- A
The set of elements in A, in B, or in both
- B
The set containing only elements that occur twice
- C
The set of elements in both A and B only
- D
The set of elements in A but not in B
Correct answer
AThe set of elements in A, in B, or in both
Explanation
The union includes every element that belongs to at least one of the two sets.
- A
- 38
What is A∩B?
- A
The set of all subsets of A and B
- B
The set of elements belonging to at least one of A and B
- C
The set of elements in B but not in A
- D
The set of elements belonging to both A and B
Correct answer
DThe set of elements belonging to both A and B
Explanation
The intersection contains precisely the elements shared by both sets.
- A
- 39
What does A∖B contain?
- A
Elements of A that are not elements of B
- B
Elements of B that are not elements of A
- C
Elements that occur in both A and B
- D
All elements in either A or B
Correct answer
AElements of A that are not elements of B
Explanation
The set difference A∖B removes from A every object that is also an element of B.
- A
- 40
If A contains {3,4} as an element, does subtracting B={2,{3,4},∅} from A remove the numbers 3 and 4 individually?
- A
Yes, because all nested elements are removed automatically
- B
Yes, because they occur inside an element of B
- C
No, because set difference can remove only the number 2
- D
No, because 3 and 4 are not elements of B themselves
Correct answer
DNo, because 3 and 4 are not elements of B themselves
Explanation
Set difference removes elements of A that are elements of B. The element {3,4} may be removed, but 3 and 4 individually are not elements of B.
- A
- 41
What does set-builder notation do?
- A
It removes all repeated elements from a tuple
- B
It converts a tuple into a proposition
- C
It describes a set by selecting elements that satisfy a predicate
- D
It lists every element of a set in a fixed order
Correct answer
CIt describes a set by selecting elements that satisfy a predicate
Explanation
Set-builder notation specifies a universe of possible elements and a predicate that selected elements must satisfy, such as the natural numbers that are prime.
- A
- 42
Which set is described by {n∈N:n is prime}?
- A
The set of all possible values of the predicate “n is prime”
- B
The set of all integers that are not prime
- C
The set of all natural numbers greater than 1
- D
The set of prime natural numbers
Correct answer
DThe set of prime natural numbers
Explanation
The notation selects natural numbers satisfying the predicate “n is prime,” producing {2,3,5,7,11,…}.
- A
- 43
What is a tuple?
- A
An unordered collection in which repetitions are ignored
- B
A set defined by a predicate
- C
A proposition with several possible truth values
- D
An ordered list of elements in which repetitions are allowed
Correct answer
DAn ordered list of elements in which repetitions are allowed
Explanation
A tuple is an ordered list, usually written with parentheses. Unlike sets, tuples retain order and may contain repeated elements.
- A
- 44
Why are (6,1,2,0) and (6,1,2,0,0) different tuples?
- A
The first tuple is unordered while the second is ordered
- B
The number 0 cannot occur in a tuple more than once
- C
Tuples ignore repetitions but preserve only the first element
- D
They have different lengths because one contains a repeated element
Correct answer
DThey have different lengths because one contains a repeated element
Explanation
The first tuple has four elements, while the second has five. Repetitions are meaningful in tuples.
- A
- 45
Why are (6,1,2,0) and (2,1,6,0) different tuples?
- A
The second tuple contains a repeated element
- B
The elements occur in a different order
- C
The tuples contain different sets of elements
- D
Tuples must be written in increasing numerical order
Correct answer
BThe elements occur in a different order
Explanation
Tuples are ordered lists, so changing the order changes the tuple even when the same elements appear.
- A
- 46
What is an axiom?
- A
A conjecture supported by a sufficiently large number of examples
- B
A proposition proved from previously established theorems
- C
A proposition assumed to be true within a mathematical system
- D
A statement that is true in every possible mathematical system
Correct answer
CA proposition assumed to be true within a mathematical system
Explanation
Axioms provide the starting assumptions of a mathematical theory. They are taken as true for the purposes of that system.
- A
- 47
Why must mathematical systems begin with axioms?
- A
Axioms eliminate the need to define propositions
- B
Every mathematical statement is automatically self-evident
- C
Logical deductions need foundational assumptions from which to start
- D
Proofs can establish truth only through empirical observation
Correct answer
CLogical deductions need foundational assumptions from which to start
Explanation
Axioms serve as the foundation from which further propositions can be derived by logical reasoning.
- A
- 48
What is the parallel postulate in Euclidean geometry?
- A
Every pair of distinct lines must intersect exactly once
- B
No line can pass through a point that is not on another line
- C
Through a point not on a line, there is a unique parallel line
- D
Through every point, infinitely many lines pass parallel to every line
Correct answer
CThrough a point not on a line, there is a unique parallel line
Explanation
The parallel postulate states that for every point p not on a line l, there exists a unique line through p parallel to l.
- A
- 49
What did the development of non-Euclidean geometries show about the parallel postulate?
- A
It is logically forced by the definition of a line
- B
It can be derived only by testing many physical diagrams
- C
It is false in every consistent geometric system
- D
It cannot be proved from Euclid’s other four postulates
Correct answer
DIt cannot be proved from Euclid’s other four postulates
Explanation
Changing the parallel postulate while retaining the other axioms produces meaningful alternative geometries, showing that the postulate is independent of the first four.
- A
- 50
What geometry results when there are no lines through a point parallel to a given line?
- A
Euclidean geometry
- B
Hyperbolic geometry
- C
Coordinate geometry
- D
Spherical geometry
Correct answer
DSpherical geometry
Explanation
In spherical geometry, lines are great circles, and every pair of great circles intersects, so there are no parallel lines.
- A
- 51
In spherical geometry as described, what is a line?
- A
A curve that never intersects another great circle
- B
A circle contained entirely within a tangent plane
- C
A straight segment connecting two points on the sphere
- D
A great circle centered at the sphere’s center
Correct answer
DA great circle centered at the sphere’s center
Explanation
A line in spherical geometry is a great circle, whose center is the center of the sphere.
- A
- 52
What geometry results when infinitely many lines through a point are parallel to a given line?
- A
Arithmetic geometry
- B
Euclidean geometry
- C
Spherical geometry
- D
Hyperbolic geometry
Correct answer
DHyperbolic geometry
Explanation
Hyperbolic geometry allows infinitely many lines through a point not on a given line that do not intersect the given line.
- A
- 53
What does it mean for a set of axioms to be consistent?
- A
The axioms produce exactly the same geometry as Euclid’s axioms
- B
The axioms do not allow both a proposition and its negation to be proved
- C
Every proposition can be proved from the axioms
- D
The axioms are accepted because they seem intuitively obvious
Correct answer
BThe axioms do not allow both a proposition and its negation to be proved
Explanation
Consistency means that the system cannot prove a contradiction, such as both a proposition and its negation or that false is true.
- A
- 54
Why would proving that false is true make a mathematical system unusable?
- A
False cannot occur in a proposition involving variables
- B
A contradiction would make all axioms automatically false but no theorem true
- C
False implies anything, so every proposition would become provable
- D
Logical deduction would become possible only for geometric statements
Correct answer
CFalse implies anything, so every proposition would become provable
Explanation
By the principle of explosion, if false were provable, then false implies any proposition would make every statement provable.
- A
- 55
What does it mean for a set of axioms to be complete?
- A
The axioms contain every mathematical definition explicitly
- B
Every proposition has the same truth value in every model
- C
Every true proposition can be proved from the axioms
- D
No false proposition can be written using the axioms
Correct answer
CEvery true proposition can be proved from the axioms
Explanation
A complete axiom system proves every proposition that is true within the intended mathematical setting.
- A
- 56
What does Gödel’s Incompleteness Theorem imply for sufficiently powerful mathematical systems?
- A
Every consistent system is automatically complete
- B
A system can be complete only if it contains a contradiction
- C
A consistent system capable of arithmetic cannot also be complete
- D
Every true mathematical statement has a proof in arithmetic
Correct answer
CA consistent system capable of arithmetic cannot also be complete
Explanation
Gödel’s Incompleteness Theorem states that a sufficiently expressive consistent system, one capable of basic arithmetic, must contain true statements that cannot be proved within that system.
- A
- 57
What can happen when a true statement is unprovable from a chosen set of axioms?
- A
The statement cannot be true in any larger mathematical system
- B
Additional axioms may be needed to prove it
- C
The original axioms automatically become inconsistent
- D
The statement must actually be false
Correct answer
BAdditional axioms may be needed to prove it
Explanation
A true statement may be independent of a particular axiom system. Adding suitable axioms can make it provable, although the enlarged system may then have other unprovable truths.
- A
- 58
What kinds of facts are generally allowed as assumed background knowledge in this course?
- A
Only statements that have been experimentally verified
- B
Any claim that follows from a student’s intuition
- C
Familiar and elementary results from high school mathematics
- D
Every claim that appears in a published mathematical article
Correct answer
CFamiliar and elementary results from high school mathematics
Explanation
The course permits broadly familiar, simple facts typically included in high school mathematics, while encouraging students to identify such facts when using them in proofs.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.