Program Developement Cycle Flashcards
What is the first step in the program development cycle (PDC)?
Understanding the problem
What is the second step in the PDC?
Plan the logic
What is the third step in the PDC?
Code the program
What is the fourth step in the PDC?
Use software (a compiler or an interpreter) to translate the program into machine language.
Or
Translate the code
What is the fifth step in the PDC?
Test the program
What is the sixth step in the PDC?
Put the program into production
What is the seventh step in the PDC?
Maintain the program
HR asks the programmer “our department needs a list of all employees who have been here over five years, because we want to invite them to a special thank you dinner” what is the first step the programmer would go through for this request?
Ask questions to understand the problem
What is one of the most difficult aspects of programming?
Fully understanding the problem
Once the programmer has understood the problem to fulfill HR’s request, what would be the next step?
Planning the logic
What tools can you use to plan the logic of HR’s request?
Flow charts or psuedocode
What is another term programmers use for planning the logic?
Developing an algorithm
What is it called when walking through planining the logic on paper before actually writing the program?
Desk-check
Our programmer has now planned the logic for HR’s request, what is the next step they will need to take?
Code the program
Now that our programmer has coded this programs what is their next step?
Using software to translate the program into machine language
OR
Translate the program/code
We have now translated the code for HR’s request. What is the next step?
Testing the program
What does this code do?
Input myNumber
myAnswer= myNumber * 2
Output myAnswer
Number-doubling
OR
Takes the input number and multiply it by two and output the answer
The code has now been translated, which step is next?
Putting the program into production
The program is now in production and is being used. What is the programmers next step?
Maintaining the program
True or false?
Understanding the problem that must be solved can be one of the most difficult aspects of programming?
True
True or false?
Developing program logic is a very different process when you use different programming languages to implement the logic?
False
(despite their differences, programming languages are quite alike in their basic capabilities-can handle input operations, arithmetic processing, output operationsand other standard functions. The logic developed to solve a programming problem can be executed using any number of languages)
True or false?
The two most commonly used logic-planning tools are flowcharts and pseudocode.
True