Python – Pre Assessment Name* Email* Phone Number* – 1. Which of the following is not true about Python – Itis a case sensitive languageIt does not support object oriented programming conceptlist is a primitive data type in pythonA set does not allow duplicate values. 2. Which of the following is not a keyword in Python- passifimportfunction 3. Which of the following is immutable in nature? tuplelistdictionaryset 4. Myname="Rashmi" print(type(Myname)) – these two lines coding will produce the output as- stringrashmistr6 5. Which key word is used to handle exceptions? exceptcatchtryfinally 6. Which method you can use to add an element at the end of a list? insert ( )Add ( )extent ( )Append ( ) 7. Which method is used to remove the last element from a List? remove ( )del ( )pop ( )delete ( ) 8. Which package or module helps to perform some statistical operations? numpyreosNone 9. Which function is required to convert a value into float type? decimal ( )convert ( )float ( )number ( ) 10. Which function is used to determine no of characters from a string? maxchars()count()length()len() 11. Which function of dictionary is used to retrieve the corresponding values against a specific key? del()update()items()get() 12. Which package is required to be installed when you are trying to read data from an older version of Excel File (.xlx) using pandas? openpyxlxlrdlength()pyodbc 13. Which keyword is used to execute some code both under normal as well as exceptional situation? exceptdeffinallyimport Here the text=”Red” is used to – Add a Text with a caption RedTo Indicate the Text Color as RedTo Fill the Background of the Label with Red ColorNone of These 15. Which of the following command can be used to interchange the values of x & y? x , y : y, xx , y = y , xx , y :: y , xx , y ? y , x Submit Should be Empty: Now create your own Jotform - It’s free! Create your own Jotform