+ All Categories
Home > Documents > UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU...

UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU...

Date post: 21-Jan-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
33
UNIV 103 CS MAJORS FRESHMAN SEMINAR Dr. Blaise W. Liffick 1
Transcript
Page 1: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

UNIV 103CS MAJORS FRESHMAN

SEMINAR

Dr. Blaise W. Liffick

1

Page 2: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

2

Algorithms Abstractions

Implementation

Page 3: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

3

ProgrammingTechniques Languages

ProgrammingEnvironments

JavaC++

Problem AnalysisProgram Design

•Algorithms & Design Patterns•Data Structures

Paradigms

HardwareNetworkLinuxEclipse

Page 4: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

4

Early Computers• Colossus (Turing)• John Atanasoff, Clifford Berry• Zuse

Page 5: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

Generation 1 - 1946• Vacuum tube• Hardwired• Scientific• Very expensive

(one of a kind)

5

• Huge• Hot

Page 6: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

Generation 2 - 1955• Transistor• Smaller• Less heat• More reliable

6

• Still expensive - $Ms

• Led to data processing

Page 7: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

7

Page 8: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

• Integrated Circuit boards• Families of computers• Smaller (minicomputers)• Cheaper - $30-100Ks

8

Generation 3 - 1964

Page 9: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

• Very Large Scale Integration• Microcomputers (desktop)• $Ks

9

Generation 4 – 1974 and beyond

Page 10: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

10

Page 11: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

11

Page 12: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

12

Page 13: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

13

Page 14: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

14

Categories of Computers

• Supercomputers• Mainframe• Minicomputers• Microcomputers• Mobile devices

Power

Size

Cost

Page 15: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

15

Computer Hardware

• CPU - central processing unit– Where decisions are made, computations are

performed, and input/output requests are delegated

• Main Memory– Stores information being processed by the CPU

• Secondary Memory (Mass Storage)– Stores data and programs

Page 16: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

16

Computer Hardware• Input devices

– Allow people to supply information to computers

• Output devices– Allow people to receive information from

computers• Peripheral Devices

– Generally I/O, mass storage• Network connection

– Modems– Ethernet interface

Page 17: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

17

Figure 1.2 Computer componentsMass storage

Page 18: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

18

CPU

• “Brains” of the computer– Arithmetic calculations are performed using the

Arithmetic/Logical Unit or ALU– Control unit decodes and executes instructions– Registers hold information and instructions for

CPU to process• Arithmetic operations are performed using

binary number system

Page 19: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

19

Memory• Stores

– programs• operating system• applications

– data• Types

– RAM - volatile– ROM

• Composed of bits, which are combined into bytes

Page 20: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

20

Memory CellsAddress Contents

-27.2354

0.005-26

H

X75.62

RTV 001. . .

0123456

. . .999

Page 21: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

21

Input / Output Devices

• Accessories that allow computer to perform specific tasks– Receiving information for processing– Return the results of processing

• Common input and output devices– Keyboard Joystick Scanner– Printer Monitor Speaker

Page 22: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

22

Computer Networks• Allows multiple computers to connect

together to share resources and/or data• LAN - Local area network

– Organizational• WAN - Wide area network

– Internet• Requires additional hardware

– modem– network interface– servers

Page 23: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

The “Cloud” – Someone Else’s Computer

• Wireless access– WiFi– Cell

• Servers– Storage– Applications

23

Page 24: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

24

World Wide Web

• Introduced 1989• Developed by CERN

– European Laboratory for Particle Physics• Web browser - GUI

– Netscape– IE– Firefox

Page 25: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

25

1.3 Computer Software

• Operating system• Other system software

– utilities– programming language systems

• Applications

Page 26: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

26

Operating System

• E.g. Windows®, Linux, Mac OS X, Unix®

• Controls – the interaction of system with the user– hardware interactions

• Part is usually stored on ROM, rest on hard drive– This arrangement requires booting the system

Page 27: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

27

Some OS Responsibilities

• Communicating with the user; receiving user commands

• Managing allocation of memory, processor time, file system, and other resources

• Collecting input from keyboard, mouse, etc.

• Conveying output to screen, printer, etc.

• Writing data to secondary storage devices

Page 28: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

28

Application Software

• Does the “real” work• Common application software

– Word processors– Desktop publishing programs– Spreadsheets– Presentation managers– Drawing programs

Page 29: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

29

Programming Languages• Machine Language

– Most fundamental language of the computer– Unique for each processor type– Binary 0s and 1s that specify what to do

• 0010 0000 0000 0100• 1000 0000 0000 0101• 0011 0000 0000 0110

Page 30: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

30

Table 1.2 A Program in Machine and Assembly Language

Page 31: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

31

High - Level Languages

• Resemble human language– Java, C++, C, Pascal, FORTRAN, Ada

a = a + b;

• More compact and human understandable than machine language

• Must be translated into machine language

Page 32: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

32

Table 1.2 A Program in Machine and Assembly Language

a = a + b;

Page 33: UNIV 103 CS MAJORS FRESHMAN SEMINARbliffick/univ103/slides/Intro.pdf · Computer Hardware •CPU -central processing unit –Where decisions are made, computations are performed,

33


Recommended