CPS120: Introduction to Computer Science Introduction to Computers.

Slides:



Advertisements
Similar presentations
Introduction to Computers
Advertisements

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
A long time ago, in a galaxy far, far away…. 1-1.
09/06/06 Hofstra University – Overview of Computer Science, CSC005 1 CSC005 – Overview Of Computer Science.
Introduction to Computers and Programming - Class 1 1 Introduction to Computers and Programming Professor Avi Rosenfeld.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
Chapter 1 The Big Picture.
Introduction Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved. 1 Introduction.
Appendix The Continuing Story of the Computer Age.
16 March, 2000 CS1001 Lecture 1 Introduction - Syllabus History of Computers Computer Components.
Chapter 1 An Overview of Personal Computers
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
1 Chapter 1 The Big Picture. 2 2 Computing systems are dynamic entities used to solve problems and interact with their environment. They consist of devices,
Lecture 6 & 7 Computer History.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
1 6 Abacus An early device to record numeric values Blaise Pascal Mechanical device to add, subtract, divide & multiply Joseph Jacquard Jacquard’s Loom,
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 1 History of Computing. 2 Early History of Computing Abacus (origin? 2000BC) An early device to represent numeric values with beads. Note that.
Chapter 01 Nell Dale & John Lewis.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
About the Presentations The presentations cover the objectives found in the opening of each chapter All chapter objectives are listed in the beginning.
BACS 287 Basics of Programming BACS 287.
Wilhelm Schickhard (1623) Astronomer and mathematician Automatically add, subtract, multiply, and divide Blaise Pascal (1642) Mathematician Mass produced.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Dr. John P. Abraham, University of Texas Pan American Information Technology Introduction Dr. John P. Abraham.
CS 1410 Intro to Computer Tecnology Computers and History1.
Introduction Chapter 1. 1 History of Computers Development of computers began with many early inventions: The abacus helped early societies perform computations.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Chapter 1 The Big Picture.
Computer system overview1 The Effects of Computers Pervasive in all professions How have computers affected my life? How have computers affected my life?
Computer Parts. Two Basic Parts Hardware & Software.
CMSC 120: Visualizing Information 1/29/08 Introduction to Computing.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Introduction Lecture 01.
CPS120: Introduction to Computer Science Introduction to Computers.
Visual C++ Programming: Concepts and Projects
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Chapter 1 Introduction.
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++
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Calculators are used to increase speed and accuracy of numerical computations The abacus has roots dating back over 5,000 years Mechanical calculators.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Scott Marino MSMIS Kean University MSAS5104 Introduction to Programming with Data Structures and Algorithms Week 2 Scott Marino.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
The 5 generations of computers. Generations of computers The history of computer development is often referred to in reference to the different generations.
Generations of Computing. The Computer Era Begins: The First Generation  1950s: First Generation for hardware and software Vacuum tubes worked as memory.
Chapter 1 An Overview of Computers and Programming Languages.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Hardware and Software UCT Department of Computer Science Computer Science 1015F Hussein Suleman March 2009.
CSIS-110 Introduction to Computer Science
The First Computers Jacquard’s Loom: programmed a loom
4. History of Computing Technology
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 The Big Picture
The abacus has roots dating back over 5,000 years
About the Presentations
UNIV 103 CS Majors Seminar Dr. Blaise W. Liffick Fall 2017.
Introduction to Computers and the internet
Computer Science I CSC 135.
The Five Generations of Computers
Computer Generations.
CS 330 Programming Languages
Presentation transcript:

CPS120: Introduction to Computer Science Introduction to Computers

 Objectives –Understand the history of computers –Understand the components that make up a desktop PC –Understand the basics of computer architecture –Understand the role of an operating system –Understand the role of assemblers, interpreters, & compilers

5 A mental model that removes complex details This is a key concept. Abstraction

Representing Data  Data can be numeric, alphabetic, or alphanumeric  Computer only uses “on” & “off” within its circuits

Representing Data: Bits  Computer only uses “on” & “off” within its circuits  Binary number system –“On”, 1, high state of electricity –“Off”, 0, low state of electricity –Bits (0’s and 1’s)

Representing Data: Bytes  Byte = 8 bits (2 3 )  256 possible combinations of 8 bits  Decimal system is cumbersome & awkward for pc’s –Can convert from decimal to binary & vice versa ASCII (American standard code for information interchange)  128 characters in the 7-bit set

3 Hardware: The physical elements of a computing system (printer, circuit boards, wires, keyboard…) Software: The programs that provide the instructions for a computer to execute Computing Systems

4 Communication Application Operating System Programming Hardware Data Layers of a Computing System

Early History of Computers  Abacus  Pascal’s gear-driven counting machine (mid 17th Century) –His father was a tax collector  Babbage designed a programmable computer (1834)  Joseph Jacquard designed a loom that used the the punched card to store instructions (late 18th Century)

7 Ada Augusta, Countess of Lovelace First Programmer, the loop (mid 19th Century) Alan Turing (1936) Turing Machine, Artificial Intelligence Testing Harvard Mark I, ENIAC, UNIVAC I Early computers launch new era in mathematics, physics, engineering and economics Early History of Computing

"Modern" Developments  Hollerith built machine for US census bureau & founded IBM (late 19th Century)  1946, ENIAC used vacuum tubes (Univ of Penn) - very hot, needed AC, military paid for this researchENIAC  Transistors used in 1950’s, didn’t burn out like vacuum tubes  Integrated circuits (chips) used in 1960’s  Microprocessor used in 1970’s  Supercomputers, mainframes, minicomputers, workstations, desktop computers

8 Vacuum Tubes Large, not very reliable, generated a lot of heat Magnetic Drum Memory device that rotated under a read/write head Card Readers  Magnetic Tape Drives Development of these sequential auxiliary storage devices First Generation Hardware ( )

9 Transistor Replaced vacuum tube, fast, small, durable, cheap Magnetic Cores Replaced magnetic drums, information available instantly Magnetic Disks Replaced magnetic tape, data can be accessed directly Second Generation Hardware ( )

10 Integrated Circuits Replaced circuit boards, smaller, cheaper, faster, more reliable. Transistors Now used for memory construction Terminal An input/output device with a keyboard and screen Third Generation Hardware ( )

11 Large-scale Integration Great advances in chip technology PCs, the Commercial Market, Workstations Personal Computers were developed as new companies like Apple and Atari came into being. Workstations emerged. Fourth Generation Hardware (1971-?)

12 Parallel Computing Computers rely on interconnected central processing units that increase processing speed. Networking With the Ethernet small computers could be connected and share resources. A file server connected PCs in the late 1980s. ARPANET and LANs  Internet A network of interconnected networks Parallel Computing and Networking

13 Machine Language Computer programs were written in binary (1s and 0s) Assembly Languages and translators Programs were written in artificial programming languages and were then translated into machine language Programmer Changes Programmers divide into application programmers and systems programmers First Generation Software ( )

Representing Instructions:  Low Level Languages –Each computer uses its own machine language –Assembly is a low-level language close to machine language Assembly languages are different on each computer An assembler converts a program into machine language

Machine Languages  different for each computer processor

Assembly Languages  different for each computer processor mainproc pay mov ax, dseg mov ax, 0b00h add ax, dx mov a1, b1 mul b1, ax mov b1, 04h

14 High Level Languages Use English-like statements and made programming easier: Fortran, COBOL, Lisp (artifical intelligence). High-Level Languages Assembly Language Machine Language Second Generation Software ( )

16 Application Package Systems Software High-Level Languages Assembly Language Machine Language Third Generation Software ( )

15 Third Generation Software ( )  Systems Software – utility programs, – language translators, – and the operating system, which decides which programs – to run and when.  Separation between Users and Hardware  Computer programmers now created programs to be used by people who did not know how to program

17 Structured Programming BASIC refined, Pascal, C, C++ New Application Software for Users Spreadsheets, word processors, database management systems Fourth Generation Software ( )

18 Microsoft The Windows operating system, and other Microsoft application programs dominate the market Object-Oriented Design Based on a hierarchy of data objects (i.e. Java) World Wide Web Allows easy global communication through the Internet New Users Today’s user needs no computer knowledge Fifth Generation Software (1990- present)

20 Programmer / User Applications Programmer (uses tools) User with No Computer Background Systems Programmer (builds tools) Domain-Specific Programs Computing as a Tool

21 Computing as a Discipline  Four Necessary Skills 1.Algorithmic Thinking 2.Representation 3.Programming 4.Design

System Components  Hardware –I/O devices (input/output) keyboard, mouse, monitor, etc. –CPU –Primary Storage –Secondary Storage  Software

Computer Architecture  Microprocessor (examples Pentium, Pentium II, PowerPC, etc.) –includes Bus Interface Unit, Arithmetic & Logic Unit (ALU), Control Unit, registers –motherboard is simply the main circuit board that contains most of these parts –the CPU (central processing unit) is considered to be most of these parts taken as a whole  Bus –connects the microprocessor to the RAM & ROM –addresses for data and instructions are important

Storage Devices  Primary storage –RAM (Random Access Memory, or just “memory” for short) active data that is being stored, lost if power is cut off so save often –ROM (Read-Only Memory) commands that are permanently stored on chips PC’s use BIOS, Macs use the Toolbox  Secondary storage –Hard disk, floppy disks –Slower method of storage & retrieval but “safer”

Software: Systems Software  Operating systems –Controls the hardware components (disks, CPU, printers, etc.) –Windows XP, Windows NT/2000, Windows 9- X, MS-DOS, OS/2, MacOS, Unix, Linux, BeOS

Software: Application Software  Office products –Word processors –Spread sheets –Presentation software –  Business applications –General ledger –Financials Accounts payable Accounts receivable –HRMS –Fixed assets/inventory

Programming Software  Text Editor – Used by the programmer while coding the program in a programming language Like a word processor - creates a text file containing the program's instructions or "source code" –Examples are “nled” and “vi” editors in Unix systems –Other editors are NotePad and WordPad which are text- based

Programming Software  Interpreters –Translates source code into machine code line by line  Compiler –Translates source code into an object file, than uses linker to create an executable file A source module (source code) becomes an "object" module (compiled module) Then it is linked with system modules to become a "load" module (linked module)  It is usually more efficient to use a compiler