In addition to variables, Ruby also permits the storage of collections of data using which of the following constructs?

A. Arrays and Hashes
B. Lists and Collections
C. Variables and Constants
D. None of the above


Answer: A

Computer Science & Information Technology

You might also like to view...

What would be the best choice of data type for a person’s address?

a) int b) float c) char d) string

Computer Science & Information Technology

When sorting a selection sort in ascending order, the array is scanned for the smallest value on the first pass, and when its position is determined, it is swapped with the element at subscript [0].

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

Computer Science & Information Technology

A card is drawn from a standard deck of playing cards. What is the probability that the card is not a/an 5?

A.
B.
C.
D.
E.

Computer Science & Information Technology

TRIB, an acronym that relates to throughput, stands for:

a. Throughput Reduction of Information Barriers b. Transmission Rate of Information Bits c. Throughput Rate of Iso-synchronous Bytes d. Transmission Regulation for Inverse-multiplexing Bands e. Trellis-coded Regulation of Information Bits

Computer Science & Information Technology