python for data science ai & development coursera week 1 quiz answers Practice Quiz 1. What is the type of the following: 0 Answers Intfloat 2. What is the type of the following number: 3.12323 Answers IntFloat 3. What is the result of the following: int(3.99) Answers 33.99 4. What is the result of the following operation: 11//2 Answers 55.5 5. What is the value of x after the following is run:x=4x=x/2 Answers 4.02.0 6. What is the result of the following: Name[0] Answers “i”“n”“M” 7. What is the result of the following: Name[-1] Answers “n”“o”“M” 8. What is the output of the following: print("AB\nC\nDE") Answers ABCDEABCDEABCDE 9. What is the result of following? "hello Mike".find("Mike") If you are unsure, copy and paste the code into Jupyter Notebook and check. Answers 66,7,85 Module 1 Graded Quiz 10. What is the value of x after the following lines of code?x=2x=x+2 Answers 42 11. What is the result of the following operation 3+2*2 ? Answers 379 12. What is the result of the following code segment: type(int(12.3)) Answers floatstrint 13. What is the result of the following code segment: int(True) Answers 10error 14. In Python, what is the result of the following operation: '1'+'2' ? Answers 3‘3’’12’ 15. Given myvar = 'hello' , how would you return myvar as uppercase? Answers len(myvar)myvar.find(‘hello’)myvar.upper() 16. What is the result of the following : str(1+1) ? Answers ‘2’’11’ 17. What is the result of the following: "ABC".replace("AB", "ab") ? Answers ‘abC’‘ABc’ 18. In Python 3, what is the type of the variable x after the following: x=1/1 ? Answers floatint Share the love Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window You Might Also Like Week 1 – Introduction Week 3 – Applied Design Fundamentals Week 2 – Social Media Content Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.