CMPS 002 - Computer Literacy

Prof. Paulo Franca

CyberSlug Rules!

Classes

Class Syllabus

Grading Policy

Labs

Interact

Login

  • enter system
  • get attendance
  • submit work
  • take lab quiz
  • check scores

Help

Help me!

Links

Staff only

 

 

 

Datacare   Ahshay

 

Boolean Conditions

  • = > < > = < = < >
    • value < 0
    • value > 10
  • conjunctions
    • and
    • or
    • (value > 1) and (value < 10) -- both must be true for statement to be true
    • (value < = 1) or (value > = 10) -- either may be true for entire statement to be true
  • not ((value < = 1) or (value > = 10)) -- negates whatever the result of the statement is
  • can be combined in other commands and/or statements