سوال ۹۲ کنکور ارشد علوم کامپیوتر ۱۴۰۳
از دو فرمول زیر، کدامیک در فرم نرمال فصلی (DNF) است؟ ( ها اتماند.)
پاسخ صحیح: گزینهٔ C — هر دو
A propositional formula is in disjunctive normal form (DNF) when it is a disjunction of conjunctions of literals: where each is a literal (an atom or its negation ). The degenerate cases count too: a single literal is a (one-literal) conjunction, and a single conjunctive clause is a (one-clause) disjunction.
Formula . This is one conjunction of the two literals and . A lone conjunctive clause is a disjunction with a single disjunct, so matches the DNF shape. ✓
Formula . Since is associative, is just a disjunction of the three literals . Each literal is a (one-literal) conjunction, so this is a disjunction of conjunctions of literals — exactly DNF. ✓
Both and are in DNF, so the answer is both (option 3).
Pitfall: Don't disqualify for lacking a top-level , or for lacking any . DNF allows degenerate clauses: a single literal, a single conjunction, or a pure disjunction of literals all qualify. Negations must sit directly on atoms (they do here), and no may appear over a — neither formula violates that.