SlideShare a Scribd company logo
4



      (Expressions)



                        (Operand)

                   (Operator)



[                       [               [



A+B
2+A



                                    C

        4.1




                    +
                    -
                    *
                    /
                   %                                     Modulus
                   ++                                1
                   --
                                                    1



                                    2



2




               2            3                   5                  25



2+3*5
                   17               C
(Precedence)                                   3                5        15

                   2       17




                   C




(2 + 3) * 5
                       2         3   5                             5                 25

             4.2                                                                     (




                        ++,--                                                        16
             - (                                                                     15
                       *, /, %                                                       13
                         +, -                                                        12




10 / 2 * 3                               10            2    5                    3                   15
((5 + 3) * (9 - 2)) + 3                  5         3       8            9          7             5        7       12
                                              12               3                 15
12 * 2 + (2 * 6)                         2         6       12               12           2   24                   24
                                              12                       36
4-1
[

Simple Assignments (

Simple Assignments




A=2
Sum = 2 + A
Sum = (2 * 5) + 6
         Simple Assignments

                     y
         x
    10           5       x=y +2    7   x=7
    10           5       x=x /y    2   x=2
    10           5       x=y % 4   1   x=1
4-2




Compound Assignments (

Compound Assignment                                 Simple Assignment

         5                    *=, /=, %=, +=

             4-3

                                                                       Simple
               Compound
x*=y                                     x = x* y
X/=y                                     X = x/y
X%=y                                     X =x %y
X+=y                                     X = x+y
X - =y                                   X =x-y
         Simple Assignments

                          y
         x
10             5              x*=y        50              X   =   50
10             5              X/=t        2               X   =   2
10             5              X%=y        0               X   =   0
10             5              X+=y        15              X   =   15
10             5              X-=y        5               X   =   5
4.3




                ++   --

              ++              1   --

                          1            2   2



    Postfix



[
A ++
A–

                                     Postfix           x = a++

1.     x=a

2.                  a=a+1

                    y = b--

1.     y=b

2.                  b=b–1

                                                                  a
        a
         10                   a++              10                 11
         10                    a--             10                 9
              4-4                       ++          Postfix

/imgs/clip_image004_0003.gif

       Prefix



[               [



++a
--a

                                     Prefix             x = ++a

1.                  a=a+1

2.      x=a

                    y = --b

1.                  b = b-1

2.     y=b

                                                                  a
        a
         10                   ++a              11                 11
         10                   --a               9                 9
4-5   ++   Prefix

More Related Content

What's hot

Factoring 15.3 and 15.4 Grouping and Trial and Error
Factoring 15.3 and 15.4 Grouping and Trial and ErrorFactoring 15.3 and 15.4 Grouping and Trial and Error
Factoring 15.3 and 15.4 Grouping and Trial and Error
swartzje
 
Class 9th ch 2 polynomials quiz
Class 9th ch 2 polynomials quizClass 9th ch 2 polynomials quiz
Class 9th ch 2 polynomials quiz
ssusera41fd2
 
MATHS SYMBOLS - ROOTS and THEIR PROPERTIES
MATHS SYMBOLS - ROOTS and THEIR PROPERTIESMATHS SYMBOLS - ROOTS and THEIR PROPERTIES
MATHS SYMBOLS - ROOTS and THEIR PROPERTIES
Ist. Superiore Marini-Gioia - Enzo Exposyto
 
Lesson 18: Geometric Representations of Functions
Lesson 18: Geometric Representations of FunctionsLesson 18: Geometric Representations of Functions
Lesson 18: Geometric Representations of Functions
Matthew Leingang
 
MATHS SYMBOLS - INVERSE OPERATIONS
MATHS SYMBOLS - INVERSE OPERATIONSMATHS SYMBOLS - INVERSE OPERATIONS
MATHS SYMBOLS - INVERSE OPERATIONS
Ist. Superiore Marini-Gioia - Enzo Exposyto
 
Day 4 evaluating with add and subtract
Day 4 evaluating with add and subtractDay 4 evaluating with add and subtract
Day 4 evaluating with add and subtractErik Tjersland
 
MATHS SYMBOLS - PROPERTIES of EXPONENTS
MATHS SYMBOLS - PROPERTIES of EXPONENTSMATHS SYMBOLS - PROPERTIES of EXPONENTS
MATHS SYMBOLS - PROPERTIES of EXPONENTS
Ist. Superiore Marini-Gioia - Enzo Exposyto
 
2212 pythagorean theorem and distance formula
2212 pythagorean theorem and distance formula2212 pythagorean theorem and distance formula
2212 pythagorean theorem and distance formuladevontae23
 
Limites trigonometricos1
Limites trigonometricos1Limites trigonometricos1
Limites trigonometricos1orvy
 
Sorting linear functions
Sorting linear functionsSorting linear functions
Sorting linear functionsChris Hunter
 
Day 3 graphing linear equations
Day 3 graphing linear equationsDay 3 graphing linear equations
Day 3 graphing linear equationsErik Tjersland
 
Ecuaciones Diferenciales[1]
Ecuaciones Diferenciales[1]Ecuaciones Diferenciales[1]
Ecuaciones Diferenciales[1]mh9110112
 
7th PreAlg - L50--Jan24
7th PreAlg - L50--Jan247th PreAlg - L50--Jan24
7th PreAlg - L50--Jan24jdurst65
 
Expresiones algebraicas
Expresiones algebraicasExpresiones algebraicas
Expresiones algebraicas
MarlonFlores44
 
ระบบเลขฐานนี้ใช้ตัวเลข
ระบบเลขฐานนี้ใช้ตัวเลขระบบเลขฐานนี้ใช้ตัวเลข
ระบบเลขฐานนี้ใช้ตัวเลขjibjoy_butsaya
 
Productos Notables-Binomios conjugados
Productos Notables-Binomios conjugadosProductos Notables-Binomios conjugados
Productos Notables-Binomios conjugadosLucero Diaz
 
answers tutor 8
answers tutor 8answers tutor 8
answers tutor 8
Drradz Maths
 

What's hot (20)

Factoring 15.3 and 15.4 Grouping and Trial and Error
Factoring 15.3 and 15.4 Grouping and Trial and ErrorFactoring 15.3 and 15.4 Grouping and Trial and Error
Factoring 15.3 and 15.4 Grouping and Trial and Error
 
Class 9th ch 2 polynomials quiz
Class 9th ch 2 polynomials quizClass 9th ch 2 polynomials quiz
Class 9th ch 2 polynomials quiz
 
MATHS SYMBOLS - ROOTS and THEIR PROPERTIES
MATHS SYMBOLS - ROOTS and THEIR PROPERTIESMATHS SYMBOLS - ROOTS and THEIR PROPERTIES
MATHS SYMBOLS - ROOTS and THEIR PROPERTIES
 
Lesson 18: Geometric Representations of Functions
Lesson 18: Geometric Representations of FunctionsLesson 18: Geometric Representations of Functions
Lesson 18: Geometric Representations of Functions
 
MATHS SYMBOLS - INVERSE OPERATIONS
MATHS SYMBOLS - INVERSE OPERATIONSMATHS SYMBOLS - INVERSE OPERATIONS
MATHS SYMBOLS - INVERSE OPERATIONS
 
Day 4 evaluating with add and subtract
Day 4 evaluating with add and subtractDay 4 evaluating with add and subtract
Day 4 evaluating with add and subtract
 
March 7
March 7March 7
March 7
 
MATHS SYMBOLS - PROPERTIES of EXPONENTS
MATHS SYMBOLS - PROPERTIES of EXPONENTSMATHS SYMBOLS - PROPERTIES of EXPONENTS
MATHS SYMBOLS - PROPERTIES of EXPONENTS
 
2212 pythagorean theorem and distance formula
2212 pythagorean theorem and distance formula2212 pythagorean theorem and distance formula
2212 pythagorean theorem and distance formula
 
Day 9 two step
Day 9 two stepDay 9 two step
Day 9 two step
 
Limites trigonometricos1
Limites trigonometricos1Limites trigonometricos1
Limites trigonometricos1
 
Sorting linear functions
Sorting linear functionsSorting linear functions
Sorting linear functions
 
Day 3 graphing linear equations
Day 3 graphing linear equationsDay 3 graphing linear equations
Day 3 graphing linear equations
 
Ch20 20
Ch20 20Ch20 20
Ch20 20
 
Ecuaciones Diferenciales[1]
Ecuaciones Diferenciales[1]Ecuaciones Diferenciales[1]
Ecuaciones Diferenciales[1]
 
7th PreAlg - L50--Jan24
7th PreAlg - L50--Jan247th PreAlg - L50--Jan24
7th PreAlg - L50--Jan24
 
Expresiones algebraicas
Expresiones algebraicasExpresiones algebraicas
Expresiones algebraicas
 
ระบบเลขฐานนี้ใช้ตัวเลข
ระบบเลขฐานนี้ใช้ตัวเลขระบบเลขฐานนี้ใช้ตัวเลข
ระบบเลขฐานนี้ใช้ตัวเลข
 
Productos Notables-Binomios conjugados
Productos Notables-Binomios conjugadosProductos Notables-Binomios conjugados
Productos Notables-Binomios conjugados
 
answers tutor 8
answers tutor 8answers tutor 8
answers tutor 8
 

Viewers also liked

Wenerei wk 5 term 2pdf
Wenerei wk 5 term 2pdfWenerei wk 5 term 2pdf
Wenerei wk 5 term 2pdf
takp
 
Wenerei wk 7 term 2
Wenerei wk 7 term 2Wenerei wk 7 term 2
Wenerei wk 7 term 2takp
 
Wenerei wk 2 term 3 13
Wenerei wk 2 term 3 13Wenerei wk 2 term 3 13
Wenerei wk 2 term 3 13takp
 
Taite week 5 term 3
Taite week 5 term 3Taite week 5 term 3
Taite week 5 term 3takp
 
Mane wk 10 term 2 2013pdf
Mane wk 10 term 2 2013pdfMane wk 10 term 2 2013pdf
Mane wk 10 term 2 2013pdftakp
 
Mane wk 10 term 2 2013
Mane wk 10 term 2 2013Mane wk 10 term 2 2013
Mane wk 10 term 2 2013takp
 
Taite wk 7 term 2 pdf 2
Taite wk 7 term 2 pdf 2Taite wk 7 term 2 pdf 2
Taite wk 7 term 2 pdf 2takp
 
Chef boston-workflows
Chef boston-workflowsChef boston-workflows
Chef boston-workflows
Pete Cheslock
 
Paraire wk 8 term 2
Paraire wk 8 term 2Paraire wk 8 term 2
Paraire wk 8 term 2takp
 
Midia Kit Brasil Game Day (English)
Midia Kit Brasil Game Day (English)Midia Kit Brasil Game Day (English)
Midia Kit Brasil Game Day (English)
LeadMedia Publishing
 
Культурология как наука по Лесли Уайту
Культурология как наука по Лесли УайтуКультурология как наука по Лесли Уайту
Культурология как наука по Лесли Уайту
Irina Pasadskaya
 
LU分解について
LU分解についてLU分解について
LU分解について
Jayson Toma
 
Propsat Presentation
Propsat PresentationPropsat Presentation
Propsat Presentation
vertbritz
 
DevOpsDays PGH: How to Fail With One Weird Trick
DevOpsDays PGH:  How to Fail With One Weird TrickDevOpsDays PGH:  How to Fail With One Weird Trick
DevOpsDays PGH: How to Fail With One Weird Trick
Pete Cheslock
 
Mane wk 2 term 3 13
Mane wk 2 term 3 13Mane wk 2 term 3 13
Mane wk 2 term 3 13takp
 
Art and development of the town of angono
Art and development of the town of angonoArt and development of the town of angono
Art and development of the town of angono
Che Berto
 
Us eng ubp_redesign20120821_final
Us eng ubp_redesign20120821_finalUs eng ubp_redesign20120821_final
Us eng ubp_redesign20120821_final
JuliaPwallerce
 
Sonian, Open Source and Sensu
Sonian, Open Source and SensuSonian, Open Source and Sensu
Sonian, Open Source and SensuPete Cheslock
 

Viewers also liked (20)

Wenerei wk 5 term 2pdf
Wenerei wk 5 term 2pdfWenerei wk 5 term 2pdf
Wenerei wk 5 term 2pdf
 
Wenerei wk 7 term 2
Wenerei wk 7 term 2Wenerei wk 7 term 2
Wenerei wk 7 term 2
 
Wenerei wk 2 term 3 13
Wenerei wk 2 term 3 13Wenerei wk 2 term 3 13
Wenerei wk 2 term 3 13
 
Taite week 5 term 3
Taite week 5 term 3Taite week 5 term 3
Taite week 5 term 3
 
Mane wk 10 term 2 2013pdf
Mane wk 10 term 2 2013pdfMane wk 10 term 2 2013pdf
Mane wk 10 term 2 2013pdf
 
Mane wk 10 term 2 2013
Mane wk 10 term 2 2013Mane wk 10 term 2 2013
Mane wk 10 term 2 2013
 
Taite wk 7 term 2 pdf 2
Taite wk 7 term 2 pdf 2Taite wk 7 term 2 pdf 2
Taite wk 7 term 2 pdf 2
 
Chef boston-workflows
Chef boston-workflowsChef boston-workflows
Chef boston-workflows
 
Paraire wk 8 term 2
Paraire wk 8 term 2Paraire wk 8 term 2
Paraire wk 8 term 2
 
Midia Kit Brasil Game Day (English)
Midia Kit Brasil Game Day (English)Midia Kit Brasil Game Day (English)
Midia Kit Brasil Game Day (English)
 
Культурология как наука по Лесли Уайту
Культурология как наука по Лесли УайтуКультурология как наука по Лесли Уайту
Культурология как наука по Лесли Уайту
 
LU分解について
LU分解についてLU分解について
LU分解について
 
Propsat Presentation
Propsat PresentationPropsat Presentation
Propsat Presentation
 
DevOpsDays PGH: How to Fail With One Weird Trick
DevOpsDays PGH:  How to Fail With One Weird TrickDevOpsDays PGH:  How to Fail With One Weird Trick
DevOpsDays PGH: How to Fail With One Weird Trick
 
TRIZ Part 2
TRIZ Part 2TRIZ Part 2
TRIZ Part 2
 
Mane wk 2 term 3 13
Mane wk 2 term 3 13Mane wk 2 term 3 13
Mane wk 2 term 3 13
 
Art and development of the town of angono
Art and development of the town of angonoArt and development of the town of angono
Art and development of the town of angono
 
TRIZ Part 1
TRIZ Part 1TRIZ Part 1
TRIZ Part 1
 
Us eng ubp_redesign20120821_final
Us eng ubp_redesign20120821_finalUs eng ubp_redesign20120821_final
Us eng ubp_redesign20120821_final
 
Sonian, Open Source and Sensu
Sonian, Open Source and SensuSonian, Open Source and Sensu
Sonian, Open Source and Sensu
 

Similar to บทที่4

S101-52國立新化高中(代理)
S101-52國立新化高中(代理)S101-52國立新化高中(代理)
S101-52國立新化高中(代理)yustar1026
 
Math integration-homework help
Math integration-homework helpMath integration-homework help
Math integration-homework help
Expertsmind IT Education Pvt Ltd.
 
เอกนาม
เอกนามเอกนาม
เอกนามkrookay2012
 
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553Destiny Nooppynuchy
 
Metodologia de la programación - expresiones
Metodologia de la programación - expresionesMetodologia de la programación - expresiones
Metodologia de la programación - expresionesMar_Angeles
 
3.4 linear programming
3.4 linear programming3.4 linear programming
3.4 linear programmingfthrower
 
factoring and the other ones polynomials2.ppt
factoring and the other ones polynomials2.pptfactoring and the other ones polynomials2.ppt
factoring and the other ones polynomials2.ppt
Science18
 
March 25, 2015
March 25, 2015March 25, 2015
March 25, 2015khyps13
 
3.4 a linear programming
3.4 a linear programming3.4 a linear programming
3.4 a linear programmingfthrower
 
Nota math-spm
Nota math-spmNota math-spm
Nota math-spm
Ragulan Dev
 
1 8 Properties
1 8 Properties1 8 Properties
1 8 Properties
Kathy Favazza
 
09 Trial Penang S1
09 Trial Penang S109 Trial Penang S1
09 Trial Penang S1guest9442c5
 
Graph functions
Graph functionsGraph functions
Graph functions
daisy_yani
 
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
MariaDorisBorja
 
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOEJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOangusoo
 
PMR Form 3 Mathematics Algebraic Fractions
PMR Form 3 Mathematics Algebraic FractionsPMR Form 3 Mathematics Algebraic Fractions
PMR Form 3 Mathematics Algebraic Fractions
Sook Yen Wong
 
3rd Period Review Withanswers
3rd Period Review Withanswers3rd Period Review Withanswers
3rd Period Review Withanswersberemontalvo
 

Similar to บทที่4 (20)

S101-52國立新化高中(代理)
S101-52國立新化高中(代理)S101-52國立新化高中(代理)
S101-52國立新化高中(代理)
 
Math integration-homework help
Math integration-homework helpMath integration-homework help
Math integration-homework help
 
เอกนาม
เอกนามเอกนาม
เอกนาม
 
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553
ตัวอย่างข้อสอบเก่า วิชาคณิตศาสตร์ ม.6 ปีการศึกษา 2553
 
Metodologia de la programación - expresiones
Metodologia de la programación - expresionesMetodologia de la programación - expresiones
Metodologia de la programación - expresiones
 
3.4 linear programming
3.4 linear programming3.4 linear programming
3.4 linear programming
 
factoring and the other ones polynomials2.ppt
factoring and the other ones polynomials2.pptfactoring and the other ones polynomials2.ppt
factoring and the other ones polynomials2.ppt
 
March 25, 2015
March 25, 2015March 25, 2015
March 25, 2015
 
3.4 a linear programming
3.4 a linear programming3.4 a linear programming
3.4 a linear programming
 
Nota math-spm
Nota math-spmNota math-spm
Nota math-spm
 
Class notes precalc
Class notes precalcClass notes precalc
Class notes precalc
 
1 8 Properties
1 8 Properties1 8 Properties
1 8 Properties
 
Ejercicios 36-38
Ejercicios 36-38Ejercicios 36-38
Ejercicios 36-38
 
09 Trial Penang S1
09 Trial Penang S109 Trial Penang S1
09 Trial Penang S1
 
Graph functions
Graph functionsGraph functions
Graph functions
 
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
09.30.2019 to 10.03.2019 Polynomials Algebra111 I.pptx
 
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOEJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
 
PMR Form 3 Mathematics Algebraic Fractions
PMR Form 3 Mathematics Algebraic FractionsPMR Form 3 Mathematics Algebraic Fractions
PMR Form 3 Mathematics Algebraic Fractions
 
Ch02 13
Ch02 13Ch02 13
Ch02 13
 
3rd Period Review Withanswers
3rd Period Review Withanswers3rd Period Review Withanswers
3rd Period Review Withanswers
 

Recently uploaded

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

บทที่4

  • 1. 4 (Expressions) (Operand) (Operator) [ [ [ A+B 2+A C 4.1 + - * / % Modulus ++ 1 -- 1 2 2 2 3 5 25 2+3*5 17 C
  • 2. (Precedence) 3 5 15 2 17 C (2 + 3) * 5 2 3 5 5 25 4.2 ( ++,-- 16 - ( 15 *, /, % 13 +, - 12 10 / 2 * 3 10 2 5 3 15 ((5 + 3) * (9 - 2)) + 3 5 3 8 9 7 5 7 12 12 3 15 12 * 2 + (2 * 6) 2 6 12 12 2 24 24 12 36
  • 3. 4-1
  • 4. [ Simple Assignments ( Simple Assignments A=2 Sum = 2 + A Sum = (2 * 5) + 6 Simple Assignments y x 10 5 x=y +2 7 x=7 10 5 x=x /y 2 x=2 10 5 x=y % 4 1 x=1
  • 5. 4-2 Compound Assignments ( Compound Assignment Simple Assignment 5 *=, /=, %=, += 4-3 Simple Compound x*=y x = x* y X/=y X = x/y X%=y X =x %y X+=y X = x+y X - =y X =x-y Simple Assignments y x 10 5 x*=y 50 X = 50 10 5 X/=t 2 X = 2 10 5 X%=y 0 X = 0 10 5 X+=y 15 X = 15 10 5 X-=y 5 X = 5
  • 6. 4.3 ++ -- ++ 1 -- 1 2 2 Postfix [
  • 7. A ++ A– Postfix x = a++ 1. x=a 2. a=a+1 y = b-- 1. y=b 2. b=b–1 a a 10 a++ 10 11 10 a-- 10 9 4-4 ++ Postfix /imgs/clip_image004_0003.gif Prefix [ [ ++a --a Prefix x = ++a 1. a=a+1 2. x=a y = --b 1. b = b-1 2. y=b a a 10 ++a 11 11 10 --a 9 9
  • 8. 4-5 ++ Prefix