Computing and Coding in the Real World

Computing and Coding in the Real World — page 3
input and Output Computers need a way to interact with the real world They have to be able to receive information and output the results in a way that can be used by people Processing and programs The work is usually performed by the computer’s central processing unit CPU This is a microprocessor often referred to as a chip It can perform thousands or even millions of operations every second The CPU runs a set of instructions called a program stored in the chip The instructions are made up of lines of code These are commands or instructions to the computer INPUT PROCESSING OUTPUT STORAGE FEEDBACK Information flow When data is put into a computer it is called input The computer works on the data in the next stage called processing The results may be stored and can be displayed now or later in a useful form called output Sometimes the output becomes new data for input This information is called feedback 6 T RU E S T O R Y Lightning Lines of Code Some machines need vast amounts of code to run The F-35 Lightning II aircraft features more than eight million lines of code in its programs to fly and navigate this military jet