Workshop #1: Foundations of Java Language: Learning Outcomes
Workshop #1: Foundations of Java Language: Learning Outcomes
Workshop #1: Foundations of Java Language: Learning Outcomes
Learning Outcomes:
Upon successful completion of this workshop, you will have demonstrated the abilities
to:
Practice basic Java language syntax and semantics to write Java programs.
Use concepts such as variables, conditional and iterative execution methods.
Compile and run a program.
Describe to your instructor what you have learned in completing this workshop.
Requirements:
Part1: [3 points]
Write a Java program that will accept a matrix of integers then this matrix will be printed out and
sum of values and average of values are printed also.
1
- Create a class named “part1.java”
2
- To run the code, click the right mouse and choose “run file”
Task 2: get sum of values
- You will add the code to “Part1.java”
Review criteria
Upon completion of the workshop, your submission will be reviewed based on the following criteria:
3
- Get sum [1 point]
- Get average [1 point]
Part 2: [3 points]
Write a Java program that will accept two float numbers and an operator (+-*/) then the program
will print out the result of the specified expression that bases on the inputted operator.
- You must add your code to get the result when user inputs another operator
Part 3 [4 points]
Write a Java program that will accept the list of student name, convert all names to uppercase
and then the program will print out the list of student name.
4
5