Intro: Key Concepts and C++ Flashcards

1
Q

What is procedural programming?

A
  • Also known as Imperative Programming. Procedural programming uses blocks and scoping rules that non-structured imperative languages do not
  • A form of structured programming. Oriented around procedures/functions/routines which accept data typically as parameters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is OOP? What is it structured around? What are objects? What do objects accept (how does this process work)?

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

What is an object? What are the following: data, functionality, data members, methods, member functions.

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

What are the similarities and differences between procedural programming and OOP?

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

What are the benefits of OOP? What are the four principles?

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

What is information hiding?

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

What is encapsulation?

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

What is abstraction?

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

What is modularization?

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

Is OOP the solution to every programming need? It it easy to achieve all the benefits of OOP?

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

With regards to the history of C++, what was happening in the late 70’s and early 80’s? What was the problem with C?

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

What were the two solutions that emerged in the early 80’s as solutions to an object-oriented C language?

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

Did Objective-C still do fairly well?

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

Why is C++ a good language?`

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

What are some of the problems with C++? Does C++ have garbage collection?

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