Proficient programming requires knowledge of many techniques. These techniques allow for powerful, complex programs to be created.
Part ofComputer ScienceComputational thinking and problem solving
Boolean operatorscloseBoolean operatorAND, OR and NOT. Used to build complex queries in a database. are used to combine relational operators to give more complex decisions.
The code below uses two conditions to check if the password entered is both the correct length of six or more characters and is not a number:
password ← USERINPUT IF LEN(password) >= 6 AND IS_NUMERIC(password) = False THEN OUTPUT “Good Password!” ELSE OUTPUT “Password too short” ENDIF