Big Idea 5 Flashcards
Why are programs developed? Using what?
For creative expression, to satisfy personal curiosity, or to create new knowledge using visual, audible, or tactile inputs and outputs.
What often occurs when creating a program for one intended purpose?
Additional desires and realizations can be made having a large impact on individuals, organizations, and society, generating creativity in other fields.
What two things make for a well-developed program?
An iterative process in which correct program segments are combined to achieve a greater goal.
Why is program documentation so important?
Documentation of program components, such as code segments and procedures, helps programmers develop and maintain correct programs to efficiently solve problems.
What do programmers do when solving problems?
A programmer designs, implements, tests, debugs, and maintains programs when solving problems.
Why is collaboration (peer programming) so important?
Collaboration can decrease the size and complexity of tasks required of individual programmers while facilitating multiple perspectives in developing ideas for solving problems by programming.
How are algorithms implemented?
Algorithms are implemented using program instructions that are processed during program sequential execution.
What may program instructions include?
They may involve variables that are initialized and updated, read, and written.
What do processes use?
Processes use memory, a central processing unit (CPU), and input and output. A process may also be executed on several CPUs.
What are some downsides of improved algorithms, hardware, and software?
Improvements in algorithms, hardware, and software increase the kinds of problems solvable by programming.
What are procedures?
Dubbed as grouping of programming instructions, procedures are reusable programming abstractions. Additionally, procedures have names and may have parameters that return values.
What can parameterization do?
It can generalize a specific solution by allowing a procedure to be use instead of duplicated code. Parameters can also provide different values as input to procedures when they are called in a program.
What is data abstractions a means of doing?
Separating behavior from implementation.
What constraints may be put on integers?
Integers may be constrained in the maximum and minim values that can be represented in program because of storage limitations.
How are real numbers approximated?
By floating-point representations that do not necessarily have infinite precision.