Lec 2: Intro to Java Flashcards
What are the 3 lvs of programming languages?
Machine language
Assembly Language
High-level language
What level of language describes binary instructions?
a) Machine language
b) Assembly language
c) High level language
Machine
What language was developed to make programming easier than machine code?
Assembly
What language is this from?
ADDF3 R1, R2, R3
Assembly
What level of programming language is english-like and easy to learn/understand
High level
What level of programming language is this from?
area = 5 * 5 * 3.1415
High level
What is the name of a program written in high level called?
Source code or source program
What is the name of the program that is used to convert assembly language to machine code?
Assembler
True or False: A source program must be translated into machine code for execution
True
What is the use of an interpreter
Translation from high level to machine code
What is the name of the java compiler
javac
What is the name of the interpreter for java
java
True or false:
Java is a strongly typed language
true
True or false:
Every Java program must have at least one class
true
True or false:
In order to run a class, the class must contain a method named main
true