/ html / wiki / math / binary-and-or / binary-and-or.html
binary-and-or.html
  1  <!DOCTYPE html>
  2  <html lang="de">
  3     <head>
  4        <meta charset="UTF-8" />
  5        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6        <meta http-equiv="onion-location" content="http://bopbopl6lohkl2rts3ltesjnag4hzs4jrx2h6k6etgq5xasbpqekzlqd.onion" />
  7        <title>BOP Wiki: Binary logical And / Or</title>
  8        <link rel="stylesheet" href="/assets/stylesheet.css" />
  9        <link rel="icon" type="image/x-icon" href="/assets/img/favicon.png">
 10     </head>
 11     <body>
 12         <header>
 13            <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
 14            <script src="/assets/js/navbar-OpenClose.js"></script>
 15            <script src="/assets/js/lightbox.js"></script>
 16            <script src="/assets/js/copyCodeButton.js"></script>
 17            <link rel="stylesheet" href="/resources/js-libraries/highlightJS/atom-one-dark.min.css">
 18            <script src="/resources/js-libraries/highlightJS/highlight.min.js"></script>
 19            <script src="/resources/js-libraries/highlightJS/highlightjs-line-numbers.min.js"></script>
 20            <script>hljs.highlightAll();</script>
 21            <script>hljs.initLineNumbersOnLoad();</script>
 22            <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
 23            <div class="branding">
 24               <button class="toggle-btn-navbar" id="navbarOpenButton">☰</button>
 25               <a href="/">
 26               <img class="logo" src="/assets/img/logo.png">
 27               </a>
 28               <div class="typing-animation">BytesOfProgress</div>
 29            </div>
 30         </header>
 31         <div id="navbarContainer" class="navbar-container">
 32            <iframe class="navbar-iframe" src="/assets/navbar/navbar.html" frameBorder= "0"></iframe>
 33         </div>
 34        <main>
 35  <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
 36  
 37  <article class="site-post">
 38     <header class="post-header">
 39        <h1 class="post-title">Binary logical And / Or</h1>
 40        <div class="post-meta">
 41        </div>
 42     </header>
 43  </article>
 44  
 45  <nav class="breadcrumb">
 46     <a href="/">Home</a>
 47     <span class="divider">›</span>
 48     <a href="/wiki/">Wiki</a>
 49     <span class="divider">›</span>
 50     <a href="/wiki/math/math.html">Mathematics</a>
 51     <span class="divider">›</span>
 52     <span class="current">Binary logical And / Or</span>
 53  </nav>
 54  
 55  <section class="post-content">
 56  
 57  <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
 58  
 59  
 60  
 61  <p>
 62    This will be fairly simple:
 63  </p>
 64  
 65  <span style="color:#ff6600">
 66      <h1 style="font-size:25px">Logical And</h1>
 67  </span>
 68  
 69  <p>
 70    The logical AND operation is fundamental in subnetting for accurately
 71    determining network addresses and refining subnet masks. This is of course
 72    just one of many usecases.
 73  </p>
 74  
 75  <p>
 76    1 & 0 = 0
 77  </p>
 78  
 79  <p>
 80    1 & 1 = 1
 81  </p>
 82  
 83  <p>
 84    0 & 1 = 0
 85  </p>
 86  
 87  <p>
 88    0 & 0 = 0
 89  </p>
 90  
 91  <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
 92  
 93  <span style="color:#ff6600">
 94      <h1 style="font-size:25px">Logical Or</h1>
 95  </span>
 96  
 97  <p>
 98     The logical OR operation is crucial for defining subnet masks and determining network addresses.
 99     This is just one of many usecases.
100  </p>
101  
102  <p>
103    1 | 0 = 1
104  </p>
105  
106  <p>
107    1 | 1 = 1
108  </p>
109  
110  <p>
111    0 | 1 = 1
112  </p>
113  
114  <p>
115    0 | 0 = 0
116  </p>
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
128  
129  
130  
131  
132  
133  
134  
135  
136  <!-- --------------------------------------------------------------------------------------------------------------------------------- -->
137  
138  </section>
139  <hr />
140  <footer class="post-footer">
141     <a href="/wiki/math/math.html" class="cta-button">← Back</a>
142  </footer>
143  </main>
144  </body>
145  </html>