Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What type of expression is result = a + b?
Think about what the expression is doing.
Is 5 > 3 a relational expression?
Consider what type of result this expression gives.
What is the result of the expression 5 + 10?
Think about basic addition.
Is 10 == 10 a relational expression?
Consider the meaning of '==' operator.
Create a complex logical expression using three boolean variables a, b, and c, and explain its outcome.
Focus on how boolean logic works together.
Rewrite the arithmetic expression for total cost with taxes: totalCost = basePrice + (basePrice * taxRate) using an assignment operator for the tax calculation.
Consider how to accumulate the base price and tax.
7 more questions in this section. Enroll free to practise them all.
Enroll free