Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

RAMerrors.txt: ABCDEFABC 1A00D0000 7A0EDF301 3CDAEFFAD program # 2 pgm25dCGS 37670S This assignment is worth 6 points total, partial credit will be given, 1Worth 6 points

image text in transcribed

RAMerrors.txt:

ABCDEFABC 1A00D0000 7A0EDF301 3CDAEFFAD 

program # 2 pgm25dCGS 37670S This assignment is worth 6 points total, partial credit will be given, 1Worth 6 points In your Ubuntu VM (virtual machine), using terminal mode ONLY, do the following: Create a folder named pgm2 In this folder (pgm2) place the text file located at: http://users.cis.fiu.edu/ mrobi002/databases/RAMerrors Each record in this file represents the location of an error found in RAM Assume you have a computer with 4 gigs of RAM, each gig in a different memory chip, therefore you have 4 one gig RAM chips decimal address HINT: RAM chip 0 contain addresses: 0-8,589,934,584 bits RAM chip 1 contain addresses: 8,589,934, 58517,179,869,184 bits RAM chip 2 contain addresses: 17,179,869,185 - 25,769, 803,768 bits RAM chip 3 contain addresses: 25,769, 803, 769 - 34,359,738,368 bits In the same folder (pgm2), in terminal mode, using an 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 - Open the text file - Read each record, which is the location of an error in RAM, in hex - Convert that hex value to binary - Convert the binary value to decimal value - Print the RAM chip number where the error is located for each record note: Location addresses for RAM chips are decimal *DO NOT CHANGE THE FILE NAME *MAKE SURE THE FILE IS IN THE SAMEFOLDER 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 program # 2 pgm25dCGS 37670S This assignment is worth 6 points total, partial credit will be given, 1Worth 6 points In your Ubuntu VM (virtual machine), using terminal mode ONLY, do the following: Create a folder named pgm2 In this folder (pgm2) place the text file located at: http://users.cis.fiu.edu/ mrobi002/databases/RAMerrors Each record in this file represents the location of an error found in RAM Assume you have a computer with 4 gigs of RAM, each gig in a different memory chip, therefore you have 4 one gig RAM chips decimal address HINT: RAM chip 0 contain addresses: 0-8,589,934,584 bits RAM chip 1 contain addresses: 8,589,934, 58517,179,869,184 bits RAM chip 2 contain addresses: 17,179,869,185 - 25,769, 803,768 bits RAM chip 3 contain addresses: 25,769, 803, 769 - 34,359,738,368 bits In the same folder (pgm2), in terminal mode, using an 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 - Open the text file - Read each record, which is the location of an error in RAM, in hex - Convert that hex value to binary - Convert the binary value to decimal value - Print the RAM chip number where the error is located for each record note: Location addresses for RAM chips are decimal *DO NOT CHANGE THE FILE NAME *MAKE SURE THE FILE IS IN THE SAMEFOLDER 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

ISBN: 0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago