Discovering Algorithms with Matrix Code

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

9 pages, 7 figures

Scientific paper

In first-year programming courses it is often difficult to show students how an algorithm can be discovered. In this paper we present a program format that supports the development from specification to code in small and obvious steps; that is, a discovery process. The format, called Matrix Code, can be interpreted as a proof according to the Floyd-Hoare program verification method. The process consists of expressing the specification of a function body as an initial code matrix, growing the matrix by adding rows and columns until the completed matrix is translated in a routine fashion to compilable code. As worked example we develop a Java program that generates the table of the first N prime numbers.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Discovering Algorithms with Matrix Code does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Discovering Algorithms with Matrix Code, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Discovering Algorithms with Matrix Code will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-14358

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.