Practice Quiz: Running Python Locally Post author:Devendra Kumar Post published: Post comments:0 Comments 6. When your IDE automatically creates an indent for you, this is known as what? Answers Interpreted languageSyntax highlightingCode reuseCode completion 7. Can you identify the error in the following code?#!/usr/bin/env python3import numpy as npdef numpyArray(): x = np.array([[1, 2, 3], [4, 5, 6]], np.int32) y = numpy.array([[3, 6, 2], [9, 12, 8]], np.int32) return x*yprint(numpyArray()) Answers The y variable is not calling the numpy module properly.The function is not indented properly.The shebang line is not necessary.numpy is not imported correctly because as is used. 8. Which type of programming language is read and converted to machine code before runtime, allowing for more efficient code? Answers Object-oriented languageCompiled languageInterpreted languageIntermediate code 9. Which of the following is not an IDE or code editor? Answers EclipsepipAtomPyCharm 10. What does the PATH variable do? Answers Tells the operating system where to find executablesReturns the current working directoryHolds the command line arguments of your Python program in a listTells the operating system where to cache frequently used files Previous Next Please Share This 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 Opens in a new window Opens in a new window Opens in a new window Opens in a new window Devendra Kumar Project Management Apprentice at Google You Might Also Like Week 3 – Crashing Programs Week 6 – Closing A Project – Shuffle Q/A 2 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.