Các em chia ra làm ba nhóm, mỗi nhóm tự viết "chương trình" để hoàn thành quy trình làm peanut butter/jelly sandwhich. Vật liệu có sẵn là: 1 lọ peanut butter, 1 lọ Jelly, và 1 bịch bánh mì sandwich .
Sau khi viết chương trình, em đại diện mỗi nhóm sẽ đọc lớn và Lâm làm theo quy trình các em đọc.
It's interesting to see a program gets stuck at some steps (eg. there was no step saying to open the peanut butter jar from beginning, and if the jar is not opened, the following step can't be done)
The following handout was given to each student in class.
Engineering and Basic Computer Instructions.
March 2nd, 2014
Have you ever wonder about how things
round your work?
Have you ever try to do thing on your own without help or instructions
from other? Do you like math and
science? Have you ever try to make
something better? These are some of the
engineering traits. So what is engineering?
·
Engineers
invent ways to use scientific principles for practical good.
·
Engineers
design, build, and maintain things that improve human lives.
·
They
think logically, plan carefully, and calculate precisely to make all the things
that we all use.
Example of engineering work:
·
Aerospace
– building aircraft and spacecraft.
·
Biomedical
– pharmaceuticals & medical devices.
·
Chemical
– batteries, oil refineries, plastics, cleaners,
·
Computer – computer software /
hardware system.
·
Civil
– building Bridge / road / dams / water / sewer system.
·
Electrical
– power system, microchips / radio / communication (phones, internet) / Building
electronics equipment.
·
Nuclear
– power plants, weapons safety.
Today, we
are going to talk briefly about computer engineer, specifically regarding to how
a computer (cell phone / TV) work.
Like human,
every piece of electronic equipment (TV, computer / washing machine / phone…)
has a “brain”. However, their brain can
NOT think. They can only follow precise
sets of instructions call PROGRAM. Their
brains are called Central Processing Unit or CPU. It is a central place where information is
processed and it tells the other parts of the computer what to do by taking
inputs and directing outputs. It is very
different from human brain because it can only follow basic instructions. However, it can perform basic instructions
very fast (many billions of instructions per second). The computer can do extremely complicate
tasks because it breaks down these tasks into many simple instructions.
A program is
a complete set of instructions that is given to the CPU to perform a task. Because the CPU can NOT think, the program
must be precise and complete, it must account for all possibilities that can
happen during the execution of the program.
If the during the course of running the program and the CPU gets to a
situation where the program did not give precise instruction, the CPU will NOT
know what to do and it will crash. The
only way to recover a crash is by turn off the device and turns it back on
(reboot).
No comments:
Post a Comment