Programming Assignment #3

Programming Assignment #3 - Assignment 3: Fun with Primes...

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

View Full Document Right Arrow Icon
Assignment 3: Fun with Primes EE312 – The University of Texas at Austin – Spring 2008 Page 1 of 3 Assigned: Tuesday, February 12 th Design Due: Tuesday, February 19, at the beginning of class Program Due: Tuesday, February 26, before midnight Total Value: 20 points total (see Deliverables below for details). Purpose Learning how to design your program before coding Learning how to write and use functions in your programs Learning about array manipulation Background The Sieve of Eratosthenes is a simple, ancient algorithm for finding all the prime numbers up to a specified integer. It was created by Eratosthenes (in 276 BC - 194 BC), a Greek mathematician, geographer and astronomer. For more information see Wikipedia - http://en.wikipedia.org/wiki/Eratosthenes 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 subfunctions, showing who calls whom, and what data is passed to and from different blocks (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 Tuesday, February 19 th lecture period with your name and unique section number written clearly on them. It would be a good idea (not required) to have your design reviewed by a TA in the lab before starting to write any code. The code deliverable will be submitted through the Blackboard assignment manager as usual. It will be a file named primes.c that contains all the source code and comments that meet the requirements for this assignment. Your code must also conform to the C coding standards for this
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 / 3

Programming Assignment #3 - Assignment 3: Fun with Primes...

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