Programming Assignment #4

Programming Assignment #4 - Assignment 4: Computer...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EE312 – The University of Texas at Austin – Spring 2008 Assigned: Tuesday Feb 26 Design due: March 4, at the beginning of class Program due: Thursday, Mar 6, 11:59PM Total Value: 20 points total (see Deliverables below for details). Purpose Learning how to properly design your program before coding Learning how to use file IO Learning about string manipulation Deliverables There are both design (4 points) and code (16 points) deliverables for this assignment. The design portion requires that you produce these two items on paper: 1. Functional Block diagram identifying the main program and all sub functions, showing who calls who, and what data is passed to and from (2 points) 2. Flow chart or pseudocode of your program’s main logic - 1 page should be sufficient detail (2 points) Turn these in at the beginning of your Monday October 8 th lecture period with your name and unique section number written clearly on them. This time they will also be graded for their content (e.g. correctness). The code deliverable will be submitted through the BB assignment manager as usual. It will be a file named assign4.c that contains all the source code and comments that meet the requirements for this assignment. Your code must also conform to the class C coding standards (on the Blackboard). Problem We wish to design a very simple decimal computer for a special purpose embedded system application - but we don’t want to wait until after its manufactured (fabricated) to be able to test it out. This computer needs to work with ordinary decimal (base 10) numbers. It is designed to be an extremely simple decimal computer, with a memory containing 1,000 words that hold three-digit decimal (i.e. ordinary) numbers. The computer has a simple set of only ten instructions for operating on these numbers. We will call this computer the DecMack. Therefore, we need you to write a program on a real computer, that pretends to be the DecMack (decimal) computer that we are designing. This process is called computer emulation (i.e. simulated execution). Once
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/22/2008 for the course EE 312 taught by Professor Shafer during the Spring '08 term at University of Texas at Austin.

Page1 / 7

Programming Assignment #4 - Assignment 4: Computer...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online