Question
In the same folder (pgm2), in terminal mode, using the VI editor, create a Java program named: your lastName, First letter of your first name,
In the same folder (pgm2), in terminal mode, using the VI editor, create a Java program named: your lastName, First letter of your first name, _OS, pgm2, java example: robinsonM_OSpgm2.java This program will do the following: 5) Open the text file ( named on question 2 above ) 6) Read each record, which is the location of an error in RAM, in hex 7) Convert that hex value to binary 8) Convert the binary value to decimal value 9) Print the RAM chip number where the error is located for each record as follows: Error Found at hex number = binary number = decimal number = chip number note: Location addresses for RAM chips are decimal *** DO NOT CHANGE THE FILE NAME *** MAKE SURE THE FILE IS IN THE SAME FOLDER AS YOUR JAVA PROGRAM *** CREATE YOUR OWN METHODS THAT WILL CONVERT HEX TO BINARY AND BINARY TO DECIMAL *** DO NOT USE JAVA'S AUTOMATIC CONVERSION METHODS *** DO NOT USE JAVA'S PARSE COMMANDS *** USE System.out.printf commands ONLY to print any data
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started