study guide Questions with Correct
Answers
High-level language - ANSWERSis a programming language that is designed to be
easy for humans to read and write.
Ex. Java, JavaScript, Python.
Low-level language - ANSWERSis a programming language that is designed to be easy
for a computer to run; are hardware dependent.
machine language
assembly language
bytecode - ANSWERSgive 3 examples of low-level language?
interpreters and compilers - ANSWERSWhat are the two computer programs that
translate high-level languages into machine language.
Compiler - ANSWERStranslates the entire source code completely before the program
starts running.
Interpreter - ANSWERStranslates a few lines at a time, runs those lines, and then
alternates between translating source code and running the results.
compiling and running - ANSWERSfor this process, source code is compiled into an
intermediate form called byte code and then the byte code is interpreted by a program
called the Java Virtual Machine (JVM).
Statement - ANSWERSa line of code that performs a basic operation.
Method - ANSWERSa named sequence of statements; should begin with lower case
letters.
Class - ANSWERSis a named collection of methods; should begin with upper case
letters.
Package - ANSWERSa collection of classes.
Comment - ANSWERSthese are notes to yourself and other programmers in the source
code.
Line comment - ANSWERS//