Exam 7: Lists and Tuples
Exam 1: Introduction to Computers and Programming39 Questions
Exam 2: Input, Processing, and Output40 Questions
Exam 3: Decision Structures and Boolean Logic40 Questions
Exam 4: Repetition Structures41 Questions
Exam 5: Functions66 Questions
Exam 6: Files and Exceptions40 Questions
Exam 7: Lists and Tuples40 Questions
Exam 8: More About Strings37 Questions
Exam 9: Dictionaries and Sets39 Questions
Exam 10: Classes and Object-Oriented Programming38 Questions
Exam 11: Inheritance36 Questions
Exam 12: Recursion35 Questions
Exam 13: Gui Programming42 Questions
Select questions type
Tuples are __________ sequences which means that once a tuple is created,it cannot be changed.
(Short Answer)
4.9/5
(83)
Which method can be used to place an item at a specific index in a list?
(Multiple Choice)
4.9/5
(76)
A(n)___________ is a span of items that are taken from a sequence.
(Short Answer)
4.9/5
(74)
The __________ package is a library you can use in Python to create two-dimensional charts and graphs.
(Short Answer)
4.9/5
(78)
The sort method rearranges the elements of a list so they are in ascending or descending order.
(True/False)
5.0/5
(84)
In slicing,if the end index specifies a position beyond the end of the list,Python will use the length of the list instead.
(True/False)
4.8/5
(95)
The __________ function returns the item that has the lowest value in the sequence.
(Short Answer)
4.8/5
(68)
To calculate the average of the numeric values in a list,the first step is to get the total of values in the list.
(True/False)
4.8/5
(98)
What will be the value of the variable list after the following code executes?
List = [1,2,3,4]
List[3] = 10
(Multiple Choice)
4.9/5
(85)
What will be the value of the variable list after the following code executes?
List = [1,2]
List = list * 3
(Multiple Choice)
4.8/5
(90)
The __________ method reverses the order of the items in a list.
(Short Answer)
4.8/5
(77)
Lists are dynamic data structures such that items may be added to them or removed from them.
(True/False)
4.8/5
(74)
Each element in a tuple has a(n)__________ that specifies its position in the tuple.
(Short Answer)
4.9/5
(69)
To add a descriptive label to the X and Y axes of a graph when using the matplotlib package,you need to import the labels module.
(True/False)
4.7/5
(80)
When working with multiple sets of data,one would typically use a(n)
(Multiple Choice)
4.8/5
(72)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)