Documente Academic
Documente Profesional
Documente Cultură
Binangonan, Rizal
I. Simple Recall: Answer the following questions using the pool of words below.
Space Complexity Post Conditions Average Case Data Structure Pseudo code
Environment
Compilation time Linked List Data Space Graph
Space
Dynamic data
Tree Data Structure List Run Time
structures
Secondary Data Abstract Data
Circular Link Worst Case Hash Tables
Structures Type
II. Morse Type: From column A, Choose the answer on Column B
III. Analogy: identify the Java Program Syntax that was used in the following problem. (2 points)
1. ___________________________
public class Exercise1 {
public static void main(String[] args){
2. ______________ = {
1789, 2035, 1899, 1456, 2013,
1458, 2458, 1254, 1472, 2365,
1456, 2165, 1457, 2456};
3. ______________ = {
"Java",
"Python",
"PHP",
"C#",
"C Programming",
"C++"
};
System.out.println("Original numeric array : "+Arrays.toString(my_array1));
4. _____.______(my_array1);
System.out.println("Sorted numeric array : "+Arrays.toString(my_array1));
Prepared by: