Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Chapter 1 – Computing Fundamentals. History of Electronic Computers u First computer –ABC (Atanasoff Berry Computer) at Iowa State U. –1930’s –Solved."— Presentation transcript:

1 Chapter 1 – Computing Fundamentals

2 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

3 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

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

5 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

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

7 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

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

9 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

10 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

11 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

12 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

13 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

14 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

15 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

16 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

17 Network Topologies Ring Irregular Bus Tree Lesson 1.3

18 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 (2 3 +2 2 +2 1 +2 0 ) u Two other number systems used –Octal (powers of 8) –Hexadecimal (powers of 16) Lesson 1.4

19 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

20 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

21 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

22 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

23 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

24 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

25 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

26 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

27 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

28 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

29 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

30 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

31 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

32 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


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

Similar presentations


Ads by Google