nerdexam
GIAC

GPYC · Question #5

GPYC Question #5: Real Exam Question with Answer & Explanation

Sign in or unlock GPYC to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.

Question

A programmer attempts to run the Python program hello.py as follows, but an error occurs. What is the cause of this error? student@573:~ cat hello.py print "hello" student@573:~ chmod -x hello.py student@573:~ ./hello.py Warning: unknown mime-type for "hello" -- using "application/x-tcl" Error: no such file "hello"

Options

  • Ahello.py is missing the line #!/usr/bin/python
  • Bsmtp_mime was replaced with Python
  • CPython cannot find the script "hello"
  • Dhello.py is improperly encoded with UTF-16le

Unlock GPYC to see the answer

You've previewed enough free GPYC questions. Unlock GPYC for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GPYC Practice