See Description 1

See
1.    What is the output of print(tuple[2:]) if tuple = ( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )?( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )abcd(786, 2.23)(2.23, ‘john’, 70.2)
1 points
QUESTION 2
1.    What is the output of print(tuple[-3:]) if tuple = ( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )?( ‘abcd’, 786 , 2.23, ‘john’, 70.2 )abcd(786, 2.23)(2.23, ‘john’, 70.2)
1 points
QUESTION 3
1.    when referencing the first index value within a list, in reference to the last elementâs position, we begin with an index of:01-1 any value
1 points
QUESTION 4
1.    Dictionaries use what to uniquely identify each of its elements.nameindexvaluefractional index
1 points
QUESTION 5
1.    unlike lists, a dictionary can only hold elements of the same data type.TrueFalse
1 points
QUESTION 6
1.    Dictionaries, while normally use names to reference an element, can also use index values.TrueFalse
1 points
QUESTION 7
1.    When we want our program to re-cycle after each use, that is, continue running until the user chooses to stop, we use a:for loopwhile loopdo-while loopswitch statement
1 points
QUESTION 8
1.    In OOP with Python, when a variable belongs to an object, we refer to it as a:variableattributefieldobject cannot contain variables.
1 points
QUESTION 9
1.    In OOP with Python, when a function belongs to an object, we refer to it as a:functionmethodprocedureobjects cannot contain functions.
1 points
QUESTION 10
1.    When defining a classâs attributes, what does the double underscore prefix mean?the variable is staticthe variable is private and cannot be seen by outside codethe variable is public and can be seen by outside codethe variable cannot be changed

Assignment status: Already Solved By Our Experts

(USA, AUS, UK & CA  PhD. Writers)