Shared Flashcard Set

Details

csci 1380 final exam
zomg zerg rush
23
Computer Science
Undergraduate 1
12/04/2007

Additional Computer Science Flashcards

 


 

Cards

Term
structure
Definition
C++ construct that allows multiple variables to be grouped together
Term
struct declaration does not allocate memory or create variables: true or fale
Definition
true
Term
initialization list
Definition
an ordered set of values, separated by commas and contained in { }, that provides initial values for a set of data members
Term
using a value parameter for structure
Definition
can slow down a program and waste space
Term
Using a reference parameter
Definition
speeds up program, but allows the function to modify data in the structure
Term
const reference parameter
Definition
saves space and time, while protecting structure data that should not be changed
Term
unions are similar to...
Definition
a struct but are different in two ways.
Term
unions are different to structures in that...
Definition
all members share a single memory location and only 1 member of the union can be used at a time
Term
Abstraction
Definition
a definition that captures general characteristics without details
Term
Data Type
Definition
defines the kind of values that can be stored in a variable and the operations that can be performed on it
Term
Data Abstraction
Definition
The separation of a data type’s logical properties from its implementation details.
Term
Procedural programming
Definition
focuses on the process/actions or functions that occur in a program
Term
Object-Oriented programming
Definition
is based on the data and the functions that operate on it. Objects are instances of Abstract Data Types, or ADTs.
Term
Object-Oriented programming can also be described as...
Definition
...based on objects that encapsulate both data and the functions that operate on them.
Term
class command is similar to a...
Definition
struct
Term
class allows building of
Definition
related variables and the functions that operate on them
Term
class describes
Definition
the properties that all instances of the class will have
Term
object is an instance of a class in the same way that a ...
Definition
variable can be an instance of a struct
Term
An object’s member variables are sometimes called its
Definition
attributes
Term
An object’s member functions are sometimes referred as to as
Definition
its behaviors or methods.
Term
attributes
Definition
member data of a class
Term
methods or behaviors
Definition
member functions of a class
Term
data hiding
Definition
restricting access to certain members of an object
Supporting users have an ad free experience!