Front | Back |
Define Computer Program
|
A list of instructions that contain data for a comput.er to follow. Different programs are written with different languages
|
What are the five steps of the programming process?
|
Identify the Problem, Design the Solution, Write the Program, Test the Program, Document and Maintain the Program
|
What are the two parts of “Identify the Problem” and explain each?
|
Requirements- examine the data to be processed to ensure the program will handle data requirements. Specifications- determine the needs of the users.
|
What is top down design?
|
A solution method is broken down into smaller sub-problems, which in turn are broken down into smaller sub-problems, continuing until each sub-problem can be solved to few steps.
|
Define modularization.
|
A solution method is broken down into smaller sub-problems, which in turn are broken down into smaller sub-problems, continuing until each sub-problem can be solved to few steps.
|
Define algorithm.
|
A set of steps that create an ordered approach to a problem solution.
|
Define Pseudocode.
|
A mix of old English language and code that represents what you want your program to do.
|
What is meant by following the syntax of a language?
|
Don’t start changing to different formats or methods. You need to follow the syntax that you started with initially, You don’t want syntax errors
|
What is meant by programming style?
|
In Visual Basic, label names should begin with lbl. Agreed upon riles to make reading code easier.
|
Define debugging.
|
Running your program for all syntax errors
|
What are logic errors?
|
Just because it runs does not mean it is working correctly. Run some diagnostic test with sample data to be certain that the data which is input is handles correctly and produces the desired output.
|
Why is documentation important for the application user? Future programmer who might code changes?
|
For example, and input field asking for your birthday also have the desired format included in parentheses next to the input field. Always apply documentation through comments to your code so you can remember what you are doing and so the programmers can follow the logic of the code
|
Write an example of an algorithm.
|
1. Leave Classroom
2. Turn right out of school building
3. Walk 1.2 miles
4. Turn right on street
5. Go to 4th house
|
What is a flowchart? What does it show?
|
Uses symbols and text to give a visual representation of a solution to a problem
|
Rectangle
|
Processed
|