Chapter 1 – Computing Fundamentals. History of Electronic Computers u First computer –ABC (Atanasoff Berry Computer) at Iowa State U. –1930’s –Solved.

Slides:



Advertisements
Similar presentations
An Overview of the Computer System
Advertisements

Using Computers CS French Chapter 1.
COSC 120 Computer Programming
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Introduction to Computer Systems
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
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:
Computer Hardware In this lecture, we will study:
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.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
CS102 Introduction to Computer Programming
Tools make jobs easier to do -A computer is a tool used by many professions A computer can do many different jobs because they are programmable - Machine.
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.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
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.
Lesson 3 — How a Computer Processes Data
UNIX Unbounded 5 th Edition Amir Afzal Chapter 1 First Things First.
Topics Introduction Hardware and Software How Computers Store Data
Computer Hardware and Software Chapter 1. Overview Brief History of Computers Hardware of a Computer Binary and Hexadecimal Numbers Compiling vs. Interpreting.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
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?
CISC105 General Computer Science Class 1 – 6/5/2006.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
Introduction to Programming Using C Introduction to Computer Programming.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Architecture
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
Scott Marino MSMIS Kean University MSAS5104 Introduction to Programming with Data Structures and Algorithms Week 2 Scott Marino.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
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.
CHAPTER 1: Introduction to Computers and Programming CSEB113 PRINCIPLES of PROGRAMMING CSEB134 PROGRAMMING I by Badariah Solemon 1BS (May 2012)
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,
The Computer System.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
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.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
CHAPTER 1 OVERVIEW OF COMPUTER AND PROGRAMMING 1.1 Electronic Computer Then and Now 1.2 Computer Hardware 1.3 Computer Software 1.4 The Software Development.
Chapter 1: Introduction to Computers and Programming
Computer Architecture and Number Systems
BASIC PROGRAMMING C SCP1103 (02)
Computer Science II Chapter 1.
Chapter 1: An Overview of Computers and Programming Languages
BASIC PROGRAMMING C SCP1103 (02)
Overview of Computers and Programming Chapter 1
Introduction to Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
IB Computer Science Topic 2.1.1
UNIV 103 CS Majors Seminar Dr. Blaise W. Liffick Fall 2017.
Chapter 1: Introduction to Computers and Programming
Computer Based Technology:
Topics Introduction Hardware and Software How Computers Store Data
Chapter 5: Computer Systems Organization
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Chapter 1 – Computing Fundamentals

History of Electronic Computers u First computer –ABC (Atanasoff Berry Computer) at Iowa State U. –1930’s –Solved large numbers of simultaneous equations u First “all-purpose” computer –ENIAC (Electronic Numeric Integrator And Calculator) –Main idea developed from ABC notes u Both had set wiring –data was input to memory Lesson 1.1

John von Neumann u Mathematician u Proposed alternative to “hard wiring” u Introduced concept of stored program instructions –Both data and instructions were stored –Led to development of multipurpose computers Lesson 1.1

Computer Categories Supercomputers Mainframe computers Workstations Personal computers (microcomputers) Laptops More powerful than ENIAC Palmtops Speed and size! Lesson 1.1

Architecture u Four main parts –CPU (central processing unit) –Main memory –Controllers –Peripheral devices u Hardware –Electronic and mechanical devices integrated or connected to computer Lesson 1.2

Schematic Main Memory Controllers Peripheral Devices CPU Arithmetic Logic Unit Register Control Unit Motherboard Lesson 1.2

Main Memory u Stores information to be process or instructions to be executed u Information stored in bits (binary digits) –Two states: on or off –Byte is 8 bits (character of information like ‘b’) –Grouped into packets called cells or words –Bit pattern is code Lesson 1.2

Memory Sizes u Represented by 2 raised to a power 2 3 = 8 bits (byte) 2 10 = kilobyteThousand 1, = megabyteMillion 1,048, = gigabyteBillion 1,073,741, = terabyteTrillion 1,099,511,627,776 Lesson 1.2

Memory Access u RAM –Random access memory –Allows access to cells in no particular order –Volatile u ROM –Read only memory –Cannot be modified by user –Information is permanent (non-volatile) u Serial access –Sequence of cell followed to extract information Lesson 1.2

Central Processing Unit (CPU) u Control Unit –Controls activities of CPU –Directs flow of instructions –Communicates with ALU u Registers –Rapid access memory cells u Arithmetic-Logic Unit (ALU) –Arithmetic operations –Logic operations (compares, etc) Lesson 1.2

Peripheral Devices u Two categories –Mass storage t Disk drives t Tape drives t CD drives, etc. –Input-output (I/O) t Monitors t Keyboards t Printers t Speakers, etc. Lesson 1.2

Mass Storage Devices u Store information u Devices that rotate, write to or read from called drives u On/Off (binary) –Magnetic spots on disks or tape –Pits or “lands” on CDs (optical disks) Lesson 1.2

Major Differences between Main and Mass Storage u Slower access in mass storage than main u Mass storage portable u Mass storage usually have greater capacity and can hold large amounts of information u Main memory is volatile and disappears when power is off, but mass storage permanent (unless deliberately erased) Lesson 1.2

Input-Output Devices u Input –Convert information coming in to computer compatible form –Examples: keyboards, scanners, microphones u Output –Convert computer codes into user understandable format –Examples: monitors, printers, speakers Lesson 1.2

Controllers u Coordinate actions of peripheral devices with actions of computer u Constant flow between peripheral equipment and controller –Need to know what peripheral equipment is doing Lesson 1.2

Networks u Groups of individual computers and peripheral devices linked together to share information and resources u Two categories –Wide area network (WAN) –Local area network (LAN) u Topology is “shape” of connection Lesson 1.3

Network Topologies Ring Irregular Bus Tree Lesson 1.3

Data Representation u Each bit is either on or off, 1 or 0 u ASCII code – 8 bits make a byte u Integers represented by base 2, binary system –Each place position is power of 2 ( ) u Two other number systems used –Octal (powers of 8) –Hexadecimal (powers of 16) Lesson 1.4

Memory Addresses u Every memory cell needs to be addressed u Binary code represent address of cell u One cell can contain address of another memory cell Lesson 1.4

Programming Languages u Assembly language –One level above machine language u High-level language –Designed to simplify writing programs –Four types t Procedural (imperative) t Functional t Declarative t Object oriented Lesson 1.5

Software u Set of instructions read into computer’s memory and later executed on demand u Two types –System t Operating systems t Utility programs t Language translators –Application Lesson 1.6

Operating System Software u Software written into memory upon startup u Interface between user, computer and peripherals u Two categories –Multiple-user computers –Single-user computers Lesson 1.6

Utility Programs u Perform basic operations necessary for performance of computer system –File operations t creating, copying, saving t deleting, merging, sorting u Encapsulated with operating systems Lesson 1.6

Language Translators u Convert programmer-made instructions (source code) into machine-language instructions (object code) u Three types –Assemblers: Convert assembly language programs to object code –Interpreters: Converts an instruction to object code then executes it –Compilers: Converts entire program to object code Lesson 1.6

Integrated Development Environment (IDE) u Full package –Compiler –Text editor –Debugging tools u Allows creation, repeated execution and modification of a program –Helps find violations of language rules Lesson 1.6

Application Software u Many types exist u Examples of common types –Games –Word processing –Database management –Graphics u Program solves practical problem or does specific tasks Lesson 1.6

Software Engineering u Describes process of software development u Process involves many steps (Figure 1.10) –Definition of problem –Design scheme (breaking into modules) –Coding modules –Testing –Assemble modules –Test until working correctly Program never “done” Lesson 1.7

Structured Programming u Top-down design –Defines all tasks program is to perform u Tasks separated and functions developed –Can be designed separately –Two types t Library –Included in C++ development environment t Programmer-defined –Custom made by user Lesson 1.7

Development of C++ Language u Middle 1980s at Bell Laboratories u Bjarne Stroustrup u Improvement upon C language u Standardized in 1997 –American National Standards Institute (ANSI) –International Standards Organization (ISO) u Object-oriented Lesson 1.7

C++ Development Environment u Primary goal to produce executable file –Machine language instructions u Allows user to –Create source code –Test it –Modify it –Convert it to executable format Lesson 1.7

C++ IDE Operations u Editing text to create source code u Preprocessing source code u Compiling source code and code attached by preprocessor u Linking object code generated in step 3 with other object code Lesson 1.7

Summary u Computer history u Basic computer architecture u How bits are stored u Differences between programming languages u Software engineering u C++ language background u Using IDE to create executable programs Learned about: Chapter 1