Python quiz 4: Data types in Python Welcome to your Python quiz 4: Data types in Python Your Name Your Email 1. Python is dynamically typed language (No need to declare datatype explicitly) Yes No None 2. How many broad categories of Data Types available in Python? 2 3 4 5 None 3. x = 20.0, What is the data type of x ? Int Float Boolean All None 4. p = "24by7", what is the Data type of p ? Int Boolean Number String None 5. What will be the result of >> print (0b1100) 10 11 12 00 None 6. 1.41e6, in Python means 141.0 1410000.0 141000.0 141000000.0 None 7. 'aipython' and "aipython" are same in Python. Yes No None 8. Which of the following returns booean Data type? 7 > 2 8 = 2 None 9. c = 4+2j, how to get the imaginary part of c? c.imag imag.c imag(c) None None 10. what will be the output of following in Python ?>> print (str (34)) str 34 34 '34' Invalid None Related Posts