Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.

Slides:



Advertisements
Similar presentations
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
COSC 120 Computer Programming
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
1 Programming & Programming Languages Overview l Machine operations and machine language. l Example of machine language. l Different types of processor.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
1 Programming & Programming Languages Overview l Machine operations and machine language. l Example of machine language. l Different types of processor.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!
CS102 Introduction to Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter Introduction to Computers and Programming 1.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Systems Software & Operating systems
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
CHAPTER FOUR COMPUTER SOFTWARE.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
Introduction to Programming Using C Introduction to Computer Programming.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Introduction to Computer Systems and the Java Programming Language.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Liang, Introduction to C++ Programming, (c) Chapter 1 Introduction to Computers, Programs, and C++
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Computer and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
By Tom and James. Hardware is a physical part of the system that you can pick up and move. There are two types of hardware, external and internal. External.
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
Chapter 4 Software. Introduction Program: is a set of sequence instructions that tell the computer what to do. Software: is a collection of programs,
Brief Version of Starting Out with C++ Chapter 1 Introduction to Computers and Programming.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
The Big Picture. My Story  Wrote great programs  Didn’t understand how they worked.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Computer Basics.
An Overview of the Computer System
Hardware and Software Hardware refers to the physical devices of the computer system e.g. monitor, keyboard, printer, RAM etc. Software is a set of programs,
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
An Overview of the Computer System
Computer Science I CSC 135.
Computers: Hardware and Software
Presentation transcript:

Robert Crawford, MBA West Middle School

 Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize the tasks of the operating system  Identify two leading operating systems and explain why compatibility is an issue ◦ This is one of the largest units; be ready for a lot of new, and detailed, information.  (And I actually cut some stuff out)

 ASCII  Character Set  Compiler  Interpreter  Object Code  Object-Oriented Programming  Procedural Programming  Programmer  Source Code  Unicode

Understanding Binary

 Remember, all the computer can do is act on pieces of information. ◦ It can compare that piece of information to another piece of information ◦ It can perform a mathematical operation on the piece of information ◦ That’s all it can do!

 The Binary World ◦ In almost all cases that information is expressed as ones and zeros.  These ones and zeros then represent other numbers.  It is reasonably easy to convert other information in to binary

 The Binary World  It is reasonably easy to convert other information in to binary  The first thing to remember is that a Byte is not made up of a single Bit, it is made up of 8 Bits Number of Binary Digits (bits) Common Name 1Bit 4Nibble 8Byte 16Word 32Double Word 64Quad Word

 The Binary World  It is reasonably easy to convert other information in to binary  We start by making a table Binary Digit

 The Binary World ◦ Binary is relevant because all the computers can work with is 1s’ and 0s’ ◦ This is because it is made up of transistors  Which are nothing but little switches

 The Binary World ◦ Binary is relevant because all the computers can work with is 1s’ and 0s’ ◦ This is because it is made up of transistors  Which are nothing but little switches ◦ These transistors are combined to make computer chips

 The Binary World ◦ Binary is relevant because all the computers can work with is 1s’ and 0s’ ◦ Of course, these 1s’ and 0s’ add up to numbers, and the numbers have meaning. ◦ The meanings are defined by ASCII  American Standard Code for Information Interchange ◦ These are standardized so that a particular digital “word” always means the same thing, no matter who wrote the program.

 The Binary World ◦ Don’t panic!  You don’t need to know this chart!

 The Binary World ◦ What you do need to understand is that  in the ASCII (American Standard Code for Information Interchange) chart certain, defined, numbers represent certain characters and punctuation marks.  ASCII provides a common system for coding characters, or character set that uses 8 Bit Words.  Unicode is similar but uses16 bit words  What would be the difference between an 8 bit word and a 16 bit word?  Remember this? Binary Digit

What is software and how is it made

 How does the computer know what to do with the data in the digital form?

 The computer gets its instructions from its software. ◦ Who produces software?

 The computer gets its instructions from its software. ◦ Software is produced by Programmers.  They write the instructions for the computer  These instructions become the software

 The computer gets its instructions from its software. ◦ Software is produced by Programmers.  They write the instructions for the computer  These instructions become the software  However, in their written form, these instructions are referred to as source code...  The code that provides the source, or beginning, of the software.

 The computer gets its instructions from its software. ◦ Software is produced by Programmers.  They write the instructions for the computer  These instructions become the software  However, in their written form, these instructions are referred to as source code...  The code that provides the source, or beginning, of the software. Sub (hello_world) Print$ “Hello World” Gosub hello_world

 There are two basic types of programming languages. ◦ Remember, programming languages are what programmers use to write the source code, which becomes software, the instructions to the computer.

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming

 There are two basic types of programming languages. ◦ Procedural Programming  Uses step by step instructions to tell the computer what to do. ◦ Object-oriented Programming

 There are two basic types of programming languages. ◦ Procedural Programming  Uses step by step instructions to tell the computer what to do.  Languages include:  C  Fortan  Pascal  Basic  (no, this list will not appear on a quiz) ◦ Object-oriented Programming

 There are two basic types of programming languages. ◦ Procedural Programming  Uses step by step instructions to tell the computer what to do.  Languages include:  C  Fortan  Pascal  Basic  (no, this list will not appear on a quiz) ◦ What you need to remember is:  Programming languages are what programmers use to write the source code, which becomes software, the instructions to the computer.

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming  Provides rules for both creating and managing objects.  An object can be both data and rules for how to process the data

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming  Provides rules for both creating and managing objects.  An object can be both data and rules for how to process the data  Languages include:  C++  VBScript  Java  Be aware that your Computer Science AP class in high school will feature Java... From the syllabus: (Note: Students who study a language other than Java in AP Computer Science must also be taught to use Java, as specified in the AP Java subset.) C6 - The course teaches students to code fluently in an object-oriented paradigm using the programming language Java.

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming  Programming languages are also broken down (categorized) by how they convert source code in to a format usable to the computer. ◦ What is source code?

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming  Programming languages are also broken down (categorized) by how they convert source code in to a format usable to the computer. ◦ Source code is made up of the instructions to the computer, written by programmers, using programming languages  The source code becomes the software that provides the instructions to the processor.

◦ Source code is made up of the instructions to the computer, written by programmers, using programming languages  The source code becomes the software that provides the instructions to the processor.  This definition sounds pretty complicated. Why can’t we just say it’s software? ◦ We can’t say it’s software because it isn’t software! ◦ All the computer can work with is 1s’ and 0s’

 The computer cannot work with these high-level languages we have just named: ◦ C, Fortran, Pascal, Basic, C++, Java, VBScript ◦ It can only work with 1s’ and 0s’

 We are going to take a moment and look that the Wikipedia definition of Source Code He seems to be spending a lot of time on source code, I wonder if will ever be on a test...

 There are two basic types of programming languages. ◦ Procedural Programming ◦ Object-oriented Programming  Programming languages are also broken down (categorized) by how they convert source code in to a format usable to the computer. ◦ Compiled ◦ Interpreted

 Programming languages are also broken down (categorized) by how they convert source code in to a format usable to the computer. ◦ Compiled  More common for complex, commercial software .exe files ◦ Interpreted  More common for simple instructions .bat files

 In computing, source code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text. ◦ The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code.  The source code is often transformed by a compiler program into low- level machine code understood by the computer. The machine code might then be stored for execution at a later time.  Alternatively, an interpreter can be used to analyze and perform the outcomes of the source code program directly on the fly.

Okay, so it is something written by people, and intended to be something easy for people to understand and it gets converted into something that the computer can understand; But, what was that step in the middle?

 In computing, source code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text. ◦ The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code.  The source code is often transformed by a compiler program into low-level machine code understood by the computer. ◦ The machine code [or executable] might then be stored for execution at a later time. ◦ [most software is distributed as an executable]  Alternatively, an interpreter can be used to analyze and perform the outcomes of the source code program directly on the fly.

Functions and types of Operating Systems

 Recall that the software that tells the computer how to do its work is the Operating System (OS).

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals: ◦ Managing Data: ◦ Managing Memory: ◦ Coordinating data processing: ◦ Providing the user interface:

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals:  Moving data and commands between the CPU and the monitor, printers, disk drives, and other peripherals. ◦ Managing Data: ◦ Managing Memory: ◦ Providing the user interface:

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals:  Moving data and commands between the CPU and the monitor, printers, disk drives, and other peripherals. ◦ Managing Data:  Finding the needed programs and files ◦ Managing Memory: ◦ Coordinating data processing: ◦ Providing the user interface:

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals:  Moving data and commands between the CPU and the monitor, printers, disk drives, and other peripherals. ◦ Managing Data:  Finding the needed programs and files ◦ Managing Memory:  Storing data and programs in RAM and on the hard drive. ◦ Coordinating data processing: ◦ Providing the user interface:

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals:  Moving data and commands between the CPU and the monitor, printers, disk drives, and other peripherals. ◦ Managing Data:  Finding the needed programs and files ◦ Managing Memory:  Storing data and programs in RAM and on the hard drive. ◦ Coordinating data processing:  Performing many tasks at once and insuring that processes do not interfere with one another ◦ Providing the user interface:

 Recall that the software that tells the computer how to do its work is the Operating System (OS). The OS has several jobs: ◦ Managing peripherals:  Moving data and commands between the CPU and the monitor, printers, disk drives, and other peripherals. ◦ Managing Data:  Finding the needed programs and files ◦ Managing Memory:  Storing data and programs in RAM and on the hard drive. ◦ Coordinating data processing:  Performing many tasks at once and insuring that processes do not interfere with one another ◦ Providing the user interface:  Organizing than displaying the options you see on your screen when you turn on your computer

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Linux

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Runs on Intel based processors  Uses Generic hardware  Macintosh OS (OSx)  Linux

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Initially ran on Motorola Processors;  but now also uses Intel processors.  Linux

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Initially ran on Motorola Processors;  but now also uses Intel processors.  Requires Apple Hardware  (not really )  Linux

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Initially ran on Motorola Processors;  but now also uses Intel processors.  Requires Apple Hardware  (not really )  Apple is a systems provider  They are not just a hardware vendor or OS provider  Linux

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Linux  Is based on UNIX (but isn’t UNIX)  Runs on a large variety of hardware  Has very limited support

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Linux ◦ At one time these systems were incompatible

 Systems Compatibility ◦ The three most common families of operating systems are:  Windows  Macintosh OS (OSx)  Linux ◦ At one time these systems were incompatible  OSx and Linux can now read files written for each other and Windows.  Various programs allow software intended for windows to run on OSx and Linux.

 Explain how the binary system is used by computers.  Describe how software is written and translated ◦ Programmer, Source Code, compiled, Interpreted  Summarize the tasks of the operating system  Identify two leading operating systems and explain why compatibility is an issue

 ASCII  Character Set  Compiler  Interpreter  Object Code  Object-Oriented Programming  Procedural Programming  Programmer  Source Code  Unicode