COSC-051 Lecture Notes - Lecture 2: Computer Hardware, Machine Code, Object File

52 views3 pages

Document Summary

Input devices: keyboard, mouse, usb, touch screen, microphone, scanner, digital camera, etc. Output devices: printers, computer screen, speakers, cds, etc. Programs that manage the computer hardware and the programs that run on the computer. Manages connected devices and access to storage devices. Examples: virus scanners, data backup, file compression. Algorithm: a finite set of well-defined steps to perform a task or solve a problem. Low-level: used for communication with computer hardware directly. Not very easy for a person to read. From a high-level program to an executable file: a) b) c) d) create a file containing the program with a text editor. * steps b through d are performed by a single command or button click and errors that occur at any step will prevent the execution of the following steps* What is a program made of? common elements of programming languages: key words, programmer-defined identifiers, operators, punctuation, syntax. Written using lowercase letters (programs are case-sensitive)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents