4 views

Uploaded by Manuel Ake

save

- Even Odd 2009 LDST 2013
- Problem Characteristics
- Alan H. Mekler and Saharon Shelah- Some Compact Logics - Results in ZFC
- DIG_01 new
- Assignments Logsig n
- DLD.pdf 1
- Lab3
- hw1sol
- Chap4_boolean Algebra and Logic Gates
- Image Compression Using Sand Algorithm
- Multiple Choice Questions of Computer Science
- SIB11 Calculation
- Syllabi
- Intro Compute
- Lecture 20
- PDMS attributes1
- Units of Measurements
- MTK3013-Chapter1.1 Propositional Logic.ppt
- CC301B - Discrete Mathematics
- Karnaugh Mapping This Worksheet and All Related Files Are Licensed ...
- Boolean Logic and simplified Boolean rules
- c Sed Binary
- Assembly language
- 2 - Com Bi National Logic Circuits
- Play Station Robot Controller
- Module 5 Digital Instrument
- Print
- Ece
- Siemens s7-300 Programming
- Data Types in Visual Basic 6
- SNA753BM
- Garner95 ML Agri
- Redes Sociales una Introducción
- Introducción a ARS
- um0081.pdf
- Social Network Mesurment
- Areas
- Ejercicio 5
- Parcial_1Tarea_1_2013_1_
- Medidas de Centralidad en una Red de Co-Autores
- Puerto Paralelo en Linux
- Truth Table1.pdf
- List of Mathematical Symbols
- Break-up-ITM
- Лекция C#
- BB - Raciocínio lógico - 5 - 2012
- 2 - Operações Elementares, Tipos de Dados, Variáveis e Expressões 2012
- Portas Lógicas.pdf
- Science of Information
- Instruction Set of 8085.PDF Imp1
- Apostila Javascript
- Manual Programação Em STL
- Lista de Exercícios - Circuitos Digitais - Frank Vahid
- All Lectures Adila
- Assembleur INTEL
- AP CAP I Algebra Das Proposicoes Final
- Understanding FBD Programming Language
- EE089-Digital Technique 2-Th-Inst.pdf
- 2 - 3 - Lecture 2 - Logical Combinators (2654)
- IRJET-Online java compiler with security editor
- Tabulation
- Daftar Simbol Matematika
- Real Analysis
- FBSY0712enenUS.pdf
- RLM Descomplicado
- RAID Concepts
- A Tutorial on White-box AES
- 10.1.1.35
- 4)XOR Prac 4
- Vlsi Design Lab Manual
- Lógica de Proposições e Circuitos

You are on page 1of 3

**A bit is the minimum amount of information that we can imagine, since it only stores either value 1 or
**

0, which represents either YES or NO, activated or deactivated, true or false, etc... that is: two possible

states each one opposite to the other, without possibility of any shades. We are going to consider that

the two possible values of a bit are 0 and 1.

**Several operations can be performed with bits, either in conjunction with other bits or themselves
**

alone. These operations receive the name of boolean operations, a word that comes from the

name of one of the mathematicians who contributed the more to this field: George Boole (1815-1864).

All these operations have an established behavior and all of them can be applied to any bit no matter

which value they contain (either 0 or 1). Next you have a list of the basic boolean operations and a

table with the behavior of that operation with every possible combination of bits.

AND

This operation is performed between two bits, which we will call a and b. The result of applying this

AND operation is 1 if both a and b are equal to 1, and 0 in all other cases (i.e., if one or both of the

variables is 0).

AND (&)

a b a&b

0 0 0

0 1 0

1 0 0

1 1 1

OR

This operation is performed between two bits (a and b). The result is 1 if either one of the two bits is 1,

or if both are 1. If none is equal to 1 the result is 0.

OR (|)

a b a|b

0 0 0

0 1 1

1 0 1

1 1 1

XOR (Exclusive Or)

This operation is performed between two bits (a and b). The result is 1 if either one of the two bits is 1,

XOR (^) a b a^b 0 0 0 0 1 1 1 0 1 1 1 0 NOT This operation is performed on a single bit. and if it was 0 it becomes 1: NOT (~) a ~a 0 1 1 0 These are the 4 basic boolean operations (AND. supposing two variables: a and b. The operation is performed between the bits of the two variables that are located at the same position: The rightmost bit of c will contain the result of conducting the AND operation between the rightmost bits of a and b: The same operation is also performed between the second bits of both variables. if neither or both of them are equal to 1 the result is 0. these operators can be used with variables of any integer data type. that we conducted a bitwise AND operation between a and b. unsigned char b=87. 2 unsigned char c. 4 That means. Its result is the inversion of the actual value of the bit: if it was set to 1 it becomes 0. and so on. and the third. both of type unsigned char. If we write the following code: 1 unsigned char a=195. 3 c=a&b. There for. OR. until the operation is performed between all bits of both variables (each one only with the same bit of the other variable).but not in the case that both are. the boolean operation is performed to all of the bits of each variable involved. . For example. XOR and NOT). In C++. where a contains 195 (11000011 in binary) and b contains 87 (or 01010111 in binary). Combining these operations we can obtain any possible result from two bits.

The final binary value of c is 01000011. So 195&87 is equal to 67. that is 67 in decimal numbers. .

- Even Odd 2009 LDST 2013Uploaded byyazdanie
- Problem CharacteristicsUploaded byJagjeet Kaur
- Alan H. Mekler and Saharon Shelah- Some Compact Logics - Results in ZFCUploaded byHutsDM
- DIG_01 newUploaded byboymatter
- Assignments Logsig nUploaded byDcas Rianne
- DLD.pdf 1Uploaded bykarkambadi
- Lab3Uploaded byGagana P
- hw1solUploaded byHuyen Do
- Chap4_boolean Algebra and Logic GatesUploaded bymichiemar
- Image Compression Using Sand AlgorithmUploaded byIAEME Publication
- Multiple Choice Questions of Computer ScienceUploaded byZahur Akbar
- SIB11 CalculationUploaded byNaveen Vengaldas
- SyllabiUploaded bySaranya Thangaraj
- Intro ComputeUploaded byRajanikanth Bougolla B
- Lecture 20Uploaded byJames Luke Sunga
- PDMS attributes1Uploaded byErden Baldži
- Units of MeasurementsUploaded byJon-boy Berbano
- MTK3013-Chapter1.1 Propositional Logic.pptUploaded byfadzniaidil
- CC301B - Discrete MathematicsUploaded bypraveen
- Karnaugh Mapping This Worksheet and All Related Files Are Licensed ...Uploaded byNimesh999
- Boolean Logic and simplified Boolean rulesUploaded bydjpsychoscientz
- c Sed BinaryUploaded byppant21
- Assembly languageUploaded byteesra3
- 2 - Com Bi National Logic CircuitsUploaded byRey Christopher Castillo
- Play Station Robot ControllerUploaded bysnipersp
- Module 5 Digital InstrumentUploaded byHendry Foo
- PrintUploaded bykirubhag4878
- EceUploaded byDhananjaya Hanumaiah
- Siemens s7-300 ProgrammingUploaded byPrittam Kumar Jena
- Data Types in Visual Basic 6Uploaded bysumedh_dharia

- SNA753BMUploaded byManuel Ake
- Garner95 ML AgriUploaded byManuel Ake
- Redes Sociales una IntroducciónUploaded byManuel Ake
- Introducción a ARSUploaded byManuel Ake
- um0081.pdfUploaded byManuel Ake
- Social Network MesurmentUploaded byManuel Ake
- AreasUploaded byManuel Ake
- Ejercicio 5Uploaded byManuel Ake
- Parcial_1Tarea_1_2013_1_Uploaded byManuel Ake
- Medidas de Centralidad en una Red de Co-AutoresUploaded byManuel Ake
- Puerto Paralelo en LinuxUploaded byManuel Ake

- Truth Table1.pdfUploaded bySanjay Nath
- List of Mathematical SymbolsUploaded byfunnyrokstar
- Break-up-ITMUploaded byapi-3749401
- Лекция C#Uploaded byArtem Shazhko
- BB - Raciocínio lógico - 5 - 2012Uploaded byjanenogueira
- 2 - Operações Elementares, Tipos de Dados, Variáveis e Expressões 2012Uploaded byIsabel Bastos
- Portas Lógicas.pdfUploaded byRogérioPaganiniValentini
- Science of InformationUploaded byCh Ath Das Chagas
- Instruction Set of 8085.PDF Imp1Uploaded byKRISHNAVINOD
- Apostila JavascriptUploaded byRudileine Fonseca
- Manual Programação Em STLUploaded bylourivalstremel
- Lista de Exercícios - Circuitos Digitais - Frank VahidUploaded byElder Santos
- All Lectures AdilaUploaded byrustamnortojiyev
- Assembleur INTELUploaded bytyty357
- AP CAP I Algebra Das Proposicoes FinalUploaded byEdmilson Júnior
- Understanding FBD Programming LanguageUploaded bysafwan10
- EE089-Digital Technique 2-Th-Inst.pdfUploaded bySameera
- 2 - 3 - Lecture 2 - Logical Combinators (2654)Uploaded byhodgeheg9991234
- IRJET-Online java compiler with security editorUploaded byIRJET Journal
- TabulationUploaded byGoldie Espedillon
- Daftar Simbol MatematikaUploaded byKhairil
- Real AnalysisUploaded byAkash Mahalik
- FBSY0712enenUS.pdfUploaded byPaul
- RLM DescomplicadoUploaded byJonathas Oliveira
- RAID ConceptsUploaded byRakendra Thapa
- A Tutorial on White-box AESUploaded bymmorsy1981
- 10.1.1.35Uploaded byGurava Reddy Butukuri
- 4)XOR Prac 4Uploaded byAmmar Naveed Bajwa
- Vlsi Design Lab ManualUploaded byjitu123456789
- Lógica de Proposições e CircuitosUploaded bynayarapadilha