Internet of Things Grade 11 Module 4
Internet of Things Grade 11 Module 4
I. Introduction
Every day we uses simple mathematical expression . Counting numbers or simple adding
things.We cannot deny that arithmetic is useful in every way. In this chapter , we will learn how
arithmetic operator integrate with computer based platform.
A. Learning Competency
B. Learning Outcomes
Arithmetic operators are used in an arithmetic expression to tell the computer how this expression/s
involving numeric data is to be evaluated into a single value. An arithmetic expression in a program consists
of one or more numeric data and arithmetic operators.
10 + 6 – 11
1 2
(1) 10 + 6 = 16
(2) 16 – 11 =
INTERNET OF THINGS GRADE 11- MODULE 4
Grade Level: Grade 11
(1) 9/3=3
(2) 3 * 5 = 15
(3) 2 + 15 = 17
(1) 2+2=4
(2) 4*2=8
(3) 8 % 10 = 8
Logical operators are used in connection with true (.T.) or false (.F.) relational expressions that compare the
values of some data.
Logical operators evaluate Boolean expressions and return a Boolean value. A logical expression, which
consists of one or more relational expressions and logical operators, will also evaluate to either true or
false. Logical expressions and relational expressions are the same in the sense that they both represent
true or false logical conditions.
INTERNET OF THINGS GRADE 11- MODULE 4
Grade Level: Grade 11
.NOT. reverses the logical value of a relational expression while .AND. and .OR. are used to combine
two or more relational expressions into a single true or false logical condition
Truth Table
GENERAL DIRECTIONS: Copy the question and answer the on a one whole sheet paper, take
a photo of your work and upload it your SAMS account under the folder created by your
teacher. If the SAMS is not available, you may upload your activity to an online classroom
provided.
Activity 1.Instructions: List at least 20 each expression for Arithmetic, Logical and Relational.
Activity 2.Instructions: Create 15 problem statement with the use Arithmetic , Logical and
Relational.
Direction: Copy the question and answer the on a clean paper. Evaluate the following
arithmetic expressions according to the priority order of the indicated operations:
1. 10 / 5 + 4
2. 5 * 2 / 2 + 4 / 2
3. (5 * 2) * 2 + 3 * 2
4. ((6 - 2) + 8 % 4 * 2) + 5
5. (8 * 2 + 4 - 5) % (16 / 2 + 2 - 7)
INTERNET OF THINGS GRADE 11- MODULE 4
Grade Level: Grade 11
Evaluate the following arithmetic expressions according to the priority order of the indicated
operations: For items 6-10: Let A = 3, B = -2, and C = 4
6. A / 2 * B
7. A / (2*B)
8. (B + C) / (C - A)
9. A + B – C
10. B + C / C – 4
Test II.
Construct a valid logical expression for each of the following conditions. Use the capitalized
words as variable names.
5. A man’s PENSION is below 5,000 pesos and his SSS insurance is at most 2,000 pesos.
INTERNET OF THINGS GRADE 11- MODULE 4
Grade Level: Grade 11
V. Extension of Learning
Read and study in advance the following
o Block Programming
o IOT Starter Kit.
REFERENCES
https://www.atmosphere-eubrazil.eu/designing-open-iot-ecosystem
https://acerforeducation.acer.com
https://press.rebus.community/programmingfundamentals/chapter/input-process-output-model