r/HomeworkHelp • Secondary School Student • 1h ago

Computing—Pending OP Reply [Yr 11 Computer science Programming homework] How to find the Boolean operator?

Post image

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

4 comments sorted by

1

u/PromotionMobile778 1h ago

Boolean Operators are AND, OR, NOT at GCSE. IF/ELIF/ELSE are selection commands.

1

u/BriefArmadillo8426 Secondary School Student 1h ago

Ok but does the selection start at line 2 and if it does why has it told me to put the Boolean expression on the line if there isn't any

1

u/PromotionMobile778 1h ago

Selection appear multiple times. Any one will count. 

2

u/notsoinsaneguy 1h 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.