Starting from:

$24.99

CPSC355 Assignment 4 Solution


Objective
The objective of this assignment is to practice using 2D arrays and structures in ARMv8 assembly.

New Skills needed for this assignment
• Ability to work with 2D arrays in ARMv8 assembly
• Ability to use structures in ARMv8 assembly

Note

Overview
Your program will simply generate a table of random positive integers. Each integer must not exceed 16.
The dimensions of this M×N table are to be specified by the user through command line arguments. M and N should be between 4 and 16.

Details
This is an emulation of a search engine.
3 - For each document, the index of its most frequent word, the number of occurrences and its frequency must be displayed.

Submission
• Name your programs assign4.asm
• Create a script file assign4.script. The script file must contain a GDB session.
• Submit your work to the appropriate dropbox on D2L.

-12.5% for each late day or portion of a day for the first two days
-25% for each additional day or portion of a day after the first two days

Academic Misconduct
This assignment is to be done by individual students: your final submission must be your own original work. Teamwork is not allowed. Any similarities between submissions will be further investigated for academic misconduct. While you are encouraged to discuss the assignment with your colleagues, this must be limited to conceptual and design decisions. Code sharing by any means is prohibited, including looking at someone else’s paper or screen. The submission of compiler generated assembly code is absolutely prohibited. Any re-used code of excess of 5 lines in C and 10 lines in assembly (10 assembly language instructions) must be cited and have its source acknowledged. Failure to credit the source will also result in a misconduct investigation.




Computing Machinery I
Assignment 4 Rubric



Student:__________________________________________


Item Max
Points Points Comments
Code compiles
5
Code runs
5
Random 2D array

15
Index of the most frequent word (15points) and its frequency (15points) for each document.

30
User interface (input validation, implementing all features)

10
Use of structures

10
Use of an array of structures

10
Script file 5
Code readability (formatting and documentation)

10


More products