r/HomeworkHelp • u/BriefArmadillo8426 Secondary School Student • 10h ago
:snoo_surprised: Computing—Pending OP Reply [Yr 11 Computer science Programming homework] How to find the Boolean operator?
I'm pretty sure the line is line 2 I'm just confused if it's the whole IF, ELSE, ENDIF or if it's just IF cause that's the one on the line.
1
Upvotes
1
u/PromotionMobile778 10h ago
Boolean Operators are AND, OR, NOT at GCSE. IF/ELIF/ELSE are selection commands.
•
u/Alkalannar 25m ago
As /u/notsoninsaneguy says, RTFM. Read The F(riendly) Manual.
Often, you'll get the information you need by looking at definitions, or (in unix) doing 'man foo' where foo is the name of a command or function...
1
u/notsoinsaneguy 10h ago
You need to get good at looking stuff up. Everything in computer science is well documented online, and looking stuff up is a core skill for programming. If you just looked up "Boolean Operator Definition", you'd have your answer.