Shared Flashcard Set

Details

Chapter 4 Sec. 1
drdewrkewtlkiorqewtkre;lkterleeqwrmkqlewrkoqewkqlewrk
17
Computer Networking
10th Grade
04/03/2013

Additional Computer Networking Flashcards

 


 

Cards

Term
What do you use vectors for?
Definition
To work with sequences and values.
Term
How do you use a vector member function?
Definition
To manipulate sequence elements.
Term
What is a characteristic of a "good game programmer"
Definition
Laziness.
Term
What does STL stand for?
Definition
Standard Template Library
Term
Containers store and let us access collections of values of the same type. True or false?
Definition
True.
Term
A vector is series of commands and Boolean terms. True or false?
Definition
False. A vector is a general description of a dynamic array.
Term
What does an iterator do?
Definition
Identifies elements in a container.
Term
Can vectors be used with STL? Can arrays?
Definition
Yes, and no.
Term
Which consumes more memory? A vector or an array?
Definition
Vector.
Term
Define algorithms.
Definition
A type of math used for any specific need.
Term
Define dynamic array.
Definition
An array that can grow and shrink accordingly.
Term
What object would you use to create an inventory?
Definition
String object, and or dynamic array.
Term
What is wrong with the following code?

" vector[string] inventory; "
Definition
" vector inventory; "
Term
What is wrong with the following code? " cout <
Definition
" cout <
Term
What do you do before you declare a vector?
Definition
Must conclude the file that's contains its definition.
Term
What code would you use to include a vector?
Definition
#include
Term
Declaring a vector is fine because?
Definition
Vectors grow in size as elements are added.
Supporting users have an ad free experience!