Mrs. Ulshafer August, 2013 Java Programming Chapter 1.

Slides:



Advertisements
Similar presentations
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Advertisements

Lecture 1: Overview of Computers & Programming
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Introduction to Computers
Computer Hardware.
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
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.
Chapter 1 – Lesson 1-2 Understanding Computers
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
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.
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Lesson 3 — How a Computer Processes Data
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
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.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
Lesson 2 — How Does A Computer Process Data?
Computers Inside and Out
Introduction to Computers
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
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.
What is computer hardware? Computer hardware are the physical components of the computer.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
BAT3O / BTX4C. Definition: A computer is an electronic machine that 1) takes in data and instructions (input) 2) works with the data (processing) 3) puts.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
 Identify computer system components.  Explain how the CPU works.  Differentiate between RAM and ROM.  Describe how data is represented.  Identify.
How Computers Work. All Computers process data process data 1-- Input dataInput data 2--Store data while being processedStore data while being processed.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Business Technology Applications Computer Basics Vocab.
The Computer System CS 103: Computers and Application Software.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Computer Basics Just How Does a Computer Work?
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Java Programming: From the Ground Up
BASIC PROGRAMMING C SCP1103 (02)
An Overview of the Computer System
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1: An Overview of Computers and Programming Languages
BASIC PROGRAMMING C SCP1103 (02)
Computer Hardware and Software
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Introduction to Computers
An Overview of the Computer System
Computer Science I CSC 135.
Computer Electronic device Accepts data - input
Introduction to Computers
Presentation transcript:

Mrs. Ulshafer August, 2013 Java Programming Chapter 1

What is a Computer? An Electronic machine Accepts information Data Processes information based on instructions Provides results or new information

Program List of instructions written in a special language Lets computers solve problems Specific order to be performed Tells computer what to do What is a Computer?

Journal 1: Prompt: What do you expect to get out of this course? What are you most looking forward to this semester?

Uses of 1 st Computers Calculators Vs Computers Computers make DECISIONS Navigation Census Bureau Military

Hardware: (Physical Components) Base Unit CPU Storage Devices CD-ROM, USB, ZIP Hard Disk Contained within base unit The Modern Computer

Hardware: (Physical Components) Keyboard, mouse and disk drives Input of data Monitor View input or output Software – Programs that tell computer what to do The Modern Computer

4 Subsystems of a Computer Input Devices tools that accept data Memory Electronic storage of instructions and data

4 Subsystems of a Computer Central Processing Unit (CPU) Processes data Controls flow of data Output Devices Tools where data can be displayed Monitors printers

Directions of Data Flow Input Output CPU Memory

Read-Only Memory (ROM) Basic Operating Instructions Permanent part CAN NOT BE CHANGED Random Access Memory (RAM) Main memory Stored temporarily Lost after shut down

Memory Auxiliary Memory Storage long term storage Reusable Thumb Drives CD – ROM Hard Drive

Memory Workings of Memory access in Auxiliary copy into RAM copy into registers Actions taken copied back into RAM copied back in auxiliary

CPU Directs all activities Information flows through “BRAIN” only follows instructions Can NOT think Add or compare numbers only Changes operations into addition Solves problems in nanoseconds

Number Systems Base 2 Binary Uses only 2 digits 0 for off, 1 for on states of electrical circuits powers of 2

Explain what the following means: “There are only 10 types of people in the world: Those who understand binary and those that don’t”

Storing Data Binary system stores data Each 0 or 1 is a bit (BI-nary digi-T) Bytes: RAM Measured in bytes MB- GB- TB– 8 Bit Unit 2 20 = 1, 000, = 1, 000, 000, = 1,000, 000, 000, 000

Storing Data ASCII Code American Standard Code for Information Interchange Letters, numbers and characters are turned into numbers which are turned into binary code Always 1 byte long (8 bits)

Operating Systems Windows 7- GUI Special program Graphical user interface (GUI) Pictures (icons) to create a user- friendly environment Provides applications and tools Object base operating system Each item that appears is an object

Programming Languages Machine Language Lowest Level Directly typing in 0s and 1s Depends on CPU type High – Level Languages FORTRAN, COBOL, PASCAL, C, C++ Chunks of normal language Compiler translates into machine

Java Started for applets- downloadable programs Object-Oriented Language Data described by objects Then told what to do organized Must have a class Must have methods – instructions

Java Editor – place to enter/modify Java text Source Code Java written text Compiler - Translates into Java bytecode - Enforces rules of language - Checks for errors in syntax and some logic

Java Debug- Process of removing errors from the program Virtual Machine Reads and runs bytecode Portable - can run programs on any platform (mac, linux, windows) Safe