Descriptions Of Concepts Flashcards

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

You can mix-in [..] modules

A

Many

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

You cannot [..] a module

A

Instantiate

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

The [..] that Ruby follows when looking for the location of a method definition or constant

A

Method lookup path

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

OOP is a paradigm created to cope with the growing [..] of software systems

A

Complexity

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

You can subclass from [..] superclasses

A

One

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

Polymorphism can be seen in the case of method [..] and in operator [..]

A

Overriding

Overloading

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

The ability to have multiple types of constructor in a class (can only be simulated in Ruby)

A

Constructor overloading

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

The way to protect against accidental modifications to parts of the codebase

A

Access modifiers

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

This is the way in which specific implementations to a generic base class can be made - i.e. you can inherit from Class A but do some things differently

A

Polymorphism

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

The process of making a new object is called [..]

A

Instantiation

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

Type of encapsulation that allows the grouping together of similar classes, methods and constants, to stop a clash with others that are similarly referenced

A

Namespacing

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

The class that is being inherited from

A
Superclass
Base class
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

[..] is a way to form new classes using classes that have already been defined

A

Inheritance

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

The mould from which objects are created is called a [..]

A

Class

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

[..] is simplifying complex reality by modeling classes appropriate to the problem

A

Abstraction

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

[..] hides the implementation details of a class from other objects.

A

Encapsulation

31
Q

A polymorphic structure that allows groups of behaviours to be added to a class

A

Modules

32
Q

The class that inherits

A
Subclass
Derived class
34
Q

[..] is the process of using an operator or function in different ways for different data input

A

Polymorphism

35
Q

The attributes associated with an object

A

States

36
Q

The actions that an object can carry out

A

Behaviours