CSCI 1200 / ASSC 1000
-
Upload
asher-mcgee -
Category
Documents
-
view
42 -
download
1
description
Transcript of CSCI 1200 / ASSC 1000
![Page 2: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/2.jpg)
Software
• program : instructions for hardware.
• makes computers useful.
• early computers : re-wiring.
• today : programming languages.
![Page 3: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/3.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/4.jpg)
Programming
• algorithm – general procedure
• programming – handle the specifics
• debugging – finding and fixes errors.
![Page 5: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/5.jpg)
Languages
• Machine Language
• Assembly Language
• High Level Programming Language
• Natural Language
![Page 6: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/6.jpg)
Machine Language
• understood by the hardware.
• executed by the CPU.
• binary strings.
• instruction set.
![Page 7: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/7.jpg)
Assembly Language
• mnemonics mapped to bit strings.
• slow & error-prone for people.
• better hardware performance.
![Page 8: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/8.jpg)
00000100 10000000
00000000 10000001
00000101 10000000
00001111 00000000
LOAD 128
ADD 129
STORE 128
HALT
![Page 9: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/9.jpg)
High Level Language
• more familiar for people.
• english-like structure.
• examples : C, C++, Java, FORTRAN, and Visual Basic.
![Page 10: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/10.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/11.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/12.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/13.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/14.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/15.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/16.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/17.jpg)
Input Devices
Keyboards :
• Qwerty / Dvorak / Alphabetic
• ergonomic
• compact
• membrane
• one handed
• folding
![Page 18: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/18.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/19.jpg)
Input Devices
Pointing Device :
• selecting from options / menus.
• spatial tasks / graphics applications.
• efficiency
![Page 20: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/20.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/21.jpg)
Input Devices : Reading
• Optical Mark Readers
• Bar Code Readers
• Magnetic Ink Character Readers
• RFID Tags & Readers
![Page 22: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/22.jpg)
Input Devices : Reading
• Optical Character Recognition
• Handwriting recognition
• Smart Whiteboard
![Page 23: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/23.jpg)
Input Devices : Digitizing
• Scanner
• Digital Camera
• Video Digitizer
• Digital Video Camera
![Page 24: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/24.jpg)
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](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/25.jpg)
Output : Monitor
• Liquid Crystal Display
• Cathode Ray Tube
![Page 26: CSCI 1200 / ASSC 1000](https://reader030.fdocuments.net/reader030/viewer/2022032708/56812d0d550346895d91e390/html5/thumbnails/26.jpg)
Output : Printers
• impact & non-impact
• dot matrix printers & line printers
• laser & ink jet
• resolution
• plotter
• multi-function devices..