Podcast
Questions and Answers
From the algorithms the programmer develops the ______
From the algorithms the programmer develops the ______
flowcharts
Flow chart is a graphic representations of the ______
Flow chart is a graphic representations of the ______
algorithms
Using them, the programmer can test the solution for bugs and go on to code the problem into a computer ______
Using them, the programmer can test the solution for bugs and go on to code the problem into a computer ______
language
A problem analysis chart shows a beginning analysis of the ______
A problem analysis chart shows a beginning analysis of the ______
Signup and view all the answers
An IPO chart shows the ______, the processing, and the output
An IPO chart shows the ______, the processing, and the output
Signup and view all the answers
Pseudocode is similar to the algorithm without the numbers and somewhat ______
Pseudocode is similar to the algorithm without the numbers and somewhat ______
Signup and view all the answers
Algorithms show the sequence of instructions comprising the ______
Algorithms show the sequence of instructions comprising the ______
Signup and view all the answers
Internal documentation consists of remarks written with the instructions to explain what is being done in the ______
Internal documentation consists of remarks written with the instructions to explain what is being done in the ______
Signup and view all the answers
A flowchart will show errors in logic not readily visible in the other ______
A flowchart will show errors in logic not readily visible in the other ______
Signup and view all the answers
Flowcharts are graphic representations of the ______
Flowcharts are graphic representations of the ______
Signup and view all the answers
Pseudocode represents a language-like ______
Pseudocode represents a language-like ______
Signup and view all the answers
When the programmer does not use these tools during the problemsolving process, the solution takes longer to ______
When the programmer does not use these tools during the problemsolving process, the solution takes longer to ______
Signup and view all the answers
______ is used to consolidate data for a problem.
______ is used to consolidate data for a problem.
Signup and view all the answers
Use an ____ chart to designate the input, processing, module number, and output for a solution of a problem.
Use an ____ chart to designate the input, processing, module number, and output for a solution of a problem.
Signup and view all the answers
Use ______ to develop the instructions for each module in the solution of a problem.
Use ______ to develop the instructions for each module in the solution of a problem.
Signup and view all the answers
Drawing ______ helps visualize the steps in a solution.
Drawing ______ helps visualize the steps in a solution.
Signup and view all the answers
______ is a way to describe the steps in a solution using a mix of natural language and programming language.
______ is a way to describe the steps in a solution using a mix of natural language and programming language.
Signup and view all the answers
List and describe the eight basic tools used in this book to aid in the development of a solution to a problem: 1. Problem analysis chart 2. IPO chart 3. ______ 4. ______ 5. Algorithms 6. ______ 7. ______ 8. ______
List and describe the eight basic tools used in this book to aid in the development of a solution to a problem: 1. Problem analysis chart 2. IPO chart 3. ______ 4. ______ 5. Algorithms 6. ______ 7. ______ 8. ______
Signup and view all the answers
A good way to analyze a problem is to separate it into __ parts, shown in the problem analysis chart (PAC).
A good way to analyze a problem is to separate it into __ parts, shown in the problem analysis chart (PAC).
Signup and view all the answers
The gross pay of an employee is calculated by multiplying the hours worked by the rate of __.
The gross pay of an employee is calculated by multiplying the hours worked by the rate of __.
Signup and view all the answers
Problem 1: Write a Problem Analysis Chart (PAC) to convert the distance in miles to __ where 1.609 kilometers per mile.
Problem 1: Write a Problem Analysis Chart (PAC) to convert the distance in miles to __ where 1.609 kilometers per mile.
Signup and view all the answers
Problem 2: Write a Problem Analysis Chart (PAC) to find the area of a circle where area = pi * radius * __.
Problem 2: Write a Problem Analysis Chart (PAC) to find the area of a circle where area = pi * radius * __.
Signup and view all the answers
Interactivity Chart divides the processing into subtasks called __ and then connects these modules together to show the interaction of processing between the modules.
Interactivity Chart divides the processing into subtasks called __ and then connects these modules together to show the interaction of processing between the modules.
Signup and view all the answers
Each module in the Interactivity Chart should contain the tasks to accomplish one function, such as entering data, printing results, or calculating __.
Each module in the Interactivity Chart should contain the tasks to accomplish one function, such as entering data, printing results, or calculating __.
Signup and view all the answers
This breakdown enables you to view a complex problem in simpler parts and to program smaller, simpler parts of a program rather than one large, complex program. Developing the ___________ chart.
This breakdown enables you to view a complex problem in simpler parts and to program smaller, simpler parts of a program rather than one large, complex program. Developing the ___________ chart.
Signup and view all the answers
The IPO (input-processing-output) chart extends and organizes the information in the problem analysis chart. It shows in more detail what data items are input, what processing takes place on that data, and what information will be the end result, the output. The IPO chart also shows where in the solution the processing takes place. IPO CHART ___________ PAY.
The IPO (input-processing-output) chart extends and organizes the information in the problem analysis chart. It shows in more detail what data items are input, what processing takes place on that data, and what information will be the end result, the output. The IPO chart also shows where in the solution the processing takes place. IPO CHART ___________ PAY.
Signup and view all the answers
After using the interactivity chart and the IPO chart, the next step in organizing a solution is for the programmer to develop sets of instructions for the computer, called ___________.
After using the interactivity chart and the IPO chart, the next step in organizing a solution is for the programmer to develop sets of instructions for the computer, called ___________.
Signup and view all the answers
To complete all of the algorithms needed to solve a problem, the programmer writes a separate set of instructions for each module in the structure chart. The instructions cannot assume anything, cannot skip steps, must be executable one step at a time, and must be ___________.
To complete all of the algorithms needed to solve a problem, the programmer writes a separate set of instructions for each module in the structure chart. The instructions cannot assume anything, cannot skip steps, must be executable one step at a time, and must be ___________.
Signup and view all the answers
The modules are taken from the interactivity chart, and the processing is taken from the IPO chart. The algorithms pull the interactivity chart and the IPO chart together to give a logical step-by-step solution. WRITING ___________.
The modules are taken from the interactivity chart, and the processing is taken from the IPO chart. The algorithms pull the interactivity chart and the IPO chart together to give a logical step-by-step solution. WRITING ___________.
Signup and view all the answers
Control module uses an End since this is the end of the processing. The other modules use Exit because the processing continues. WRITING ___________.
Control module uses an End since this is the end of the processing. The other modules use Exit because the processing continues. WRITING ___________.
Signup and view all the answers
Study Notes
Problem Analysis and Solution
- Breaking down a complex problem into simpler parts enables easier programming and organization of the solution.
- The problem analysis chart (PAC) is used to consolidate data for a problem, and it consists of four parts: given data, required results, processing required, and solution alternatives.
IPO Chart
- The IPO (Input-Processing-Output) chart extends and organizes the information in the problem analysis chart.
- It shows the input data, processing, and output information, including where the processing takes place.
Algorithms
- Algorithms are sets of instructions for the computer, developed from the IPO chart and structure chart.
- Each module in the structure chart has a separate set of instructions.
- Algorithms must be complete, executable one step at a time, and cannot assume anything or skip steps.
Flowcharts
- Flowcharts are graphic representations of algorithms.
- They are used to test the solution for bugs and to code the problem into a computer language.
- Flowcharts can show errors in logic not readily visible in other charts.
Pseudocode
- Pseudocode is similar to an algorithm, but without numbers and condensed.
- It is used to develop the instructions for each module in the solution.
Internal and External Documentation
- Internal documentation consists of remarks written with the instructions to explain the program.
- External documentation includes manuals or help menus written about the solution.
Communicating with the Computer
- Computers do not understand English, so programmers must learn the computer's language.
- Incorrect instructions can result in error messages, wrong answers, or no answer at all.
- Syntax refers to the rules governing the computer operating system, language, and application.
- Errors are called bugs, and debugging is the process of finding and correcting them.
Organizing the Solution
- A programmer uses various tools to organize the solution, including:
- Problem analysis chart
- Structure chart or interactivity chart
- IPO chart
- Algorithms
- Flowcharts
- Pseudocode
- These tools help to create a more efficient and readable solution.
Analyzing the Problem
- A good way to analyze a problem is to separate it into four parts: given data, required results, processing required, and solution alternatives.
- The problem analysis chart is used to analyze the problem and set up the most efficient solution.
Interactivity Chart
- The interactivity chart (structure chart) divides the processing into subtasks called modules and connects them to show the interaction of processing between the modules.
- Each module should contain tasks to accomplish one function, such as entering data, printing results, or calculating results.
- One module controls the flow to most of the other modules, known as the Control or Main module.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Learn about syntax, errors, debugging, and organizing solutions in programming. Understand the rules governing computer operating systems and applications. Get familiar with common programming tools like problem analysis charts.