CPS quiz 1 Flashcards
Computer’s major components
CPU, memory, storage device, communication
device, input device, output device
CPU speed
hertz (Hz), megahertz (MHz), gigahertz (GHz)
Communication device
transmitting signals over wire or wirelessly
Systems software
Operating System (OS) such as Windows or Mac OS X
Machine language
computers can execute instructions written in machine language,
however hard to program
Assembly language
developed to make programming easier but are still harder to code
Assembler
translates assembly language to machine language
High-level language
English-like and easy to learn and program
Compiler
translates high-level language to machine language
Java
High-level language
Developed by Sun Microsystems
Application Program Interface (API)
the library which contains all predefined
resources which can be used by developers
Java Development Toolkit (JDK)
consists of separate programs for compiling, testing and
running programs
Java Runtime Environment (JRE)
program for running Java programs
Integrated Development Environments (IDE)
software to make it easier to write, test and
run programs
Java Class
public class ClassName {
}
Main Method
public static void main(String[] args) {
}
Print Statement
System.out.print. and System.out.println
source code
is the java class