This document presents a comprehensive solution to a computer architecture assignment. The first part of the solution involves a MARIE assembly program designed to determine whether a user-inputted integer is a prime number. The program is thoroughly commented for clarity and includes example test cases. The second part of the solution delves into memory organization, specifically addressing how to structure memory using 32 4Kx8-bit chips, considering both high-order and low-order interleaving techniques. The assignment explores address structures and module organization under these two interleaving schemes, providing detailed explanations. The solution is contributed by a student and available on Desklib, a platform providing AI-based study tools for students.