Write an assembly language program that reads move review

Assignment Help Computer Engineering
Reference no: EM133684910

Assignment

Write an assembly language program that reads move review information from a text file and reports the overall scores for each movie as well as identifying the movie with the highest total score. There are four movie reviewers numbered from 1 to 4. They are submitting reviews for five movies, identified by the letters from "A" through "E". Reviews are reported by using the letter identifying the movie, the review rating, which is a number from 0 to 100, and the reviewer's identifying number. For example, to report that movie B was rated a score of 87 by reviewer 3, there will be a line in the text file that looks like this:

B,87,3

The fields within each record are separated from each other by a comma.

Your program must store the movie review scores in a two-dimensional array (4 rows by 5 columns). Each row represents a reviewer. Each column represents a movie. Initialize the array to zeroes and read the movie review information from a file. After reading and processing the whole file, display a report that shows the total score for each movie and the movie that had the highest total score.

Discuss two-dimensional arrays. Discusses Base-Index Operands and even contains an example of how to calculate a row sum for a two-dimensional array.

Contains an example program named ReadFile.asm that will show you how to prompt the user for a file name, open a file, read its contents, and close the file when you are done. Look in section 11.1.8, Testing the File I/O Procedures.

Each record in a text file is terminated by the two characters, Carriage Return (0Dh) and Line Feed (0Ah).

Assume that you wish to process a text file named "reviews.txt" that is stored on the "C:" drive in the "Data" folder. If you are using a Windows computer, you have two ways to identify the path to the file's location:

C:/Data/reviews.txt OR C:\\Data\\reviews.txt

Double backslash characters (\) are needed because a single backslash is defined as being the first part of an escape sequence such as newline (\n).

Reference no: EM133684910

Questions Cloud

How a transformation matrix can model the movement of object : How large virtual communities work, and the particular challenges they face? How a transformation matrix can model the movement of an object?
How can you persuade clients to allow you to spend time : What is Refactoring? How can you persuade clients to allow you to spend time on refactoring when all they want is new functionality?
Enough evidence to sustain conspiracy conviction : Does the government have enough evidence to sustain a conspiracy conviction to tamper with a witness against Cool, Blank, and Macaw?
Describe the Intake process of juveniles : Describe the Intake process of juveniles and all of its steps. Why is Intake so important and what can be achieved during this process?
Write an assembly language program that reads move review : Write an assembly language program that reads move review information from a text file and reports the overall scores for each movie as well as identifying.
Find high-profile criminal case : Find a high-profile criminal case that was solved through DNA evidence. Cold cases are excellent examples of this.
Define risk management and information security clearly : Define risk management and information security clearly. Discuss how information security differs from information risk management.
What is meant by the term motion for admissibility : What is meant by the term motion for admissibility? What are the criteria used to judge whether motion to secure a defense expert should be granted?
Create digital artifact details typical business objectives : Research and select 3 different Big Data use cases. Create a digital artifact that details typical business objectives and analytical solution for each use case

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd