Logical conditions in programming languages: review, discussion and generalization

dc.contributor.authorNagy, Benedek
dc.contributor.authorAbuhmaidan, Khaled
dc.contributor.authorAldwairi, Monther
dc.date.accessioned2026-02-06T18:23:51Z
dc.date.issued2023
dc.departmentDoğu Akdeniz Üniversitesi
dc.description.abstractBoolean logic is widely used in almost every discipline including linguistics, philosophy, mathematics, computer science and engineering. Boolean logic is characterized by the two possible truth values, and various logical connectives/operations allow us to make compound statements, conditions. Most of the programming languages, if not all, have some of the logic operations: conjunction, disjunction and negation. Actually, since the set of these three operations form a basis, any logical statement can be formed by them. However, on the one hand, there are smaller bases as well, i.e., one of the conjunction or disjunction is already superfluous. Moreover, there are bases with only one operation, e.g., by NAND. On the other hand, one may allow other operations helping the programmer/user to define the conditions of conditional statements and loops in a simpler manner. In this paper we discuss these issues, including some practical points, implementation issues and short cut evaluations for various operations.
dc.description.sponsorshipZayed University, Research Office, Research Incentive Fund [R20089]
dc.description.sponsorshipThis research was supported by Zayed University, Research Office, Research Incentive Fund Award #R20089.
dc.identifier.doi10.33039/ami.2023.04.002
dc.identifier.endpage77
dc.identifier.issn1787-5021
dc.identifier.issn1787-6117
dc.identifier.scopus2-s2.0-85167899238
dc.identifier.scopusqualityQ3
dc.identifier.startpage65
dc.identifier.urihttps://doi.org/10.33039/ami.2023.04.002
dc.identifier.urihttps://hdl.handle.net/11129/9935
dc.identifier.volume57
dc.identifier.wosWOS:001081200200005
dc.identifier.wosqualityQ4
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.language.isoen
dc.publisherE K F Liceum Kiado
dc.relation.ispartofAnnales Mathematicae Et Informaticae
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_WoS_20260204
dc.subjectHigh level programming languages
dc.subjectconditional statements
dc.subjectloop conditions
dc.subjectlogical connectives
dc.subjectshort cut evaluation
dc.subjectformal logic
dc.titleLogical conditions in programming languages: review, discussion and generalization
dc.typeReview Article

Files