سوال ۷۸ کنکور ارشد مهندسی کامپیوتر ۱۴۰۵
کدام مورد سادهترین عبارت جمع حاصلضربها (SOP) برای رابطه زیر است به نحوی که مخاطره (هازارد) نداشته باشد؟
پاسخ صحیح: گزینهٔ C —
Reading the specification
lists the maxterms (positions where ). With marking don't-cares, and the MSB, the LSB:
- at
- at
- at the rest:
Karnaugh map
Rows , columns (Gray-code order):
| cd=00 | 01 | 11 | 10 | |
|---|---|---|---|---|
| ab=00 | X | X | 0 | 0 |
| 01 | 0 | 1 | 1 | 1 |
| 11 | 0 | 0 | 1 | 0 |
| 10 | 1 | 1 | 0 | 0 |
Minimum cover
Each 1-cell forces a product term:
- pairs only with
- pairs only with
- pairs with
- lie in : the maximal group also swallows the don't-cares , whereas covers only .
Either way the on-set is a four-term cover: .
The hazard test — why , not
A two-level SOP is static-1-hazard-free iff every pair of adjacent 1-cells shares a common product term.
With (option 2) the don't-cares become 1. Now and are adjacent 1-cells, but is held only by and only by — no shared term, so the -transition glitches: a static-1 hazard. Killing it needs the consensus term , which is exactly the five-term option 4.
With (option 3) the don't-cares stay 0, so no new adjacency is introduced. The four on-set adjacencies are each already spanned by one term:
Hence option 3 is hazard-free with only four terms — the simplest hazard-free SOP.
(Option 1 is invalid outright: covers , all of which must be 0.)
Exam trick: Enlarging a group by absorbing don't-cares can create a hazard. is the cheaper term but turns into 1 and opens the – transition; leaving those cells at 0 with keeps the cover hazard-free without paying for a consensus term.