Java Console Application Task Performance PDF
Document Details
STI
Tags
Summary
This document is a task performance for a Java console application. It details instructions for creating a Java program that generates a random number between 0 and 10, naming the class as RandomNumber, and saving the file. It also specifies that the program output will be graded based on the provided rubric.
Full Transcript
IT1708 Task Performance Java Console application Objective: At the end of the exercise, the students should be able to: write and execute a program with import statement. Materials: Text editor Java Development Kit (JDK) 8 Instructions: 1. Create a folder named...
IT1708 Task Performance Java Console application Objective: At the end of the exercise, the students should be able to: write and execute a program with import statement. Materials: Text editor Java Development Kit (JDK) 8 Instructions: 1. Create a folder named LastName_FirstName (ex. Diaz_Jess) on your local drive. 2. Write a program that generates a random number between 0 to 10. Use the following statements below for generating random number and the class Random from the package java.util: Random rand = new Random(); int num = rand.nextInt(10); 3. Display the generated random number with text: “The generated random number between 0 to 10 is: ”. 4. Name the class as RandomNumber and save the file. 5. Compile and execute the program using command prompt (cmd). 6. Correct syntax and logical errors if there is any. 7. Save the file in your folder and inform your instructor once you are done. 8. The program output will be graded based on the give rubric below. GRADING RUBRIC: CRITERIA PERFORMANCE INDICATORS POINTS Design The illustration is well presented and organized. 30 Interface All elements interact with each other. 30 Components All elements are included and drawn correctly. 20 Label All elements labeled with reference and value. 20 Total 100 02 Task Performance 1 *Property of STI Page 1 of 1