Java Programming

Athabasca University Flash cards for Comp 268

62 cards   |   Total Attempts: 185
  

Cards In This Set

Front Back
What are the main features of computer programming?
Writing out instructions for solving a problem or performing a task
Analyze the problem
Develop a general solution for the problem
Write the solution in terms of objects and instructions the computer can work with
What are the features of OO programming?
This is an approach to problem solving and implementation that focuses on the objects in the problem and the ways in which they interact. The goal is to develop the solution and the implementation in therms of small, easy to manage pieces.
What is computer programming?
The process of specifying objects and the ways in which those objects interact to solve a problem.
What are the two phases to writing a program for a computer to follow?

What is the last phase?
Problem Solving
- Analysis and specification
-General Solution
-Verify

Implementation
-Concrete Solution
-Test

Maintenance
-Use
-Maintain
Why is developing a general solution so important?
Helps manage the problem
Keeps your thoughts straight
Avoid mistakes
Which phase accounts for the majority of the effort expended on most applications?
The maintenance phase
What makes up an application's life cycle?
Problem solving
Implementation
Maintenance
Give examples of documentation
Written explanations of the problem
Organization of the solution
Explanatory comments
User manuals
What is data?
Information in a form that a computer can use
What is information?
Any knowledge that can be communicated
What is a "class"?
A specification of the representation of a particular kind of object, in terms of data and operations
What is an "object"?
A collection of data values and associated operations. Objects have both a state and a behavior.
Define Algorithm
Instructions for solving a problem in a finite amount of time using a finite amount of data.
What is the difference between a class and an object?
A class is like a factory, whereas the object is like the different TV's made in the factory.
What is a "sub algorithm"?
A task that is named without saying how it is done.