What is the purpose of using a shebang line in a Python file?
2. Open Ended
30 seconds
1 pt
Proper code reuse is important, so let's see if you were paying attention. Which of the following lines will allow you to use the datetime module in your script?
3. Open Ended
30 seconds
1 pt
Which of the following is NOT an example of code completion?
4. Open Ended
30 seconds
1 pt
Which of the following is the most modern, up-to-date version of Python?
5. Open Ended
30 seconds
1 pt
Which of the following operating systems is compatible with Python 3?
6. Open Ended
30 seconds
1 pt
Which of the following operating systems does not run on a Linux kernel?
7. Open Ended
30 seconds
1 pt
f we want to check to see what version of Python is installed, what would we type into the command line? Select all that apply.
8. Open Ended
30 seconds
1 pt
When your IDE automatically creates an indent for you, this is known as what?
9. Open Ended
30 seconds
1 pt
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())
10. Open Ended
30 seconds
1 pt
Which type of programming language is read and converted to machine code before runtime, allowing for more efficient code?
11. Open Ended
30 seconds
1 pt
Which of the following is NOT an IDE or code editor?
12. Open Ended
30 seconds
1 pt
What does the PATH variable do?
13. Open Ended
30 seconds
1 pt
In terms of automation, which of the following is an example of scalability?
14. Open Ended
30 seconds
1 pt
Which of the following correctly describes the Pareto Principle?
15. Open Ended
30 seconds
1 pt
Which of the following could be a good example of when to use an automation script?
16. Open Ended
30 seconds
1 pt
At a manufacturing plant, an employee spends several minutes each hour noting uptime and downtime for each of the machines they are running. Which of the following ideas would best automate this process?
17. Open Ended
30 seconds
1 pt
One important aspect of automation is forensic value. Which of the following statements describes this term correctly?
18. Open Ended
30 seconds
1 pt
An employee at a technical support company is required to collate reports into a single file and send that file via email three times a day, five days a week for one month, on top of his other duties. It takes him about 15 minutes each time. He has discovered a way to automate the process, but it will take him at least 10 hours to code the automation script. Which of the following equations will help them decide whether it's worth automating the process?
19. Open Ended
30 seconds
1 pt
A company is looking at automating one of their internal processes and wants to determine if automating a process would save labor time this year. The company uses the formula [time_to_automate < (time_to_perform * amount_of_times_done) to decide whether automation is worthwhile. The process normally takes about 10 minutes every week. The automation process itself will take 40 hours total to complete. Using the formula, how many weeks will it be before the company starts saving time on the process?
20. Open Ended
30 seconds
1 pt
Which of the following are valid methods to prevent silent automation errors? (Check all that apply)