W2 Flashcards

1
Q

Computer programming is the process of _________ and ____________ computer programs

A

designing and implementing

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

Definition: A set of procedure calls and a set of code for each procedure

A

Procedural programming

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

Definition: Breaking a program down into smaller modules and putting emphasis on separating the program data from its functionality

A

Structured programming

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

3 advantages of structured programming over procedural

Easier to…

A

Easier to understand, fix, and modify

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

OOP is a paradigm which real-world objects are viewed as separate ________ having their own _____ that can only be changed by using built in __________ that are called _______

A

entities, state, procedures, methods

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

3 Benefits of OOP

EIE

A
  1. Easy to reuse code
  2. Extension (inheritance)
  3. Encapsulation and information hiding

1 and 2 are the major difference between OOP and other paradigms,

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

Object Oriented Analysis and Design (OOAD):
Define - Requirements Analysis

A

Determine the projects requirements, in other words determine what the program should do

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

Object Oriented Analysis and Design (OOAD):
Define - Design

A

Develop a design that satisfies the Requirements Analysis, in this step you determine HOW the program should do it

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

Object Oriented Analysis and Design (OOAD):
Define - Review

A

Review the design/plan before writing

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

Objects are ________ software components

A

reusable

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

The process of hiding some details from the user and showing just the essential information

A

Abstraction

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

The process of binding together data and code that acts on that data as a single unit

A

Encapsulation

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

Encapsulation ensures that variables of a class will be ______ from other classes, and can be accessed only through the _______ of their current class

A

hidden, methods

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

The process of a class acquiring the properties (methods and fields) of another

A

Inheritance

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

Inheritance - The inheriting class is referred to as a _____ class or subclass, whereas the class providing the properties to be inherited is the _____ class or superclass

A

child class (subclass), parent class (superclass)

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

Poly - ____, morphism - _____

A

Poly - many, morphism - forms

17
Q

Ability for a data or message to be processed in more than one form

A

Polymorphism

18
Q

Encapsulation is the packaging of information in such a way that as to hide what should…

A

be hidden and to show what should be shown. Encapsulation is achieved through information hiding!