All Subjects
Bahria University10 Questions

Mathematics for Computer Science MCQs

Practice Mathematics for Computer Science multiple-choice questions for Bahria University competitive exams. Each question includes the correct answer and a short explanation, and past-paper questions are marked so you can revise both repeated and fresh material in one place.

O(n)
O(n log n)
O(n^2)
O(n^3)
ExplanationBig-O notation considers the highest order term, which in this case is n^2.
E
V + E
2E
V^2
ExplanationAccording to the Handshaking Lemma, the sum of the degrees of all vertices in a graph is equal to twice the number of edges.
1/8
3/8
1/2
2/3
ExplanationUsing the binomial distribution: (3 choose 2) * (0.5)^2 * (0.5)^1 = 3 * 0.125 = 0.375 or 3/8.
A is invertible
A is singular (non-invertible)
A must be a zero matrix
The trace of A is 0
ExplanationA square matrix is singular if and only if its determinant is 0, which is equivalent to at least one of its eigenvalues being 0.
NAND
XOR
Implication
Inhibit
ExplanationThe inhibit gate or operation performs a conjunction of one variable and the negation of another (P ∧ ¬Q).
3 elements
6 elements
8 elements
9 elements
ExplanationThe number of elements in the power set of a set with n elements is 2^n. For n=3, 2^3 = 8.
n(n+1)/2
n^2
n(n-1)
n(n+1)(2n+1)/6
ExplanationThis is the standard formula for the sum of the first n positive integers (the triangular number formula).
5
10
25
32
ExplanationThe cardinality of the power set of a set with n elements is 2^n. For n=5, 2^5 = 32.
f'(x) = 0
f'(x) > 0
f'(x) < 0
f'(x) is undefined
ExplanationA strictly increasing function must have a positive slope (derivative) across its domain.
0010
0110
1110
1000
ExplanationXOR returns 1 if bits are different and 0 if they are the same: 1^1=0, 0^1=1, 1^0=1, 0^0=0. So 1010^1100 = 0110.

Frequently Asked Questions

Are these Mathematics for Computer Science MCQs free?

Yes. Every Mathematics for Computer Science MCQ on this page is free to practice, including the correct answer and explanation.

Do these include past-paper questions?

Yes — questions sourced from past papers are clearly marked with a "Past Paper" badge, alongside fresh practice questions.

Which exams do these Mathematics for Computer Science MCQs help with?

They are aimed at Bahria University and related Pakistani competitive exams that test Mathematics for Computer Science.

How should I practice subject-wise MCQs?

Attempt each question first, then reveal the answer and read the explanation. Short, focused sessions on one subject work better than long unstructured reading.

We use cookies

We use essential cookies to keep the platform running and analytics cookies to understand usage. You can accept or reject analytics and advertising cookies.