Computer science · lesson 2 of 4
Functions and conditions
A function that adds numerical values in a range or list.
Learn the ideas
Prerequisites: Basic arithmetic and computer literacy.
SUM
A function that adds numerical values in a range or list.
AVERAGE
A function that computes the arithmetic mean of numerical values.
IF
A conditional function choosing between outputs based on a logical test.
COUNTIF
A function counting cells that meet a stated criterion.
Worked examples
Which term best matches this description: A function that adds numerical values in a range or list.
SUM is the matching concept in this lesson.
SUM
Which term best matches this description: A function that computes the arithmetic mean of numerical values.
AVERAGE is the matching concept in this lesson.
AVERAGE
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.