Program Developement Cycle Flashcards

1
Q

What is the first step in the program development cycle (PDC)?

A

Understanding the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the second step in the PDC?

A

Plan the logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the third step in the PDC?

A

Code the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the fourth step in the PDC?

A

Use software (a compiler or an interpreter) to translate the program into machine language.
Or
Translate the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the fifth step in the PDC?

A

Test the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the sixth step in the PDC?

A

Put the program into production

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the seventh step in the PDC?

A

Maintain the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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?

A

Ask questions to understand the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is one of the most difficult aspects of programming?

A

Fully understanding the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Once the programmer has understood the problem to fulfill HR’s request, what would be the next step?

A

Planning the logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What tools can you use to plan the logic of HR’s request?

A

Flow charts or psuedocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is another term programmers use for planning the logic?

A

Developing an algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is it called when walking through planining the logic on paper before actually writing the program?

A

Desk-check

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Our programmer has now planned the logic for HR’s request, what is the next step they will need to take?

A

Code the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Now that our programmer has coded this programs what is their next step?

A

Using software to translate the program into machine language
OR
Translate the program/code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

We have now translated the code for HR’s request. What is the next step?

A

Testing the program

17
Q

What does this code do?

Input myNumber
myAnswer= myNumber * 2
Output myAnswer

A

Number-doubling
OR
Takes the input number and multiply it by two and output the answer

18
Q

The code has now been translated, which step is next?

A

Putting the program into production

19
Q

The program is now in production and is being used. What is the programmers next step?

A

Maintaining the program

20
Q

True or false?
Understanding the problem that must be solved can be one of the most difficult aspects of programming?

21
Q

True or false?
Developing program logic is a very different process when you use different programming languages to implement the logic?

A

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)

22
Q

True or false?
The two most commonly used logic-planning tools are flowcharts and pseudocode.