Logical operation. Basic logic operations

Computer science as a science about the methods of collecting, organizing and processing various data begins its development in the middle of the twentieth century. Although some historians believe that the formation of computer science began in the 17th century, with the invention of the first mechanical calculator, most associate it with the era of more advanced computing. In the 40s of the 20th century, with the advent of the first computers, computer science received a new impetus in development.

The subject of computer science

, , , . .

logical operation




. . – , , . , . , . , , , , , – , , , .





, . , , , . true false 1 () 0 (). , , . , , – , .

, 2 . – , (, , ). , ( , ). , : , .

basic logic operations




. . . , «», «». – «» «». «» .





() . bi, «», , . .

, .

() ().

«» - n . ( ), () (n- ). .

logical operations and or




. . () . , , «», 1, . , «», «».

concept of logical operation




: 0 0. : , , .

, . . 3 . , , .

«» - , . – , . , , ( ), n-.

logical operation order




. «» . «», 0, 0 («»). «», 1. («») . , .

, , , , , . , , .

logical operation and




, . . , , , , .

, , .

logical operation or




, . , . "", "" . , .




All Articles