17 MOD 5.[1]17 DIV 5.[1]2 ^ 4.[1]Tick (✓) one box.[1]
==!=<==
Show the answer and mark scheme
- 2
- 3
- 16
!=OCR GCSE Computer Science (J277) · Algorithms and programming (Paper 2) › Programming fundamentals › Programming fundamentals
Practise Arithmetic, comparison and Boolean operators. 12 exam-style questions plus unlimited generated ones on this subtopic, at up to four difficulty levels, with full mark schemes and a progress tracker. Free, no account needed.
Build a paper on this topic▶ Watch videos on Arithmetic, comparison and Boolean operators (Craig 'n' Dave OCR on YouTube) · Practise all of Programming fundamentals
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
17 MOD 5.Written for this site in the style of OCR exam questions. They are not taken from real past papers.
17 MOD 5.[1]17 DIV 5.[1]2 ^ 4.[1]==!=<==!=Even when the integer num is even. Complete the condition in this line of code.if ...................... then[2]a = 6, b = 10 and c = 3. State whether each expression is True or False.a < b AND c > 5a < b OR c > 5NOT (a == 6)num MOD 2 == 0height (integer, in cm), age (integer) and withAdult (Boolean). In this language AND is evaluated before OR.height = 125, age = 12 and withAdult = false is allowed on the ride.[1]height >= 120 AND age >= 14 OR withAdultGive values of height, age and withAdult for which this expression gives the wrong result, and explain why.[2]height >= 120 AND (age >= 14 OR withAdult == true)Stuck? Get 1-to-1 help. Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.
Book a free trial