You are on page 1of 1

IT1815

Task Performance
Student List
Objective:

At the end of the exercise, the students should be able to:


▪ Map values in Java and Python.

Software Requirements:
▪ NetBeans IDE
▪ Java Development Kit (JDK) 8
▪ Python 3.7 or higher

Procedure:
1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark)
2. Using NetBeans, create a Java project named StudentList. Set the project location to your own
folder.
3. Import Scanner, Map, and HashMap from the java.util package.
4. Create an empty hash map named students.
5. The output shall:
5.1. Ask three (3) of your classmates to enter their student number (key) and first name (value).
5.2. Display the keys and values of the map.
5.3. Delete the mapping of the third entry.
5.4. Enter your student number and first name. This would be the new third entry.
5.5. Display the entries in separate lines.
6. Create a Python script that meets the same specifications. Feel free to use lists to store input.
7. Save the script as student_list.py to your folder.
Sample output:

GRADING RUBRIC (100 points):


Criterion Description Max Points
Correctness The code produces the expected result. 40
Logic The code meets the specifications of the problem. 40
Efficiency The code is concise without sacrificing correctness and logic. 10
Syntax The code adheres to the rules of the programming language. 10

08 Task Performance 1 *Property of STI


Page 1 of 1

You might also like