COMP SCI 302 Chapter Notes - Chapter 1: Integrated Development Environment, Computer Multitasking, Application Programming Interface
Document Summary
Cs302 textbook - intro to java programming, brief version (10th edition) - chapter one: [basic information about computers and storage info omitted] A computer"s basic language is machine language, a set of built in primitive instructions that consist of numbers 0 and 1. Assembly language uses a mnemonic to represent a machine language instruction. An assembler translates the code to machine language after typed. Called a low-level language because it is close to machine language. Java, python, c++ are all high-level programming languages because they are like. Programs in high-level languages are called source code. Need an interpreter or compiler to translate it to machine code. Interpreter reads one statement and translates and executes it right away. Compiler translates entire source code and executes whole thing. Operating system (os) manages and controls computer activities, allocates system resources, and schedules operations. Multiprogramming allows multiple programs to run simultaneously by sharing the cpu.