exam questions

Exam 220-1102 All Questions

View all questions & answers for the 220-1102 exam

Exam 220-1102 topic 1 question 132 discussion

Actual exam question from CompTIA's 220-1102
Question #: 132
Topic #: 1
[All 220-1102 Questions]

A help desk technician runs the following script: Inventory.py. The technician receives the following error message:
How do you want to open this file?
Which of the following is the MOST likely reason this script is unable to run?

  • A. Scripts are not permitted to run.
  • B. The script was not built for Windows.
  • C. The script requires administrator privileges.
  • D. The runtime environment is not installed.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dido1963
Highly Voted 2 years, 4 months ago
Selected Answer: D
A Python Interpreter has to be installed before a "*.py"-Script can run
upvoted 12 times
...
EdwardDickson
Most Recent 1 month, 1 week ago
Selected Answer: D
Explanation: The error message "How do you want to open this file?" typically indicates that the operating system does not recognize the file type or does not have the appropriate program (runtime environment) installed to execute it. For a Python script (Inventory.py), the system needs the Python runtime environment installed to interpret and run the script. If Python is not installed, the OS will not know how to handle the .py file and will prompt the user to choose a program to open it.
upvoted 1 times
...
Dat_Oyin
9 months, 1 week ago
D I think
upvoted 1 times
...
tolchandler
1 year, 9 months ago
B: This message is often seen when attempting to open a file that does not have a default program associated with it. The error message likely appears because the script "Inventory.py" was not built or designed to run on the Windows operating system.
upvoted 2 times
...
dcv1337
1 year, 9 months ago
Selected Answer: D
The Python interpreter is not installed or associated with .py files on the computer.
upvoted 1 times
...
[Removed]
2 years, 1 month ago
Selected Answer: D
This is covered in 1102 material. anything with .py at the end is python related. process of elimination indicates "D" is the only answer that makes sense.
upvoted 1 times
...
fiela1
2 years, 1 month ago
There are always questions in the Comptia exams that aren't relevant to the module or even certificate being done. They're there for research purposes and don't count towards the person sitting the exams grade
upvoted 3 times
...
SeeSeeIE
2 years, 1 month ago
This is not mentioned in the Prof. Messor when he speaks about Python in the "Scripting Languages" video. I rewatched it; nothing. I'm not a programmer, so D wasn't my first guess.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago