Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Home Forums Assignment courserra Google IT in Automation with Python Professional Certificate Using Python to interact with the operating system Practice Quiz: Running Python Locally Practice Quiz • 25 min Week 1

Viewing 0 reply threads
  • Author
    Posts
    • #787
      Abhishek TyagiAbhishek Tyagi
      Keymaster

      Question 1- When your IDE automatically creates an indent for you, this is known as what?

      Answer-
      Code completion

      Question 2- Can you identify the error in the following code?

      #!/usr/bin/env python3
      import numpy as np
      def 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*y
      print(numpyArray())

      Answer-
      The y variable is not calling the numpy module properly.

      Question 3- Which type of programming language is read and converted to machine code before runtime, allowing for more efficient code?

      Answer-
      Compiled Language

      Question 4- Which of the following is not an IDE or code editor?

      Answer-
      pip

      Question 5- What does the PATH variable do?

      Answer-
      Tells the operating system where to find executables

Viewing 0 reply threads
  • You must be logged in to reply to this topic.