32
1

Lecture 1 computer fundamentals

Embed Size (px)

Citation preview

Page 1: Lecture 1 computer fundamentals

1

Page 2: Lecture 1 computer fundamentals

How is a computer defined?

Produces and stores results

Electronic device operating under the control of instructions stored in its own memory

Processes data into informationinformation

Conveys meaning and isuseful to people

Accepts datadataCollection of unprocessed items

Page 3: Lecture 1 computer fundamentals

What is the information processing cycle?

Input Process Output Storage Communication

Page 4: Lecture 1 computer fundamentals

What is an input device?

Device used to enter dataand instructions

Page 5: Lecture 1 computer fundamentals

What is an output device?

device that conveys information to one or morepeople

Page 6: Lecture 1 computer fundamentals

What is the system unit?

Case that containsthe electronic components of the computer that are used to process data

Page 7: Lecture 1 computer fundamentals

72

Computing systems are dynamic!

What is the difference between hardware and software?

Page 8: Lecture 1 computer fundamentals

83

Hardware The physical elements of a computing system (printer, circuit boards, wires, keyboard…)

Page 9: Lecture 1 computer fundamentals

9

Software The programs that provide the instructions for a computer to execute

Page 10: Lecture 1 computer fundamentals

What's the beauty of computing?

???

10

Page 11: Lecture 1 computer fundamentals

Compute the value of the following eq.

11

When y = 2 When y = 9

Page 12: Lecture 1 computer fundamentals

12

Page 13: Lecture 1 computer fundamentals

13

Page 14: Lecture 1 computer fundamentals

14

Page 15: Lecture 1 computer fundamentals

15

Page 16: Lecture 1 computer fundamentals

Write steps to guess a number between 1 & 100?Write steps to determine whether the number is even or odd?Write steps to determine if the number is divisible by 3 without dividing (you can

only use addition & subtraction)

16

Page 17: Lecture 1 computer fundamentals

Write steps to determine whether the number is prime?

17

Page 18: Lecture 1 computer fundamentals

184

CommunicationApplication

Operating SystemProgramming

HardwareInformation

Page 19: Lecture 1 computer fundamentals

195

Abstraction A mental model that removes complex details

Page 20: Lecture 1 computer fundamentals

206

Abacus An early device to record numeric values Mechanical MachinesAble to add & subtract

Mechanical Devices Mechanical device to add, subtract, divide & multiply

Page 21: Lecture 1 computer fundamentals

Punch card Loom

Analytical EngineMemoryInput

Ada AugustaFirst Programmer, the loop

Page 22: Lecture 1 computer fundamentals

227

Alan TuringTuring Machine, Artificial Intelligence Testing ENIACGeneral purpose high speed computer

UNIVAC IFirst commercial computer and was able to make prediction.

Page 23: Lecture 1 computer fundamentals

2313

Machine LanguageComputer programs were written in binary (1s and 0s)

Assembly Languages and translatorsPrograms were written in artificial programming languages and were then translated into machine language

Page 24: Lecture 1 computer fundamentals

2414

High Level LanguagesUse English-like statements and make programming easier. Fortran, COBOL, Lisp are examples.

High-LevelLanguages

Assembly LanguageMachine

Language

Page 25: Lecture 1 computer fundamentals

2516

Application PackageSystems Software

High-Level LanguagesAssembly Language

Machine Language

Page 26: Lecture 1 computer fundamentals

2617

Structured ProgrammingPascal, C, C++

New Application Software for UsersSpreadsheets, word processors, database management systems

Page 27: Lecture 1 computer fundamentals

2718

MicrosoftThe Windows operating system, and other Microsoft application programs dominate the market

Object-Oriented DesignBased on a hierarchy of data objects (i.e. Java)

World Wide WebAllows easy global communication through the Internet

New UsersToday’s user needs no computer knowledge

Page 28: Lecture 1 computer fundamentals

2820

Programmer / User

Applications Programmer(uses tools)

User with No Computer Background

Systems Programmer(builds tools)

Domain-Specific Programs

Page 29: Lecture 1 computer fundamentals

What can be (efficiently) automated?

Four Necessary Skills1. Algorithmic Thinking2. Representation3. Programming4. Design

2921

Page 30: Lecture 1 computer fundamentals

30

Is Computer Science a mathematical, scientific, or engineering discipline?

22

What do you think?

Page 31: Lecture 1 computer fundamentals

Algorithms and Data StructuresProgramming LanguagesArchitectureOperating SystemsSoftware Methodology and EngineeringHuman-Computer Communication

3123

Page 32: Lecture 1 computer fundamentals

Numerical and Symbolic ComputationDatabases and Information RetrievalArtificial Intelligence and RoboticsGraphicsOrganizational InformaticsBioinformatics

3224