Answer the following statements true (T) or false (F)

1. If A is an array of integer elements, then the statement
A = A + 1;
adds 1 to each element of A.
2. If A is an array of integer elements, then the statement
A[3] = A[3] + 1;
adds 1 to the third element of array A.
3. Most array subscripts are of type float.
4. If A and B are arrays of the same data type, then the statement
A = B;
copies each element of B to the corresponding element of A.
5. If b is an array of integer elements, then the statement b[3] *= 2;
doubles the value of b[3].


1. False
2. False
3. False)
4. False
5. True

Computer Science & Information Technology

You might also like to view...

When you understand the basics of Grayscale and RGB color modes, then you're ready and able to dramatically improve your images with augmentation.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The table Faculty has 60,000 rows, each row occupies 100 bytes, and the database page size is 4 k bytes. Assuming pages in the index and data ?les are 100% occupied, estimate the number of page transfers required for the following SELECT statement in each of the cases listed below.

``` SELECT F.DeptId FROM Facu lty F WHERE F.Id = ’111111111’ ``` a. The table has no index. b. The table has a clustered B+ tree index on Id. Assume a (nonleaf) index entry has 20 characters. c. The table has an unclustered B+ tree index on Id. Assume a (nonleaf) index entry has 20 characters. d. The table has an unclustered B+ tree index on (Id, DeptId). Assume that an index entry now has 25 characters. e. The table has an unclustered B+ tree index on (DeptId, Id). Assume that an index entry now has 25 characters.

Computer Science & Information Technology

The ____________________ object is used to read text from a file into the program.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What are the two different methods for partitioning hard drives?

A. Extended Partitioning Scheme (EPS) B. Master Boot Record (MBR) C. Standard Partition Layout (SPL) D. GUID Partition Table (GPT)

Computer Science & Information Technology