All Subjects
Bahria University10 سوالات

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)
وضاحتBig-O notation considers the highest order term, which in this case is n^2.
E
V + E
2E
V^2
وضاحتAccording 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
وضاحتUsing 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
وضاحتA 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
وضاحتThe 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
وضاحتThe 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
وضاحتThis is the standard formula for the sum of the first n positive integers (the triangular number formula).
5
10
25
32
وضاحتThe 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
وضاحتA strictly increasing function must have a positive slope (derivative) across its domain.
0010
0110
1110
1000
وضاحتXOR 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.

ہم کوکیز استعمال کرتے ہیں

ہم پلیٹ فارم کو چلانے کے لیے ضروری کوکیز اور استعمال سمجھنے کے لیے analytics کوکیز استعمال کرتے ہیں۔ آپ analytics اور advertising کوکیز قبول یا رد کر سکتے ہیں۔