Name:     ID: 
 
Email: 

apcs_u2_l2_practice

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 1. 

Which one of the following helps programmers enter and edit source code?
a.
Editor
c.
Linker
b.
Compiler
d.
Interpreter
 

 2. 

Which statement is true about a compiler?
a.
It reads in a program in high level language, and output assembly language code.
c.
It runs diagnositics of hardware components.
b.
It reads in a program in high level language, and output machine language code.
d.
It removes syntax errors from computer programs.
 

 3. 

Which statement is true about interpreter?
a.
It adds comments to the source code.
c.
It calls the Google Translate and translates Russian to English.
b.
It converts a program in high level language to a program in low level language.
d.
It reads in a source program, along with data for the program, and translates the source program instruction by instruction.
 

Short Answer
 

 4. 

sa004-1.jpg

Fill in the blanks labled (a), (b), (c), (d), (e), (f), (g) in the diagram, which shows the development and testing of the Java class Hello.(Source: Litvin, Java Methods)
 



 
         Start Over