Little Man Computer Lesson 2

Slides:



Advertisements
Similar presentations
Multiplying, Dividing, Adding, Subtracting Rational Expressions
Advertisements

Fractions. What is 1 of £32? 2 What is 1 of £32? 2 Answer: £16.
Von Neumann architecture
Multiplying and Dividing Integers
Lesson 8-1 Negative & Zero. Your Goal: Simplify expressions containing integer exponents.
Inverse Operations ExpressionInverse Operation How do you get the variable by itself? x + 5 x x x ÷ 20 x3x3.
Targeting Grade C Number Unit 1 Decimals GCSE Mathematics.
EXAMPLE 1 Following Order of Operations Music You buy a used guitar for $50. You then pay $10 for each of five guitar lessons. The total cost can be found.
Pre-Algebra 2-3 Multiplying and Dividing Integers 2-3 Multiplying and Dividing Integers Pre-Algebra Warm Up Warm Up Problem of the Day Problem of the Day.
1.2 Algebraic Expressions 8/24/12. Vocabulary Variable: A letter used to represent one or more numbers Exponent: The number or variable that represents.
Evaluating a Variable Expression To evaluate a variable expression:
Computing with Decimals. Adding and Subtracting Decimals.
Divide a polynomial by a binomial
Jeopardy Solving Equations Add and Subtract Multiply and Divide Multi-Step Variables on each side Grouping Symbols $100 $200 $300 $400 $500 $100 $200.
Polynomial Expressions Unit 2, Lesson 2 A
Multiplying Binomials using the Grid Method Feb S. Calahan.
One step equations Add Subtract Multiply Divide  When we solve an equation, our goal is to isolate our variable by using our inverse operations.  What.
WHAT IS THE VALUE OF X? x = 0 for value in [3, 41, 12, 9, 74, 15] : if value < 10 : x = x + value print x.
Imaginary Numbers. You CAN have a negative under the radical. You will bring out an “i“ (imaginary).
Mathematics Chapter Two Lesson Four Order Of Operations Mathematics Matrix Grant Alyssa.
Chapter 6.4.  Reminder: What are we trying to do when we solve an inequality?  Answer:  To get the variable by itself.
Learning Goals: I can add and subtract polynomials I can multiply polynomials Unit 3: Rational Expressions Lesson 2 – Working with Polynomials.
X2x2 + x x 2 +3x +2 +2x x + 2 x 2 + x +2x +2 Learning how to do long multiplication with number and algebra.
Order of Operations and the Distributive Property COURSE 2 LESSON 1-9 Use the Distributive Property to find 7(52). What you think 52 is Finding.
This is where you can reset and run your program. If your program has an “INP” (input) command, you will type it in this box here. Using the LMC These.
Hexadecimal (base 16) BY MAT D. What is hexadecimal  Hexadecimal is a number system like binary or denary that has 16 characters, the numbers 0-9 and.
* Collect the like terms 1. 2a = 2a x -2x + 9 = 6x z – – 5z = 2z - 6.
Jeopardy Solving Equations
Do you remember how to change from a mixed number to an improper fraction? = 11 2 = 30 7 = 52 5 =
Unit 7 - Exponents.
Year 5 - Numeracy Title page..
The Little man computer
Multiplying Whole Numbers
How to survive WITHOUT your calculator!
Times Tables and Top Tips! The 2 times table
Objective The student will be able to:
Solving two-step equations
Patterns and Algebraic rules
The Little Man Computer
Objective: Be able to add and subtract directed numbers.
Objective The student will be able to:
The Integer Song.
Making Programming Friendlier
Objective The student will be able to:
G7 programing language Teacher / Shamsa Hassan Alhassouni.
Adding and Subtracting Fractions
Add and Subtract Mixed Numbers
To get y, multiply x by 3 then add 2 To get y, multiply x by negative ½ then add 2 To get y, multiply x by 2 then subtract 3 To get y, multiply x.
To solve two-step equations, undo the operations by working backwards.
Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019.
Patterns and Algebraic rules
Divide the number in C by 10.
Multiplying and Dividing Fractions
LMC Little Man Computer What do you know about LMC?
Solving Multi-Step Equations
Programming In Lesson 4.
Solve two-step equations.
Solving Multi-Step Equations
Little Man Computer (continued).
Multiply and divide Expressions
Solving two step equations
Solving two-step equations
Solving Multi-Step Equations
V Easy Brain Trainer START x 8 halve it x 6 ANSWER 240.
Objective: Be able to add and subtract directed numbers.
Review of basic operations and vocabulary
One Set of Styles Connected to As Many Pages as You Want!!!
Little Man Computer Lesson 3 The times table
Multiplying with Scientific Notation
Presentation transcript:

Little Man Computer Lesson 2 LMC What do you recall about LMC? HIGHER LOWER AND SUBTRACTION Little Man Computer Lesson 2

REMEMBER THESE CODES? 901? 118? 2XX? 3XX? IN? DATA?

RECAP ?

WHAT WILL THIS PROGRAM DO?

Now using the compiler create the code / program Now using the compiler create the code / program. test your program does it do what you expected?

COMPILER TOP TIPS ALWAYS SAVE THE FILE BEFORE RUNNING ENSURE THE LMC IS RESET ADD THE VARIABLES (DATA) TO THE END

COMPILER VERSION Higher or lower

CAN YOU BUILD A PROGRAM THAT SUBTRACTS? Write down what you have to do first What are the stages? Convert to code Use the Compiler Test!

Subtraction – mail boxes answers

SUBTRACTION: LMC STYLE Subtractions – compiler version

LMC Challenges Easy: Can you subtract TWO numbers? Medium: Can you make a countdown? Brain Drain: Can you Multiply two numbers?