Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This lab takes as input a CSV ( comma separated values ) file ( . csv extension ) that is used for generating tabular data
This lab takes as input a CSV comma separated values file csv extension that is used for generating tabular data
in spreadsheets. Specifically, for this assignment, you will NEED to assume this CSV file was generated in
Windows the reason will be explained shortly Consider the data.csv file below as it appears when you open it in
Excel as an example.
Figure data.csv file in Excel
This file shows the stock returns from an investment portfolio over a year. A column contains the stock name and
column indicates the returns in USD We will assume that there is no negative stock return in all our CSV files
You will run the labtestbenchrev##asm file in RARS which takes data.cSv as an input CSV file. Doing so will
yield the following analysis, based on the calculations made by thes assembly files that you will be submitting:
Find the total file size in bytes excluding any metadata generated by your OSlengthoffile.asm
List the dollar amount of all the input records. inputfromrecord.asm
Provides the name of the stock that gives the maximum income. maxIncomeasm
Provides the name of the stock that gives the minimum income.
Calculate the total income generated from all stocks rars assembly
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