Computer Science Chapter 7

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

size declarator

The _ indicates the number of elements or values an array can hold.

STL or Standard Template Library

The _ is a collection of programmer defined data types and algorithms that you may use in your programs.

clear

To completely clear the contents of a vector, use the _ member function.

two

To define a two dimensional array, _ size declarators are required.

<vector>

To define a vector in your program, you much #include the _ header file.

size

To determine the number of elements in a vector, use the _ member function.

address or name

To pass an array to a function, pass the _ of the array.

push_back

To store a value in a vector that does not have a starting size, or that is already full, use the _ member function.

pop_back

Use the _ member function to remove the last element from a vector.

column

When a two dimensional array is passed to a function the _ size must be specified.

braces

When initializing a two dimensional array, it helps to enclose each row's initialization list in _.

=

You cannot use the _ operator to copy data from one array to another in a single statement.

Two-dimensional

A _ array is like several arrays of the same type put together.

subscript

By using the same _ for multiple arrays, you can build relationships between the data stored in the arrays.

bounds

C++ has no array _ checking, which means you can inadvertently store data past the end of an array.

subscript

Each element of an array is accessed and indexed by a number known as a _.

zero

If an array is partially initialized, the uninitialized elements will be set to _.

initialization list

If the size declarator of an array definition is omitted, C++ counts the number of items in the _ to determine how large the array should be.

rows, columns

It's best to think of a two-dimensional array as having a _ and _.

address

Any time the name of an array is used without brackets and a subscript, it is seen as _.

initialization

Starting values for an array may be specified with a _ list.

zero

Subscript numbering in C++ always starts at _.

size declarator, subscript

The number inside the brackets of an array definition is the _, but the number inside an array's brackets in an assignment statement, or any other statement that works with the contents of the array, is the _.

constant integer expression, zero

The size declarator must be a _ with a value greater than _.

sequence, associative

The two types of containers defined by the STL are _ and _.

sequence

The vector data type is a _ container.


Kaugnay na mga set ng pag-aaral

General Question 01 - self introduction + character

View Set

NHM 373 Chap 2 test review questions

View Set

SAFE MLO _ EXAM 3 _ 125 Q's Practice

View Set

Chapter 6 - Web-based Hacking: Servers and Applications

View Set

Fundamentals of Information Security - D430 Chapter Exercises (ALL)

View Set

ch 24 assessment of skin, hair, and nails

View Set