EssaysForStudent.com - Free Essays, Term Papers & Book Notes
Search

C Programming

By:   •  Study Guide  •  327 Words  •  January 4, 2010  •  1,120 Views

Page 1 of 2

Join now to read essay C Programming

The best way to approach a C language problem is to consider it in three major stages:

1. Problem analysis and program design - about one-half the total time;

2. Writing the program itself - about one-quarter of the total time;

3. Testing and debugging - the time remaining, about one-quarter of the total.

Most students tend to skimp on the first part and merge the other two into an unending sequence of "try this" and "try that", until something happens to work. Sometimes it’s not really understood why it finally works (if it really does)!

The solution is to use tools like pseudocode to sort out how to actually write the program.

Analyze the problem

This may sound easy, but it’s the part most often neglected. Read over the lab carefully. Now read it again. Read it a third time, and try to write out (on a separate piece of paper, or using a tool like Word) an outline of what you believe is required. From that, list items you are unclear on, or parts that appear contradictory. Now read the lab and your notes again, making corrections

Download as (for upgraded members)  txt (1.8 Kb)   pdf (54.8 Kb)   docx (10.6 Kb)  
Continue for 1 more page »