intro to programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

object orientation

A
  • collection of interacting objects

- each object is capable of sending and receiving messages and processing data.

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

classes

A

-defines characteristics of an object
must include: (car)
-attributes (year, colour etc.)
-behaviours (turn(), on())

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

object

A

instance (example eg. golf car) of a class

instantiation

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

method

A

behaviour of an object
within a program usually only affects one object
(all cars can accelerate but program only needs golf car to accelerate)

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

method call

A

process sends data to another object or asks object to invoke a method.

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