COSC 111 Lecture Notes - Lecture 2: Language Primitive, Assembly Language, Cosc

101 views3 pages
Verified Note

Document Summary

Hardware (a. k. a. components of a computer system) = the bus includes . Memory unit = ordered sequence of bytes: 1 byte = 8 bits, all programs & data go through memory before executed. Cpu (central processing unit) = the brain: retrieves and executes instructions from the memory, speed (mhz) : 1 mhz = 1 million pulses / sec. ***data of various kinds (ex. numbers, characters, and strings) are encoded as series of bits (0"s and. ***no two data can share or split the same byte, so if a computer needs to store a large number that can"t fit into a single byte, it uses a number of adjacent bytes. Machine language = primitive instructions built into every computer in binary code. Assembler = program that converts assembly language programs to machine language so that the computer can understand. High-level language = english-like, easy to learn and program. Ada, basic, c, c++, c#, fortran, java, visual basic.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents