19.6: Programming Exercises

Abstract Algebra: Theory and Applications · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under GNU Free Documentation, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    19.6: Programming Exercises

    1

    A Boolean or switching function on \(n\) variables is a map \(f : \{O, I\}^n \rightarrow \{ 0, I\}\text{.}\) A Boolean polynomial is a special type of Boolean function: it is any type of Boolean expression formed from a finite combinatio4n of variables \(x_1, \ldots, x_n\) together with \(O\) and \(I\text{,}\) using the operations \(\vee\text{,}\) \(\wedge\text{,}\) and \('\text{.}\) The values of the functions are defined in Table \(19.33\). Write a program to evaluate Boolean polynomials.

    \(Table \text { } 19.33.\) Boolean polynomials

    \(x\) \(y\) \(x'\) \(x \vee y\) \(x \wedge y\)
    \(0\) \(0\) \(1\) \(0\) \(0\)
    \(0\) \(1\) \(1\) \(1\) \(0\)
    \(1\) \(0\) \(0\) \(1\) \(0\)
    \(1\) \(1\) \(0\) \(1\) \(1\)

    This page titled 19.6: Programming Exercises was last modified on Tue, 01 Sep 2026 06:45:22 GMT and is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Thomas W. Judson (Abstract Algebra: Theory and Applications) via source content that was edited to the style and standards of the LibreTexts platform.