Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
Pascal, BASIC, and C are p_____ languages, while C++ is an o_____language. |
Procedural; Object-Oriented |
|
A widget is to the blueprint for a widget as an object is to |
A Class |
|
The two major components of an object are _____ and functions that _____. |
Data; Act On That Data |
|
In C++, a function contained within a class is called |
A Member Function |
|
Protecting data from access by unauthorized functions is called _____. |
Data Hiding |
|
Which of the following are good reasons to use an object-oriented language? You can define your own data types.
Program statements are simpler than in procedural languages. An OO program can be taught to correct its own errors. It’s easier to conceptualize an OO program. |
You can define your own data types; It’s easier to conceptualize an OO program |
|
_____ model entities in the real world more closely than do functions. |
Objects |
|
True or false: A C++ program is similar to a C program except for the details ofcoding. |
false; the organizational principles are different |
|
Bundling data and functions together is called _____. |
Encapsulation |
|
When a language has the capability to produce new data types, it is said to be |
Extensible |
|
True or false: You can easily tell, from any two lines of code, whether a programis written in C or C++. |
false; most lines of code are the same in C and C++ |
|
The ability of a function or operator to act in different ways on different datatypes is called __________. |
Polymorphism |
|
A normal C++ operator that acts in special ways on newly defined data types issaid to be |
Overloaded |
|
Memorizing the new terms used in C++ is |
Something you can return to later |
|
The Unified Modeling Language is |
A way to look at the organization of a program; Helpful in developing software systems |