Reference no: EM132355612
Question
True or False
1. A dictionary is a random-access data structure.
2. An array is a sequential access data structure.
3. Using functions to isolate code is a good programming practice.
4. Lexicographical ordering starts by comparing the first letters of two strings to determine the order.
5. Standard Input in Perl and Python is the keyboard.
6. Standard Output in Perl and Python is the printer.
7. Piping commands entails using the output from one command as the input to the next command.
8. The character "!" comes after "M" in the ASCII table.
9. Regular expressions are used to process text.
10. In Perl, the last calculation performed in a subroutine is returned by the subroutine, unless an explicit return value is provided with the return keyword.
11. Python numpy arrays are homogenous data structures.
12. A Python list is a mutable, random access data structure of mixed type.
13. Dictionaries are useful to store pairs of data sets which are related and of the same length.
14. In Perl, a lexical variable which is defined in a while loop is available throughout the entire program execution domain.