Because binary logic is used in all of today´s digital computers and devices, the cost of the circuit that implement it is important factor addressed by designers- be they computer engineers, electrical engineers, or computer scientist.
I discussed here different kinds of logic gate , their equivalent circuit, truth table,set representation,wave form etc. I also have discussed universal gate and their universality. I hope it will be helpful for others.
Contents:
1.What is number system?
2.Conversions of number from one radix to another
3.Complements (1's, 2's, 9's, 10's)
4.Binary Arithmetic ( Addition, subtraction, multiplication, division)
I discussed here different kinds of logic gate , their equivalent circuit, truth table,set representation,wave form etc. I also have discussed universal gate and their universality. I hope it will be helpful for others.
Contents:
1.What is number system?
2.Conversions of number from one radix to another
3.Complements (1's, 2's, 9's, 10's)
4.Binary Arithmetic ( Addition, subtraction, multiplication, division)
Principles of Combinational Logic: Definition of combinational logic, canonical forms, Generation of switching equations from truth tables, Karnaugh maps-3,4,5 variables, Incompletely specified functions (Don‘t care terms) Simplifying Max term equations
Computer and Network Technology (CNT) - Lecture 04Susantha Herath
Introduction to Boolean algebra, Sum of Products and Product of Sums expressions (SOP and POS expressions), basic laws of Boolean algebra, De-Morgan's law.
Enhancing Performance with Globus and the Science DMZGlobus
ESnet has led the way in helping national facilities—and many other institutions in the research community—configure Science DMZs and troubleshoot network issues to maximize data transfer performance. In this talk we will present a summary of approaches and tips for getting the most out of your network infrastructure using Globus Connect Server.
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Boolean Algebra
1. Demo Class
Boolean Algebra
by:
Hau Fung Moy Kwan, Ph.D
June, 18 2018
Education is not the learning of facts, but the training of the mind to think- ALBERT EINSTEIN
2. Table of contents
Introduction
Basic definition
Basic operations of boolean algebra
Boolean theorems
https://es.slideshare.net/amuicita/boolean-algebra-102566803
3. Introduction
Because binary logic is used in all of
today´s digital computers and devices,
the cost of the circuit that implement
it is important factor addressed by
designers- be they computer
engineers, electrical engineers, or
computer scientist.
Finding simpler and cheaper, but
equivalent, realizations of a circuit
can reap huge payoffs in reducing the
overall cost of the design.
Mathematical methods that simplify
circuits rely primarily on Boolean
algebra.
Hau Fung Moy Kwan, PhD.
1https://es.slideshare.net/amuicita/boolean-algebra-102566803
4. What is Boolean algebra?
Hau Fung Moy Kwan, PhD.
2
https://es.slideshare.net/amuicita/boolean-algebra-102566803
5. Where do you think Boolean algebra is used now
a days?
Hau Fung Moy Kwan, PhD.
3https://es.slideshare.net/amuicita/boolean-algebra-102566803
6. Boolean algebra
Basic Definition
Boolean algebra; it is the set of rules used to simplify by
given logic expression without changing its functionality.
Boolean algebra is a logical calculus of truth values. It deals
with two-values (true / false or 1 and 0) variables. The
symbols 0 and 1 are called bits.
Bit: a bit (short for binary digit) is the smallest unit
of data in a computer.
Hau Fung Moy Kwan, PhD.
4https://es.slideshare.net/amuicita/boolean-algebra-102566803
7. Basic operations of Boolean algebra
In Boolean algebra there are only three basic
operations:
1.- Logical Addition; OR Addition; OR operation.
The common symbol is the plus sign (+).
2.-Logical multiplication; AND multiplication; AND
operation.
The common symbol is the multiplication sign (.)
3.- Logical complementation or inversion. Also called the
NOT operation( )
Hau Fung Moy Kwan, PhD.
5https://es.slideshare.net/amuicita/boolean-algebra-102566803
8. Basic operations of Boolean algebra
The three basic logical operations are:
1.- OR
2.- AND
3.-NOT
OR operation:
If we have two independents variable A and B and we want to see what
the the result is when all together.
X= A + B
We can define the rules OR sum in a table. A and B are variable that
represent logic variable. A and B can be either 0 or 1 two possible values
Hau Fung Moy Kwan, PhD.
6https://es.slideshare.net/amuicita/boolean-algebra-102566803
9. Basic operations of Boolean algebra
AND operation:
If we have two varaibles two logic variables A and B and we want to know
what the result is X = A . B
We can use the truth table to define the rules for the AND operation
Let’s build it:
Hau Fung Moy Kwan, PhD.
7
https://es.slideshare.net/amuicita/boolean-algebra-102566803
10. Basic operations of Boolean algebra
Not Operation:
The NOT operation is unlike the or and AND operation in that it can be
performed on a single variable.
So, if we have a variable A subjective with a NOT operation the result X
will be express:
X= A Read as X equals Not A
We can summarize this rules in a truth table with:
Hau Fung Moy Kwan, PhD.
8https://es.slideshare.net/amuicita/boolean-algebra-102566803
11. A B X=A + B
0 0 0
0 1 1
1 0 1
1 1 1
Basic operations of Boolean algebra
Hau Fung Moy Kwan, PhD.
9
OR operation:
Truth table with A and B as variables
X= A +B
Symbol OR operation
A B C X=A + B
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
OR operation:
Truth table with A , B and C as variables
X= A +B + C
A
symbol OR operation
B
C
12. Basic operations of Boolean algebra
A B X=A . B
0 0 0
0 1 0
1 0 0
1 1 1
Truth table with A and B as variables Symbol AND operation
A
B
X= A . B
Note: like ordinary multiplication with AND multiplication you do not include
the dot is understood. Keep it out or leave it out. X=AB
A X= A
0 1
1 0
Symbol NOT operation
A X=A
inverter
Complementation, Inversion
Hau Fung Moy Kwan, PhD.
10
14. Boolean Theorems
Boolean algebra can be used to analyzed a logic circuit and
express it is operation mathematically.
Once the Boolean expresion for a logic circuit has been
obtained it may often be reduced to a simpler form using
boolean algebra
The most important application of Boolean algebra that is the
simplification of logic circuits.
By using Boolean theorems to simplify logic expressions
Hau Fung Moy Kwan, PhD.
12
15. The first group of Boolean theorems we are going to define
are:
1. Single variable theorems: we are going to dealing with one
variable.
X, X=0 or X=1
Boolean Theorems
Hau Fung Moy Kwan, PhD.
13
16. 2.- Multivariable theorems:
Commutative laws;
X+ Y= Y+X
X.Y= Y.X
The order in which we add or multiply two variables in
unimportant.
Associative law;
X +(Y+Z)= (X+Y)+Z = X+Y+Z
X(Y.Z)= (X.Y).Z = XYZ
We can group the terms of a sum or product any way we want.
Boolean Theorems
Hau Fung Moy Kwan, PhD.
14
17. Boolean Theorems
2.- Multivariable theorems:
Distributive law;
X(Y+Z)= XY + XZ
An expression can be expanded by multiplying term by term
X+XY =X
X +XY=X+Y
Now, let’s simplify an expression Y=ABD+ABD
Hau Fung Moy Kwan, PhD.
15
18. X
X
X
1
X
0
X
X.0 = 0
X.1 = X
X.X = X
X. X = 0
X+0 = X
X + 1= 1
X+X = X
X+X = 1
X
0
0
X
X
1
Boolean Theorems
Single variable theorems
Hau Fung Moy Kwan, PhD.
16
X X
X
0
X
X
X
0
1
X
1
Let’s summarize:
20. Let’s proof some Boolean theorems
1. x + x = x
2. DeMorgan’s theorem, 𝑥 + 𝑦 = 𝑥 𝑦, their validity is easily shown with truth tables.
For example:
X Y X+ Y ( X + Y )
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
X Y ( X + Y )
1 1 1
1 0 0
0 1 0
0 0 0
Hau Fung Moy Kwan, PhD.
18
21. What are the practical applications of logic
gates?
You practically applied Millions of logic gates to inquire as to what is the practical
application of logic gates.
That's because the logic gates are the building blocks for all computers, smart
phones and the whole internet. Let’s see some day to day applications of the 3 basic
gates, that a common person may relate to:
OR Gate
Hau Fung Moy Kwan, PhD.
19
ON/OFF
Front Doorbell Switch
Back Doorbell Switch
0 Doorbell
ON/OFF
If either the Front Door switch OR the
Back Doorbell Switch is pressedthen
the Doorbell rings
22. AND Gate
What are the practical applications of logic
gates?
ON/OFF
Person Sensor
Alarm Switch
0
Burglar Alarm
ON/OFF
ON/OFF
If both the Person Sensor AND the
Alarm Switch are on then the Burglar
Alarm is activated
Hau Fung Moy Kwan, PhD.
20https://es.slideshare.net/amuicita/boolean-algebra-102566803
23. What are the practical applications of logic
gates?
NOT Gate
Hau Fung Moy Kwan, PhD.
21
Tempeture Detector
(Above 20 ℃ )
ON/OFF
ON/OFF
If the Temperature is Above 20 ℃ then
the Central heating is switch off.
If the Temperature is below20 ℃ then
the Central heating is switch on.
Central Heating
24. Bibliography
Books:
Online web pages to practices:
http://www.ee.surrey.ac.uk/Projects/Labview/boolalgebra/quiz/index.html
https://math.stackexchange.com/questions/653201/exercise-regarding-boolean-algebra
Personal Blog: https://sites.google.com/site/haumoy/ Canvas
Hau Fung Moy Kwan, PhD.
22
25. Thank You!!!
“A person who never made a mistake never tried anything new”
“Never give up on what you really want to do.
The person with big dreams is more powerful than one with all the facts”
-Albert Eistein
amuicita@yahoo.com 385-202-9927
https://www.linkedin.com/in/hau-moy-4b491620/
https://sites.google.com/site/haumoy/ Canvas
Hau Fung Moy Kwan, PhD.
23
Editor's Notes
Therefore, this class provides a basic vocabulary and brief foundation in Boolean algebra that will enable you optimize simple circuits and to under-stand the purpose of algorithms used by software tools to optimize complex circuits involving millions of logical gates.