Week 122 of 145 ยท TAOCP Vol 4A: Combinatorial Algorithms, Part 1

TAOCP 7.1.2 Boolean Evaluation

2 tasks, 4 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Explain the cost and depth of a Boolean chain.
  • Compute a small Boolean chain such as a full adder.
  • Use don't-care inputs to find cheaper chains.

Week 122 ยท Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. A full adder has inputs x, y, z. Its sum bit is x โŠ• y โŠ• z. What is its carry bit?
  2. You compute x1 โŠ• x2 โŠ• x3 โŠ• x4 as (x1 โŠ• x2) โŠ• (x3 โŠ• x4). What are the chain's cost and depth?
  3. Why can don't-care inputs make a chain cheaper?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 122, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it