KonkurStudy
کنکور ارشد علوم کامپیوتر

کارت‌های مفهوم و فرمول کنکور ارشد علوم کامپیوتر

همهٔ 285 کارت مطالعهٔ کنکور کارشناسی ارشد علوم کامپیوتر — فرمول‌ها، قضیه‌ها، تعریف‌ها، الگوریتم‌ها و نکته‌ها، هر کدام با پیوند به سوالاتی که آن را می‌سنجند.

1–60 از 285

مفهومریاضیات گسسته
Linear Homogeneous Recurrences — Characteristic Equation

Turn a constant-coefficient recurrence into a polynomial; its roots (and their multiplicity) give the closed form.

recurrencecharacteristic-equationrepeated-rootslinear-homogeneous
مفهومریاضی عمومی
Exact Representability in a Normalized Binary Floating-Point System

A machine operation is error-free only when its exact result fits a normalized t-bit mantissa (leading bit 1) times a power of two.

floating-pointbinaryrounding-errornormalized-mantissa
قضیهجبر خطی
Determinant of an inverse block via the Schur complement

The bottom-right block H of M^{-1} satisfies det(M)det(H)=det(A), the diagonally opposite block.

block-matrixdeterminantschur-complementmatrix-inverse
فرمولآمار و احتمال
Coefficient of Variation

CV = sigma/mu normalizes spread so data sets with different means can be compared for relative variability.

coefficient-of-variationdispersionstandard-deviationmean
مفهومجبر خطی
Testing Complex Linearity (additivity + C-homogeneity)

A map between C-vector spaces is C-linear iff it is additive and homogeneous for every complex scalar.

linear-transformationcomplex-vector-spacehomogeneityadditivity
مفهومآمار و احتمال
Conditional Probability with Law of Total Probability

Split the conditioning event into disjoint pieces to expand its probability, then apply the conditional-probability definition.

conditional-probabilitylaw-of-total-probabilityjoint-probabilityevents
قضیهریاضی عمومی
Bijectivity of a Cubic via Derivative Discriminant

A real cubic is bijective exactly when its derivative never changes sign, i.e. the discriminant of P' is non-positive.

cubic-polynomialbijective-functionmonotonicitydiscriminant
قضیهجبر خطی
Eigenvalues and Eigenvectors: Characteristic Polynomial and Special Matrices

Eigenvalues are the roots of $\det(A-\lambda I)$, and structure pins them down: triangular matrices show them on the diagonal, nilpotents force $0$, and real symmetric matrices have real eigenvalues with orthogonal eigenvectors.

eigenvalueseigenvectorscharacteristic-polynomialtriangular-matrix
مفهومریاضیات گسسته
Quotient of the Power Set by Finite Symmetric Difference

On subsets of N, A is equivalent to B iff A delta B is finite: each class is countable, but there are continuum-many classes.

symmetric-differenceequivalence-relationquotient-setcardinality
فرمولریاضی عمومی
Fourth-Order Five-Point Central Difference for f''

The symmetric 5-point stencil approximates f'' to order h^4 using coefficients {-1, 16, -30, 16, -1}/(12h^2).

finite-differencessecond-derivativefive-point-stenciltaylor-series
قضیهریاضی عمومی
Order of Convergence of Fixed-Point Iteration

The order of a fixed-point iteration equals the index of the first non-vanishing derivative of g at the fixed point.

fixed-point-iterationorder-of-convergencenumerical-analysiscubic-convergence
فرمولریاضی عمومی
Sum of a Geometric Series

A geometric series with |r| < 1 converges to (first term) / (1 - r).

geometric-seriesseries-convergencecommon-ratioinfinite-sum
قضیهجبر خطی
Idempotent symmetric invertible matrix forces identity

An invertible idempotent matrix must equal the identity, so all its eigenvalues are 1.

idempotentsymmetric-matrixinvertibleeigenvalues
مفهومریاضیات گسسته
Functions: Well-Definedness, Injectivity/Surjectivity, Images & Preimages

A function is a total single-valued map; injectivity/surjectivity/bijectivity control cardinality, and preimages commute with every set operation while images only respect unions.

functionswell-definedinjectivesurjective
الگوریتمریاضی عمومی
Improper Double Integral over the Plane via Polar Coordinates

Convert a radially symmetric integral over the whole plane to polar form, reducing it to a single improper p-integral in r.

double-integralpolar-coordinatesimproper-integralconvergence
فرمولآمار و احتمال
Inclusion-Exclusion for Two Sets

Count the union of two sets by adding their sizes and subtracting the double-counted overlap.

inclusion-exclusionset-cardinalityvenn-diagramcounting
مفهومریاضیات گسسته
Unions and Intersections of Indexed Interval Families

For nested indexed intervals, a union takes the largest member and an intersection takes the smallest.

indexed-familiesset-operationsintervalsunion-intersection
مفهومریاضی عمومی
Integral function of a monotone integrand

If f is increasing on [a,b], then g(x)=∫_a^x f is convex, continuous, and Lipschitz, but increasing only when f≥0.

antiderivativemonotonicityconvexitylipschitz
الگوریتمریاضی عمومی
Evaluating an Iterated Double Integral

Compute an iterated double integral from the inside out, treating the outer variable as a constant during the inner integration.

double-integraliterated-integralfubiniintegration-by-parts
فرمولجبر خطی
Least-Squares Normal Equations (A^T A)

An overdetermined system Ax=b is fit by least squares via the normal equations A^T A x = A^T b.

least-squaresnormal-equationsdesign-matrixtrace
الگوریتمریاضی عمومی
Minimum Distance from a Quadric Surface to a Plane

Minimize the plane-distance formula over the surface, often collapsing to an algebraic inequality.

minimum-distancelagrange-multipliersquadric-surfaceplane
مفهومریاضیات گسسته
Negating Quantified Statements (Predicate-Logic De Morgan)

To negate a quantified sentence, push the negation inward: flip every quantifier ($\forall\leftrightarrow\exists$) in order and negate the innermost predicate, turning $\wedge/\vee$ and $\to$ by De Morgan.

quantifier-negationde-morganpredicate-logicnegation-of-implication
قضیهجبر خطی
Null Space of a Rectangular Matrix (Rank-Nullity)

For an m x n matrix, dim(null space) = n - rank(A), so any wide matrix (more columns than rows) always has nonzero kernel.

null-spacerank-nullityhomogeneous-systemtranspose
مفهومریاضی عمومی
Open/closed classification of infinite unions and intersections of intervals

Infinite unions of closed intervals can be open and infinite intersections of open intervals can be closed, so always compute the actual set.

open-closed-setsinfinite-unioninfinite-intersectionreal-line-topology
مفهومریاضیات گسسته
Permutations with a Fixed Position

When some elements are locked into specific slots, only permute the remaining free elements.

permutationsfactorialfixed-positioncounting
فرمولریاضی عمومی
Radius of Curvature of a Parametric Plane Curve

For a plane curve $r(t)=(x(t),y(t))$, the radius of curvature is $R=1/\kappa$ with $\kappa=|x'y''-y'x''|/((x')^2+(y')^2)^{3/2}$.

curvatureradius-of-curvatureosculating-circleparametric-curve
قضیهریاضی عمومی
Stokes' Theorem for Line Integrals

Convert a hard closed line integral into a curl flux through any bounding surface.

stokes-theoremline-integralcurlsurface-integral
قضیهریاضی عمومی
Uniform Continuity on the Real Line

A function continuous on R with finite limits at both +inf and -inf is uniformly continuous.

uniform-continuitycontinuitylimits-at-infinitymonotone-functions
فرمولآمار و احتمال
Survival Probability under a Single Uniform Hit

When one hit strikes exactly one of n items uniformly, any k specific items all survive with probability (n-k)/n.

probabilityuniform-outcomescomplementcounting
قضیهریاضیات گسسته
Zorn's Lemma and Equivalents of the Axiom of Choice

Zorn's Lemma, the Hausdorff Maximal Principle, well-ordering, and cardinal comparability are all logically equivalent to the Axiom of Choice.

axiom-of-choicezorns-lemmapartial-ordermaximal-element
مفهومریاضی عمومی
Numerical Interpolation: Polynomial and Spline

Fit data exactly with the unique degree-n polynomial (Lagrange/Newton) or a smooth C^2 cubic spline, and bound the polynomial error by f^(n+1)/(n+1)! times the node product.

interpolationpolynomial-interpolationlagrange-interpolationnewton-divided-differences
مفهومطراحی الگوریتم
Insertion Sort on Nearly-Sorted Arrays

Insertion sort is adaptive: it runs in $\Theta(n)$ on nearly-sorted input where merge/quicksort still pay $\Theta(n\log n)$.

insertion-sortadaptive-sortingnearly-sortedcomparison-count
الگوریتمطراحی الگوریتم
All-Pairs Shortest Path via Floyd-Warshall

Floyd-Warshall is the dynamic-programming algorithm that finds shortest paths between every pair of vertices in $\Theta(n^3)$.

all-pairs-shortest-pathfloyd-warshalldynamic-programminggraph-algorithms
مفهومطراحی الگوریتم
Asymptotic Notation (O, Omega, Theta) Manipulation Rules

Adding terms of lower-or-equal order keeps Theta; the largest term dominates, and identities can break when f is not assumed to grow.

asymptotic-notationbig-thetabig-omegabig-o
مفهومطراحی الگوریتم
Backtracking vs. Branch and Bound in State-Space Search

Backtracking suits feasibility/constraint-satisfaction searches; Branch and Bound adds a cost bound for optimization.

backtrackingbranch-and-boundstate-space-treen-queens
مفهومطراحی الگوریتم
BFS Scans Each Undirected Edge Exactly Twice

On adjacency lists, BFS touches every undirected edge twice (once per endpoint), giving total work $\Theta(V+E)$.

bfsgraph-traversaladjacency-listrunning-time
مفهومساختمان داده
Height and Leaf Bounds of a Binary Search Tree

A plain BST is not balanced, so its height ranges from $\Theta(\log n)$ down to $n-1$ and its leaf count from $1$ to $\lceil n/2\rceil$.

binary-search-treetree-heightleavesdegenerate-tree
مفهومساختمان داده
Worst-case height of an unbalanced BST

A plain BST has no balance guarantee, so its worst-case height is $\Theta(n)$, making search/min/max $O(n)$.

binary-search-treetree-heightworst-caseskewed-tree
الگوریتمنظریه زبان‌ها و ماشین‌ها
Membership via per-branch counting invariants of a CFG

Read off the single count equality each grammar branch enforces, then test a candidate string by comparing letter counts instead of building derivations.

context-free-grammarmembershipcounting-invariantunion-of-branches
مفهومنظریه زبان‌ها و ماشین‌ها
Context-Free Closure and Single-Stack Matching

A language is context-free if its only stack obligation is one matching, plus regular filters that closure preserves.

context-freeclosure-propertiesPDACFG
مفهومنظریه زبان‌ها و ماشین‌ها
Counting strings accepted by a DFA via complement (trap state)

When almost all states accept, count total strings and subtract those that fall into the trap state.

DFAcountingtrap-statecomplement
مفهومطراحی الگوریتم
Dijkstra Correctness Conditions

Dijkstra is correct iff all edge weights are non-negative; cycles (even directed) are irrelevant.

dijkstrashortest-pathsnon-negative-weightsgreedy
نکتهطراحی الگوریتم
Dijkstra Requires Non-Negative Edge Weights

Dijkstra is correct only when all edge weights are non-negative; 'no negative cycle' is not enough.

dijkstrashortest-pathsnegative-weightsgreedy
مفهومطراحی الگوریتم
Huffman Coding: Prefix Codes, Optimality & k-ary Merge

Huffman greedily merges the smallest weights into an optimal prefix-free tree; the same rule gives k-ary (e.g. ternary) Huffman and optimal-merge patterns whose cost is the weighted path length.

huffman-codingprefix-codegreedyoptimal-merge-pattern
مفهومطراحی الگوریتم
k-Way Merge Time Complexity

Merging $k$ sorted lists with $n$ total elements costs $\Theta(n\log k)$, which is $O(n)$ only when $k$ is constant.

k-way-mergemergemin-heaplower-bound
الگوریتمطراحی الگوریتم
Kruskal's Algorithm: Cycle-Creating Edges Are Rejected

Kruskal sorts edges by weight and accepts an edge only if its endpoints lie in different components; otherwise it would close a cycle and is rejected.

kruskalminimum-spanning-treeunion-findcycle-detection
قضیهطراحی الگوریتم
Master Theorem Case 3 (work-dominated recurrence)

When the per-call work f(n) outgrows the watershed n^(log_b a), the recurrence is dominated by the top level and T(n)=Theta(f(n)).

master-theoremrecurrenceasymptotic-analysisdivide-and-conquer
فرمولطراحی الگوریتم
Median-Pivot Quicksort Recurrence

Picking the exact median as pivot gives a perfectly balanced split, yielding $T(n)=2T(n/2)+f(n)+\Theta(n)=O((n+f(n))\log n)$.

quicksortmedianpivot-selectionrecurrence
الگوریتمطراحی الگوریتم
Minimum Spanning Tree (Kruskal/Prim)

Greedily build a cheapest set of edges that connects all vertices with no cycle, using exactly n-1 edges.

minimum-spanning-treekruskalprimgreedy
قضیهنظریه زبان‌ها و ماشین‌ها
Proving languages non-context-free via the pumping lemma

Pick the right boundary string, then show every split uvxyz with |vxy|<=p can be pumped out of the language.

pumping-lemmanon-cflcontext-freecross-serial-dependency
مفهومساختمان داده
Optimal Binary Search Tree

BST over n keys with access frequencies that minimizes expected search cost, not height.

optimal-bstbinary-search-treedynamic-programmingsearch-cost
مفهومطراحی الگوریتم
Output-size lower bound forces exponential enumeration

An algorithm cannot run faster than the size of the output it must produce, so enumerating exponentially many objects takes exponential time.

output-sensitiveexponentialpath-enumerationlower-bound
الگوریتمنظریه زبان‌ها و ماشین‌ها
Tracing a PDA stack to decide string acceptance

Simulate the PDA step by step, tracking the stack; accept only if input is fully consumed AND you land in a final state (or empty the stack).

pushdown-automatastack-tracestring-acceptanceepsilon-transition
مفهومنظریه زبان‌ها و ماشین‌ها
Deciding regex membership via a structural rule

Translate a regular expression into a forbidden-pattern rule, then test a string by structure instead of full parsing.

regular-expressionstring-membershipkleene-starforbidden-substring
قضیهنظریه زبان‌ها و ماشین‌ها
Right Quotient of a Regular Language by a Symbol

L/{a} = {w : wa in L} is regular: keep the DFA, only re-mark accepting states.

regular-languagesclosure-propertiesright-quotientdfa
مفهومنظریه زبان‌ها و ماشین‌ها
Parity is regular; matching equal counts is not

Finite (bounded) memory like parity stays regular; comparing unbounded counts does not.

regular-languagespumping-lemmadfaparity
فرمولطراحی الگوریتم
Element Contribution Across All Subsets

Each element of an n-set sits in exactly $2^{n-1}$ subsets, so the total of all subset-sums is $2^{n-1}$ times the element sum.

combinatoricssubsetscountingpower-set
مفهومطراحی الگوریتم
Subtract-and-Conquer Recurrence Growth

When the argument shrinks by a constant (n-1) instead of a factor, unroll the recurrence; a branching factor a>1 gives exponential growth $\Theta(a^n)$.

recurrence-relationasymptotic-analysissubtract-and-conquerexponential-growth
مفهومطراحی الگوریتم
Interpreting Worst-Case Upper Bounds

A worst-case upper bound ("runs in at most ...") limits the slowest run but says nothing about average case or behavior on a specific input.

worst-caseupper-boundsasymptotic-analysisgrowth-rates
مفهومنظریه زبان‌ها و ماشین‌ها
Shuffle (Interleaving) Product of Automata

A product automaton that advances one component per symbol recognizes the shuffle of the two languages.

automatashuffleclosureregular-languages