Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 

Slides:



Advertisements
Similar presentations
Computer Hardware.
Advertisements

Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Introduction to Computer Systems
Introduction to Computers
COMP 14 Introduction to Programming
Hardware and Software ► Hardware  the physical, tangible parts of a computer  keyboard, monitor, disks, wires, chips, etc. ► Software  programs and.
1-1 ICS102: Introduction To Computing I King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
How Do Computers Work? A Gentle Introduction
UNIT 9 Computer architecture
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
How Do Computers Work? A Gentle Introduction Poly Pride.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
Computer Systems. Basic Components Auxiliary Storage OutputProcessor Main Memory Input.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Welcome to Computing Presentation slides modified by M. A. Papalaskari from “Java Software Solutions Foundations of Program Design (3 rd ed.)” by John.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Chapter 1 Introduction. © 2004 Pearson Addison-Wesley. All rights reserved1-2 Announcements The first Weekly Quiz will be available on Blackboard this.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
1 Hardware and Software b Hardware the physical, tangible parts of a computerthe physical, tangible parts of a computer keyboard, monitor, wires, chips,
Computer Architecture
Appendix A Information Systems Hardware Information Systems Today Leonard Jessup and Joseph Valacich.
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
CSCI-100 Introduction to Computing Hardware Part I.
© 2011 Pearson Education, publishing as Addison-Wesley Monday  Class Requirements  Earn hawk points today with the Name Game  Network Login.
General Computer Stuff Hardware: physical parts of a computer: CPU, drives, etc. Software: Programs and Data A computer needs both to be useful.
© 2006 Pearson Education Chapter 1: Computer Systems.
Machine Architecture and Number Systems
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
General Computer Knowledge COE 201- Computer Proficiency.
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.
Computers Inside & Out. How have computers affected your life? How has technology affected your life?
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Basic Computer Components Unit 2. What is a computer?  A computer is an electronic device that accepts raw data and processes it into information that.
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
BASIC PROGRAMMING C SCP1103 (02)
An Overview of the Computer System
Computer Basics 1 Computer Basics.
UNIT 9 Computer architecture
BASIC PROGRAMMING C SCP1103 (02)
Chapter 1: Computer Systems
Introduction to Computers
An Introduction to The computer.
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Introduction to Computers
Computer Electronic device Accepts data - input
Chap 2. Computer Fundamentals
COMPUTER FUNDAMENTALS i
Presentation transcript:

Introduction to Programming

Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI  Digital  Binary  Memory address  Volatile  RAM  ROM Hint: You will see these again in a quiz soon.

 Hardware Monitor CPU Hard drive Mouse Keyboard DVD-ROM Power Supply  Software Operating system ○ Windows XP ○ Mac OS ○ Linux Applications ○ Word ○ Outlook express ○ Photoshop ○ Firefox

Central Processing Unit  Uses the main memory  Performs all the basic processing in a computer  Reads and executes instructions  Made up of the control unit, registers, and arithmetic/logic unit Central Processing Unit Main Memory

Input/Output Devices  Input Devices Mouse Keyboard Scanner Microphone Hard drive (any file)  Output Devices Monitor Speakers Printer Hard drive (any file)

Secondary Memory Central Processing Unit Main Memory Floppy Disk Hard Disk Secondary memory devices provide long-term storage Information is moved between main memory and secondary memory as needed Hard disks Floppy disks ZIP disks Writable CDs Writable DVDs Tapes

© 2004 Pearson Addison-Wesley. All rights reserved1-7 Software Categories  Operating System controls all machine activities provides the user interface to the computer manages resources such as the CPU and memory Windows XP, Unix, Linux, Mac OS  Application program generic term for any other kind of software word processors, missile control systems, games  Most operating systems and application programs have a Graphical User Interface (GUI)

Digital vs. Analog  Digital Uses 0 or 1 Binary Number System  Analog Anything that can change gradually Example: Temperature

Representing Text Digitally H i, H e a t h e r

Bytes and Bits  A bit is one unit of info – a 1 or a 0  A byte is 8 units of info –  A megabyte (MB) is 1 million bytes or basically 8 million bits

© 2004 Pearson Addison-Wesley. All rights reserved1-13 Memory Main memory is divided into many memory locations (or cells) Each memory cell has a numeric address, which uniquely identifies it

© 2004 Pearson Addison-Wesley. All rights reserved1-14 Storing Information Large values are stored in consecutive memory locations Each memory cell stores a set number of bits (usually 8 bits, or one byte)

© 2004 Pearson Addison-Wesley. All rights reserved1-15 Storage Capacity  Every memory device has a storage capacity, indicating the number of bytes it can hold  Capacities are expressed in various units: KB2 10 = 1024 MB2 20 (over 1 million) GB2 30 (over 1 billion) TB2 40 (over 1 trillion) UnitSymbolNumber of Bytes kilobyte megabyte gigabyte terabyte

© 2004 Pearson Addison-Wesley. All rights reserved1-16 Memory  Main memory is volatile - stored information is lost if the electric power is removed  Secondary memory devices are nonvolatile  Main memory and disks are direct access devices – all information is directly accessible  The terms direct access and random access often are used interchangeably  A magnetic tape is a sequential access device since its data is arranged in a linear order - you must get past the intervening data in order to access other information

© 2004 Pearson Addison-Wesley. All rights reserved1-17 RAM vs. ROM  RAM - Random Access Memory (direct access)  ROM - Read-Only Memory  The terms RAM and main memory are basically interchangeable  ROM could be a set of memory chips, or a separate device, such as a CD ROM  Both RAM and ROM are random (direct) access devices!  RAM probably should be called Read-Write Memory (but it usually isn’t)

© 2004 Pearson Addison-Wesley. All rights reserved1-18 The Central Processing Unit  A CPU is on a chip called a microprocessor  It continuously follows the fetch-decode-execute cycle: fetch Retrieve an instruction from main memory decode Determine what the instruction is execute Carry out the instruction

© 2004 Pearson Addison-Wesley. All rights reserved1-19 The Central Processing Unit  The CPU contains: Arithmetic / Logic Unit Registers Control Unit Small, expensive storage areas Performs calculations and makes decisions Coordinates processing steps