# U2L2- Operators and Expressions

Remarks
Computer science impacts all aspects of our society in different ways.
In many cases, computer science has significantly changed how things are done and improved how people and businesses operate.
1 / 18
Slide 1: Tekstslide
Ap csa10th Grade

In deze les zitten 18 slides, met interactieve quizzen en tekstslides.

Lesduur is: 45 min

## Onderdelen in deze les

Remarks
Computer science impacts all aspects of our society in different ways.
In many cases, computer science has significantly changed how things are done and improved how people and businesses operate.

#### Slide 1 -Tekstslide

Share the example of computer science in business.

#### Slide 2 -Open vraag

What is an arithmetic operator?
An arithmetic operator is a mathematical function that takes two operands and performs a calculation on them. They are used in common arithmetic and most computer languages contain a set of such operators that can be used within equations to perform a number of types of sequential
calculation.

#### Slide 3 -Tekstslide

Where did you see operators before? How did you use them?

#### Slide 4 -Open vraag

code.org
Please do level 1: Predict: Evaluating Expressions

#### Slide 5 -Tekstslide

What did you notice and wonder about the code in this program?

#### Slide 6 -Open vraag

Define operand and expression.

#### Slide 7 -Open vraag

explain how the value and type of the operand impact how the expression is evaluated.

#### Slide 8 -Open vraag

demonstrate evaluating expressions and storing the value in a variable.

#### Slide 9 -Open vraag

When would the mod operator be useful?

#### Slide 10 -Open vraag

code.org
Please do level 2: Investigate: Exploring Expressions

#### Slide 11 -Tekstslide

What value is the result of evaluating this expression?
(5 * 3 - 4 / 2 ) % 3
A
4
B
3
C
1
D
2

#### Slide 12 -Quizvraag

What did you learn from each other?

#### Slide 13 -Open vraag

How do these ideas and thoughts contribute to your identity as a software engineer?

#### Slide 14 -Open vraag

How was this lesson
great
good
hard
very hard

#### Slide 15 -Poll

Vocab
expression: a combination of data and operators that evaluates to a single value
operand: the data that is operated on
compound expression: a combination of expressions

#### Slide 16 -Tekstslide

vocab
compound assignment operator: shortcut syntax (+=, -=, *=, /=,
%=) to perform an operation (+, -, *, /, or %) on both operands and store the result into the variable on the left
ArithmeticException: an error caused by dividing by zero
truncate: to cut off data from the end

hw
level 3
unit guide
extra practice