csci 1200 / assc 1000

26
CSCI 1200 / ASSC 1000 [email protected]

Upload: asher-mcgee

Post on 31-Dec-2015

34 views

Category:

Documents


1 download

DESCRIPTION

CSCI 1200 / ASSC 1000. [email protected]. Software. program : instructions for hardware. makes computers useful. early computers : re-wiring. today : programming languages. Fast & Stupid. very basic instructions : math, logic, move & copy values, etc… results achieved through speed. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CSCI 1200 / ASSC 1000

CSCI 1200 / ASSC 1000

[email protected]

Page 2: CSCI 1200 / ASSC 1000

Software

• program : instructions for hardware.

• makes computers useful.

• early computers : re-wiring.

• today : programming languages.

Page 3: CSCI 1200 / ASSC 1000

Fast & Stupid

• very basic instructions :• math, logic, move & copy values, etc…

• results achieved through speed.

• computers are unforgiving, instructions must be precise.

Page 4: CSCI 1200 / ASSC 1000

Programming

• algorithm – general procedure

• programming – handle the specifics

• debugging – finding and fixes errors.

Page 5: CSCI 1200 / ASSC 1000

Languages

• Machine Language

• Assembly Language

• High Level Programming Language

• Natural Language

Page 6: CSCI 1200 / ASSC 1000

Machine Language

• understood by the hardware.

• executed by the CPU.

• binary strings.

• instruction set.

Page 7: CSCI 1200 / ASSC 1000

Assembly Language

• mnemonics mapped to bit strings.

• slow & error-prone for people.

• better hardware performance.

Page 8: CSCI 1200 / ASSC 1000

00000100 10000000

00000000 10000001

00000101 10000000

00001111 00000000

LOAD 128

ADD 129

STORE 128

HALT

Page 9: CSCI 1200 / ASSC 1000

High Level Language

• more familiar for people.

• english-like structure.

• examples : C, C++, Java, FORTRAN, and Visual Basic.

Page 10: CSCI 1200 / ASSC 1000

High Level Language

var x;

var y;

if (x == 2) then

x = y + 1;

else

x = 0;

print(“the value of x is ”, x);

Page 11: CSCI 1200 / ASSC 1000

Translation

• Compiler / Interpreter

• source code to machine code.

• high level language is hardware independent, but translated to hardware dependant machine code.

Page 12: CSCI 1200 / ASSC 1000

Kinds of Software

• Translation Software

• System Software :• Operating systems (Wiindows, UNIX,etc) • “talk” to the hardware

• Application Software :• use operating system and hardware to do

something, MS Word, netscape etc.

Page 13: CSCI 1200 / ASSC 1000

System Software

Operating System : • communication with peripherals• coordination• storing and retrieving data • running programs • managing memory• network communications• resource monitoring, account, security

Page 14: CSCI 1200 / ASSC 1000

System Software

Operating System Details :

• Windows XP, Mac OS X, UNIX, Linux, Window CE

• platform : OS and hardware (Wintel).

• emulation : like something else.

Page 15: CSCI 1200 / ASSC 1000

System Software

Utility Programs :

• repairing damaged files.

• copy files from one storage device to another.

• guarding against viruses.

• may look like are of the OS.

Page 16: CSCI 1200 / ASSC 1000

System Software

Device Drivers :

• control and interface a hardware component or peripheral.

• may come with the operating system, or with the component.

Page 17: CSCI 1200 / ASSC 1000

Input Devices

Keyboards :

• Qwerty / Dvorak / Alphabetic

• ergonomic

• compact

• membrane

• one handed

• folding

Page 18: CSCI 1200 / ASSC 1000

Input Devices

`~ 1! 2@ 3# 4% 5^ 6^ 7& 8* 9( 0) [\{ ]} \\|

'" ,< .> p y f g c r l /? +=

a o e u i d h t n s -_

;: q j k x b m w v z

Page 19: CSCI 1200 / ASSC 1000

Input Devices

Pointing Device :

• selecting from options / menus.

• spatial tasks / graphics applications.

• efficiency

Page 20: CSCI 1200 / ASSC 1000

Input Devices : Pointing

• Mouse : mechanical, light

• Touch Pad : finger pressure

• Track Ball : upside down mouse

• Pointing Stick : TrackPoint, Isopoint

• Joystick : and other gaming devices

• Tablet & Stylus

• Touch Screen

Page 21: CSCI 1200 / ASSC 1000

Input Devices : Reading

• Optical Mark Readers

• Bar Code Readers

• Magnetic Ink Character Readers

• RFID Tags & Readers

Page 22: CSCI 1200 / ASSC 1000

Input Devices : Reading

• Optical Character Recognition

• Handwriting recognition

• Smart Whiteboard

Page 23: CSCI 1200 / ASSC 1000

Input Devices : Digitizing

• Scanner

• Digital Camera

• Video Digitizer

• Digital Video Camera

Page 24: CSCI 1200 / ASSC 1000

Output : Monitor

• most familiar (VDT)

• diagonally in inches

• pixels, dpi, resolution

• colour depth : number of colours that can be displayed at one time

• video adaptor / video card

• VRAM

Page 25: CSCI 1200 / ASSC 1000

Output : Monitor

• Liquid Crystal Display

• Cathode Ray Tube

Page 26: CSCI 1200 / ASSC 1000

Output : Printers

• impact & non-impact

• dot matrix printers & line printers

• laser & ink jet

• resolution

• plotter

• multi-function devices..