The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 2 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
Mark the following statements as true or false.
a. A double type is an example of a simple data type.
b. A one-dimensional array is an example of a structured data type.
c. Arrays can be passed as parameters to a function either by value or by reference.
d. A function can return a value of type array.
e. The size of an array is determined at compile time.
f. The only aggregate operations allowable on int arrays are the increment and decrement operations.
g. Given the declaration:
int list[10];
the statement:
list[5] = list[3] + list[2];
updates the content of the fifth component of the array list.
h. If an array index goes out of bounds, the program always terminates in an error.
i. In C++, some aggregate operations are allowed for strings.
j. The declaration:
char name[16] = "John K. Miller";
declares name to be an array of 15 characters because the string "John K. Miller" has only 14 characters.
k. The declaration:
char str = "Sunny Day";
declares str to be a string of an unspecified length.
l. As parameters, two-dimensional arrays are passed either by value or by reference.
A d-----------oub-----------le -----------typ-----------e i-----------s a-----------n e-----------xam-----------ple----------- of----------- a -----------sim-----------ple----------- da-----------ta -----------typ-----------e.--------------------------- T-----------RUE----------- b.----------- A -----------one------------di-----------men-----------sio-----------nal----------- ar-----------ray----------- is----------- an----------- ex-----------amp-----------le -----------of -----------a s-----------tru-----------ctu-----------red----------- da-----------ta -----------typ-----------e.--------------------------- T-----------RUE----------- c.----------- Ar-----------ray-----------s c-----------an