I need some help with these C++ programming questions------sample Exam questions
ID: 3643067 • Letter: I
Question
I need some help with these C++ programming questions------sample Exam questions. PLEASE!!!!Question 1
The _______ search compares each array element with a search key.
Question 2
An _____________1value is an expression that identifies an object in memory (such as an element
in a vector), but cannot be used to modify that object. A _______________ lvalue also identifies an object
in memory, but can be used to modify the object.
Question 3
_________ arrays with two dimensions are often used to represent tables of values
consisting of information arranged in rows and columns.
Question 4
Arrays that require two subscripts to identify a particular element are called two-dimensional arrays. An array with m_____________ and n is called an m-by-n array
Question 5
To pass an array argument to a function, specify the name of the array without any _________.
Question 6
Data structures are collections of_______________ data items. Arrays are data structures consisting
of related data items of the__________________ type.
Question 7
All array references should remain_____________ the____________ of the array10 points
Question 8
To handle an exception, place any code that might throw an exception in a ______________ statement.
Question 9
An array is a consecutive group of______________ _______________ that share the same type.
Question 10
________________________ arrays with two dimensions are often used to represent tables of values consisting of information arranged in rows and columns.
Question 11
A _______________block declares a type and an__________________ parameter. Inside of which, you
can use the parameter
Explanation / Answer
1) linear
2) index
3)matrix
4) m " rows"and n"column"
5) parameter
6)different, same
7).constant, ninth element
8) true
9) similar elements
10) matrix or 2d
11) catch , exception
12) elements , o