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...


java programming


At the end of the exercise, the students should be able to:<br>Map values in Java and Python.<br>Software Requirements:<br>• NetBeans IDE<br>Java Development Kit (JDK) 8<br>Python 3.7 or higher<br>Procedure:<br>1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark)<br>2. Using NetBeans, create a Java project named StudentList. Set the project location to your own<br>folder.<br>3. Import Scanner, Map, and HashMap from the java.util package.<br>4. Create an empty hash map named students.<br>5. The output shall:<br>5.1. Ask three (3) of your classmates to enter their student number (key) and first name (value).<br>5.2. Display the keys and values of the map.<br>5.3. Delete the mapping of the third entry.<br>5.4. Enter your student number and first name. This would be the new third entry.<br>5.5. Display the entries in separate lines.<br>6. Create a Python script that meets the same specifications. Feel free to use lists to store input.<br>7. Save the script as student_list.py to your folder.<br>Sample output:<br>Enter student number 1: 2018-0004<br>Enter first name 1: Mark<br>Enter student number 2: 2018-0017<br>Enter first name 2: Nika<br>Enter student number 3: 2018-0134<br>Enter first name 3: Mairo<br>Student List:<br>2018-0004 Mark<br>2018-0017 Nika<br>2018-0134 Mairo<br>Enter your student number: 2018-0046<br>Enter your first name: Marco<br>Student List:<br>2018-0004 Mark<br>2018-0017 Nika<br>2018-0046 Marco<br>

Extracted text: 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: Enter student number 1: 2018-0004 Enter first name 1: Mark Enter student number 2: 2018-0017 Enter first name 2: Nika Enter student number 3: 2018-0134 Enter first name 3: Mairo Student List: 2018-0004 Mark 2018-0017 Nika 2018-0134 Mairo Enter your student number: 2018-0046 Enter your first name: Marco Student List: 2018-0004 Mark 2018-0017 Nika 2018-0046 Marco

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here