teachwithict
  • Home
  • Teaching & Learning
    • Tools for Teachers >
      • Web 2.0 >
        • Top 10 Web 2.0 Tools
        • Classroom Response Tools
      • Quiz Tools
      • Classroom Management Tools
      • Software >
        • Media Conversion Tools
        • Application Software
      • Multimedia >
        • Free Music
    • Digital Leaders >
      • Digital Leaders Blog >
        • DL Archive
      • DL Tips
      • Quotes
      • Links
    • BYOD
    • Flipped Learning >
      • Flipped Classroom vs. Blended Classroom
    • Gamification >
      • Gamification vs. Game Based Learning vs. Game Design
    • Game Based Learning >
      • Minecraft >
        • Minecraft in Education
        • Minecraft Lesson Ideas
        • Minecraft Literacy
        • Minecraft Coding Tutorials >
          • Minecraft Code Builder Setup
          • Minecraft Code: Walking on Air
          • Minecraft Code: Hello World
          • Minecraft Code: Functions
          • Minecraft Code: Rainbow
          • Minecraft Code: Skyscraper
          • Minecraft Pixel Art
    • The magic of >
      • The magic of Computing
      • The magic of Maths
      • The magic of Science
      • The magic of Literacy
    • Breakout Edu
    • PLN Challenge >
      • Covering your backside
      • Twitter Challenge >
        • Challenge 1
        • Challenge 2
        • Challenge 3
        • Tips for staying safe on Twitter
        • Tips for hosting Edu Twitter Chats
        • Tips for taking part in Twitter chats
        • How to storify a chat
        • How to schedule Tweets
        • Twitter Lists
        • It's all about the hashtag! Essential chats for educators
      • Facebook Challenge >
        • Challenge 4
        • Challenge 5
        • Challenge 6
        • Tips for staying safe on Facebook
      • Google Challenge >
        • Challenge 7
        • Challenge 8
        • Challenge 9
      • Pinterest Challenge >
        • Challenge 10
        • Challenge 11
        • Challenge 12
        • Tips for using Pinterest
      • Blog Challenge >
        • Challenge 13
        • Challenge 14
        • Challenge 15
        • How to create a classroom blog
      • Staffrm Challenge >
        • Challenge 16
        • Challenge 17
        • Challenge 18
      • Skype Challenge >
        • Challenge 19
        • Challenge 20
        • Challenge 21
      • Edmodo Challenge >
        • Challenge 22
        • Challenge 23
        • Challenge 24
      • TeachMeet Challenge >
        • Challenge 25
        • Challenge 26
        • Challenge 27
      • In-school challenge >
        • Challenge 28
        • Challenge 29
        • Challenge 30
      • 30 ways to grow your PLN
    • T&L Blog
  • Computing
    • Computing Blog >
      • GCSE Computer Science
      • General
    • CPD >
      • Blocks to Code
      • Tutorials >
        • How to embed Flash into PowerPoint
        • How to embed YouTube videos in to PowerPoint
        • How to create a wiki
        • How to create a classroom blog
    • Teaching Computer Science >
      • Schemes of Work
      • Programming Resources
      • Theory
      • Posters
    • Theory Lessons >
      • Theory Tests
      • Computer Hardware >
        • Input / Output
        • CPU
        • LMC
        • Storage Devices
        • Memory (RAM / ROM)
      • Binary Lessons >
        • Units of Data
        • Binary Representation
        • Binary Representation of Images
        • Binary Representation of Characters
        • Binary Representation of Sound
        • Binary Representation of Instructions
        • Binary Addition
        • Hexadecimal
      • Software >
        • Operating System
        • Types of Software
        • Utility Software
      • Programming >
        • Flowcharts
    • Game Design
    • App Creation
    • Digital Literacy >
      • Social Media (Good or Bad thing?)
      • Cyberbullying
      • Staying Safe Online
    • ICT Strand >
      • Spreadsheet Modelling
      • Superhero Movie Trailer
      • PowerPoint Task
      • Paint 3D Tutorial
    • Programming Lessons >
      • Microbit >
        • Magic 8 Ball
        • Harry Potter Sorting Hat
        • Music
        • Music (Festive)
        • Quick Start Guide
        • Microbit Simulator
      • TouchDevelop >
        • TouchDevelop Challenge
        • Scheme of Work
        • TouchDevelop Lessons >
          • 8 bit challenge
          • Turing Test
          • Turtle Power
          • 8 Ball
          • Under the hood
        • Tutorials
      • Raspberry Pi >
        • Networking the Pi
        • Minecraft Pi
        • Harry Potter Sorting Hat >
          • Harry Potter Sorting Hat (GPIO)
        • Raspberry Pi LTSP (Networked Classroom)
        • Astro Pi
      • Scratch
      • Python >
        • Chatbot
        • Coding Golf
        • Magic 8 ball
        • Python Mad Libs
        • Shakespearean Insult Generator >
          • Shakespearean Insult Generator Part 2
        • Sorting Hat
      • Little Man Computer
      • Hour of Code >
        • HoC 8-Bit Challenge
  • 21 Things
  • Microbit
    • Physical Computing >
      • micro:bit LEDs
  • About
  • Blog
  • Home
  • Teaching & Learning
    • Tools for Teachers >
      • Web 2.0 >
        • Top 10 Web 2.0 Tools
        • Classroom Response Tools
      • Quiz Tools
      • Classroom Management Tools
      • Software >
        • Media Conversion Tools
        • Application Software
      • Multimedia >
        • Free Music
    • Digital Leaders >
      • Digital Leaders Blog >
        • DL Archive
      • DL Tips
      • Quotes
      • Links
    • BYOD
    • Flipped Learning >
      • Flipped Classroom vs. Blended Classroom
    • Gamification >
      • Gamification vs. Game Based Learning vs. Game Design
    • Game Based Learning >
      • Minecraft >
        • Minecraft in Education
        • Minecraft Lesson Ideas
        • Minecraft Literacy
        • Minecraft Coding Tutorials >
          • Minecraft Code Builder Setup
          • Minecraft Code: Walking on Air
          • Minecraft Code: Hello World
          • Minecraft Code: Functions
          • Minecraft Code: Rainbow
          • Minecraft Code: Skyscraper
          • Minecraft Pixel Art
    • The magic of >
      • The magic of Computing
      • The magic of Maths
      • The magic of Science
      • The magic of Literacy
    • Breakout Edu
    • PLN Challenge >
      • Covering your backside
      • Twitter Challenge >
        • Challenge 1
        • Challenge 2
        • Challenge 3
        • Tips for staying safe on Twitter
        • Tips for hosting Edu Twitter Chats
        • Tips for taking part in Twitter chats
        • How to storify a chat
        • How to schedule Tweets
        • Twitter Lists
        • It's all about the hashtag! Essential chats for educators
      • Facebook Challenge >
        • Challenge 4
        • Challenge 5
        • Challenge 6
        • Tips for staying safe on Facebook
      • Google Challenge >
        • Challenge 7
        • Challenge 8
        • Challenge 9
      • Pinterest Challenge >
        • Challenge 10
        • Challenge 11
        • Challenge 12
        • Tips for using Pinterest
      • Blog Challenge >
        • Challenge 13
        • Challenge 14
        • Challenge 15
        • How to create a classroom blog
      • Staffrm Challenge >
        • Challenge 16
        • Challenge 17
        • Challenge 18
      • Skype Challenge >
        • Challenge 19
        • Challenge 20
        • Challenge 21
      • Edmodo Challenge >
        • Challenge 22
        • Challenge 23
        • Challenge 24
      • TeachMeet Challenge >
        • Challenge 25
        • Challenge 26
        • Challenge 27
      • In-school challenge >
        • Challenge 28
        • Challenge 29
        • Challenge 30
      • 30 ways to grow your PLN
    • T&L Blog
  • Computing
    • Computing Blog >
      • GCSE Computer Science
      • General
    • CPD >
      • Blocks to Code
      • Tutorials >
        • How to embed Flash into PowerPoint
        • How to embed YouTube videos in to PowerPoint
        • How to create a wiki
        • How to create a classroom blog
    • Teaching Computer Science >
      • Schemes of Work
      • Programming Resources
      • Theory
      • Posters
    • Theory Lessons >
      • Theory Tests
      • Computer Hardware >
        • Input / Output
        • CPU
        • LMC
        • Storage Devices
        • Memory (RAM / ROM)
      • Binary Lessons >
        • Units of Data
        • Binary Representation
        • Binary Representation of Images
        • Binary Representation of Characters
        • Binary Representation of Sound
        • Binary Representation of Instructions
        • Binary Addition
        • Hexadecimal
      • Software >
        • Operating System
        • Types of Software
        • Utility Software
      • Programming >
        • Flowcharts
    • Game Design
    • App Creation
    • Digital Literacy >
      • Social Media (Good or Bad thing?)
      • Cyberbullying
      • Staying Safe Online
    • ICT Strand >
      • Spreadsheet Modelling
      • Superhero Movie Trailer
      • PowerPoint Task
      • Paint 3D Tutorial
    • Programming Lessons >
      • Microbit >
        • Magic 8 Ball
        • Harry Potter Sorting Hat
        • Music
        • Music (Festive)
        • Quick Start Guide
        • Microbit Simulator
      • TouchDevelop >
        • TouchDevelop Challenge
        • Scheme of Work
        • TouchDevelop Lessons >
          • 8 bit challenge
          • Turing Test
          • Turtle Power
          • 8 Ball
          • Under the hood
        • Tutorials
      • Raspberry Pi >
        • Networking the Pi
        • Minecraft Pi
        • Harry Potter Sorting Hat >
          • Harry Potter Sorting Hat (GPIO)
        • Raspberry Pi LTSP (Networked Classroom)
        • Astro Pi
      • Scratch
      • Python >
        • Chatbot
        • Coding Golf
        • Magic 8 ball
        • Python Mad Libs
        • Shakespearean Insult Generator >
          • Shakespearean Insult Generator Part 2
        • Sorting Hat
      • Little Man Computer
      • Hour of Code >
        • HoC 8-Bit Challenge
  • 21 Things
  • Microbit
    • Physical Computing >
      • micro:bit LEDs
  • About
  • Blog
Search by typing & pressing enter

YOUR CART

Little Man Computer

In this lesson, students look at the CPU in detail, exploring the three major parts: Arithmetic/Logic Unit (ALU), Control Unit (CU) and Memory. Students also explore the Little Man Computer simulation to demonstrate the fetch-execute cycle.

Credits: This lesson is based on the sample Scheme of Work supplied by OCR. You can see the original version by clicking here.

Suggested time: 50-100 mins

Learning Objectives:

  • State the purpose of the CPU
  • Describe the function of the CPU as fetching and executing instructions stored in memory
  • Understand the concept of machine code and assembly language instructions


Curriculum Mapping:

KS3:

  • Use two or more programming languages, at least one of which is textual, to solve a variety of computational problems
  • Understand how instructions are stored and executed within a computer system



What is Little Man Computer: 


The Little Man Computer (LMC) is a simulator which models the basic features of a modern computer. It is based on the Von Neumann architecture featuring a central processing unit consisting of an arithmetic logic unit and registers, a control unit containing an instruction register and program counter, input and output mechanisms and memory to store both data and instructions.

The LMC is based on the concept of a little man (shut in a small room or inside a computer) acting like the control unit of a CPU i.e. fetching instructions from memory, decoding and executing the instructions, and managing the input and output. The LMC can be programmed using either "Machine Code" or "Assembly Language". 
Picture

Starter:

This activity, courtesy of CS Unplugged, provides students a basic understanding of how computers work by having them act out a simple computer simulation.

How it works:

Each student takes on the role of a different part of a simplified computer (CPU, ALU and Display) and, working in groups of three, run a simple program. The end result of this program is to draw a picture on a simulated computer display.

You download the activity here: http://cse4k12.org/how_computers_work/index.html 


Activity 1:
Picture
Show students a picture of a CPU (If you have a spare CPU to hand - even better!). Explain to students that, in the starter activity, they simulated what goes on inside the CPU (All be it at a very basic level!). Explain that the students will be taking a deeper look inside the CPU using a simulation called Little Man Computer (LMC). 
Load Little Man Computer (http://peterhigginson.co.uk/LMC/) and explain to students that the main function of the CPU is to fetch and execute the instructions. 

Load the following set of instructions, to add two numbers, into the simulator to demonstrate how the simulator works.
Picture
Click on 'Submit' to load the instructions followed by 'RUN' to execute the code.
Picture


Activity 2:

After demonstrating the LMC simulator, hand students the following sequence of instructions, (printed and cut into pieces). Ask students, in groups of about 4 or 5, to load the Little Man Computer simulator and execute the sample program. Once the students have successfully loaded the simulator, ask them to place the printed instructions in the correct order and record their answers on the task sheet, provided. After 5 mins, discuss with the class the students’ findings.
lmc_cutout.docx
File Size: 96 kb
File Type: docx
Download File

After discussing the sample program with the class, show them the LMC reference sheet (below) and explain the different instructions.

Finally, challenge the students, using the reference sheet and what they had learnt, to write a program to add 3 numbers and execute it in the LMC simulator. As an extension, ask some students to write a program to add and subtract a number or to write a program of their own (see worksheet below).

Resources:
cpu_lmc_worksheet.docx
File Size: 126 kb
File Type: docx
Download File

Little Man Computer (LMC) worksheet
cpu_lmc_extension.docx
File Size: 67 kb
File Type: docx
Download File

LMC extension worksheet
lmc_reference.docx
File Size: 145 kb
File Type: docx
Download File

LMC reference sheet

Extension:

Challenge the students to convert the instructions from assembly language to machine code.
cpu_lmc_machine_code_ref.docx
File Size: 23 kb
File Type: docx
Download File

LMC Machine Code Reference Sheet

Plenary: CPU Dingbats

Finish by playing a game of CPU dingbats (see attached). This version is based on a starter activity shared via CAS by John Bilton. (Original version can be found here: http://community.computingatschool.org.uk/resources/1314).
cpu_dingbats_plenary.pptx
File Size: 1470 kb
File Type: pptx
Download File


Downloads:

  • http://www.gcsecomputing.org.uk/lmc/lmc.html (Downloadable VB.Net version of the Little Man Computer)
  • http://peterhigginson.co.uk/LMC/ - Enhanced online version of the VB.Net LMC simulator created by Peter Higginson
  • http://www.gcsecomputing.org.uk/lmc/lmc_java.html - Original OCR recommended Java Script version of the LMC (Note: this version may now be blocked due to the recent JAVA update) 



Links:


LMC:
  • http://mrbcomputing.com/assembly-language-introduction-using-lmc/ - Short video tutorial introducing students to Assembly Language using the Little Man Computer
  • http://community.computingatschool.org.uk/resources/1573 - Little Man Computer CPD Pack: Excellent set of resources from a Little Man Computer focused Master Teacher CPD session. (Requires signup - FREE)
  • http://www.gcsecomputing.org.uk/lmc/index.html - Little Man Computer support page
  • LMC and CPU Basics.ppt - Great PowerPoint, from D Travi, explaining how The LMC and CPU work 
  • http://www.pwnict.co.uk/computingGCSE/2.1.2%20Hardware/lesson%201%20-%20CPU/What%20is%20the%20CPU.pptx - Excellent PowerPoint explaining how the CPU works courtesy of PWNICT  


Fetch-execute cycle:

  • http://www.eastaughs.fsnet.co.uk/cpu/execution-fetch.htm - Animation demonstrating the fetch-execute cycle
  • http://community.computingatschool.org.uk/resources/95#post_18284 (Requires you to sign up – FREE)                                                        
Powered by Create your own unique website with customizable templates.