Loading
notes intro/old submit AP Problems the dump links
 

Quiz 3a - Languages and Errors

 

id:

1. What language is IPhone programmed in?

Java

C

C#

Objective C and Swift

 

2. Using the following as a variable name would be what type of error

Apple-Sauce

compile time

run time

logical error

no error

 

3. True or false: If a program has a problem with its semantics it will not compile. true false

 

4. True or false: A good programmer never makes logical errors. true false

 

 

5. Which of the following are characteristics of Java:

I. It compiles its code into bytecode.

II. It is architecture neutral.

III. It is a purely object oriented language.

I

II

I,II

I,II,III

 

6. This would be an example of what type of error

int list[] = new int[4]; //i created a list that holds 4 ints.

int total = list[5]/0;

Compile time

Run Time

Logical error

No error

 

7. Java compiler translates source code into:

Machine Language

Assembly Language

Java Bytecode

There is no such thing as a java compiler