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

1) A sequence begins at subscript 1.
2) Strings and tuples are mutable sequences.
3) Each key-value pair in a dictionary has the form key : value.
4) Using a tuple as a dictionary key is an error.
5) Dictionary values are accessed with the dot operator.


1) F
2) F
3) T
4) F
5) F

Computer Science & Information Technology

You might also like to view...

When sorting data click a cell in the column after you click the desired sort button.

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

Computer Science & Information Technology

The ____ blending mode is very useful for colorizing monochromatic images.

A. Mode B. Base C. Rub D. Color

Computer Science & Information Technology

In a table, the intersection of an individual row and column creates a specific cell

Indicate whether the statement is true or false

Computer Science & Information Technology

Identify the letter of the choice that best matches the phrase or definition.

A. Built-in function that calculates the payments for a loan based on constant payments and a constant interest rate B. Class that provides standard math procedures required for mathematical calculations C. Math class method that returns the absolute value of a number D. Math class method that will raise a number to a power E. Method of the Math class that returns the smaller of two numbers F. Math class constant that is the natural exponent

Computer Science & Information Technology