Detailed Solutions
Save
Practice questions for this set
Learn 1 /7 Study using Learn
int variable=Interger.parseInt(s);
double variable=Double.parseDouble(s);
Choose an answer
1 hardware vs. software 2 programming errors
how to convert input to integer or
3 4 compiler
double values w/ functions
Don't know?
Terms in this set (69)
hardware vs. software software: instructions that tell the hardware(physical
component) what to do
, common hardware components Processor (CPU)
-central processing unit
-interprets& execute the instructions
Memory
-main & auxiliary
-holds data and instructions
Input device(s)
-mouse, keyboard, etc.
Output device(s)
-video display, printer, etc.
CPU & memory are physically housed together
Program :a set of instructions for a computer to follow
get sent to computer & data (input for the program)
gives output
Programming lang high aka the source code-easy for people to write &
understand & not directly understood by comp.
ex. Java
low aka machine lang-
directly understood by computer & computer-
dependent
compiler program that translates source code(high lang)
into machine code that does the same thing or
object code
ex. javac-java compiler
java Virtual Machine (JVM) executes Java byte-code(which is portable or
hardware independent) on a real machine