An Introduction to Computers August 12, 2008 Mrs. C. Furman.

Slides:



Advertisements
Similar presentations
Calera High School Dawn Bone
Advertisements

Senem Kumova Metin Introduction to Programming CS 115 Introduction to Computing PART I : Computer Basics PART II: Introduction to Computing/Programming.
BT 1005 Managing Information Lecture 2 Data Representation, Storage and Transmission.
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved Plug-in B3 HARDWARE & SOFTWARE.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Introduction to Computer Systems
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
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.
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.
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.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
An Introduction To Computer Hardware
Topics Introduction Hardware and Software How Computers Store Data
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
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.
Lesson 2 — How Does A Computer Process Data?
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
What is a computer? Computer is a device for processing information.
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.
Liang, Introduction to C++ Programming, (c) Chapter 1 Introduction to Computers, Programs, and C++
What does a computer do? Accepts data through inputting Processes data
2 nd MEETING Basic Introduction to Computers. The Computer Defined  A device that computes  Electronic device  Converts data into information  Modern.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
The Computer System CS 103: Computers and Application Software.
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.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Chapter 1 An Overview of Computers and Programming Languages.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
ICT COMPUTER FUNDAMENTALS
Computer Architecture and Number Systems
BASIC PROGRAMMING C SCP1103 (02)
Chapter 1: An Overview of Computers and Programming Languages
Computer Basics 1 Computer Basics.
BASIC PROGRAMMING C SCP1103 (02)
Introduction to Programming
ICT COMPUTER FUNDAMENTALS
Introduction to Computers
Introduction to Computers
Unit One - Computing Fundamentals
Logical Computer System
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
4. Computer system.
Computer components.
Presentation transcript:

An Introduction to Computers August 12, 2008 Mrs. C. Furman

4 Tasks of a Computer Input Data – keyboard, mouse, scanner, microphone, digital camera, CD-RW/DVD drive, and disk drive. Store Data – integrated circuits. Process Data – CPU, where decisions are made. Output Data – monitors, printers, CD- RW’s, disk drives and memory keys store data and speakers.

CPU Arithmetic Logic Unit, which can perform arithmetic and logic operations Executes instructions fast. Speed is determined by the computer’s clock rate. Clock Rate - measured in megahertz (MHz, million cycles per second) and gigahertz (GHz, billion cycles per second)

Memory ROM: Read Only Memory – most basic operations RAM: Random Access Memory – primary storage or main memory – data and instructions are temporarily stored RAM can be written to secondary storage. Secondary Storage – floppy disk, hard disk, memory key, or CD- RW.

Programs Application Software –Word, powerpoint, games… Operating System Software – OS – run automatically when the computer is turned on and is used to control processing and peripherals, run application software and control input and output. –Windows, Mac OS X Tiger, Unix, and Linux

Programming Languages A set of words, codes and symbols that allow a programmer to give instructions to the computer. Low – level and High – level programs…

Low – Level Languages Machine language – first generation language. –Consists of 0’s and 1’s Assembly language –Same instructions and structures as machine language –Uses meaningful names or abbreviations instead of numbers. –Second generation language.

High-Level Languages Third generation languages Developed in late 1950s English-like instructions Easier to use than machine language Fortran, Pascal, C, C++, Java Compilers – program that convert high-level language into machine language. Interpreter – also translates the program but does it line by line, executing as they go.

How is Data Stored? Data – computer representation of something in the real world. Circuits – 2 states ON /OFF Imagine 2 light bulbs / 2 switches, what are the possible combinations? OFF / OFF OFF / ON ON / OFF ON / ON

What about 3 lights? How many combinations? What about 8 lights?

Apply to the computer… Use a special number system: Binary number system. Decimal Number System: base 10, digits 0 – 9. (Our number system) Binary Number System: base 2, digits 0 and 1. 0 represents off (false), 1 represents on (true). A single binary digit is called a bit.

Converting Binary to Decimal Decimal Numbers: 7403 = 7 x x100+ 0x x 1 3x10 0 = 3 0x10 1 = 0 4x10 2 = 400 7x10 3 =

Same process as previous slide, but base 2 8 bits in 1 byte: x2 0 = 0 1x2 1 = 2 1x2 2 = 4 0x2 3 = 0 1x2 4 = 16 1x2 5 = 32 0x2 6 = 0 1x2 7 = 128 Binary to Decimal Total: 182

8 bits = 1 byte What’s the number of combinations in 1 byte? What numbers can be represented with 1 byte?

Examples a b c d

Converting Decimal to Binary Binary Is base 2 We multiply to go from binary to decimal. We divide to go from decimal to binary. Right most digit tells even or odd. 1 – even 0 – odd.

Convert Decimal to Binary a. Convert 210 to binary. b.151

Hexadecimal Hexadecimal: Used to represent 4 binary digits = 15 and 0000 = 0, so it is base 16. Digits 0 – 9 plus A – F A:10, B:11, C:12, D:13, E:14, F:15

Hexadecimal to decimal 1f 15x16 0 = 15 1x16 1 = 16 31

Change from Hexadecimal to Binary and Decimal 0 A 19 1E

Octal Octal is base 8 – digits Convert to decimal x8 0 = 7 4x8 1 = 32 0x8 2 = 0 1x8 3 = 512 = 551

What is the decimal equivalent? C 16