Halloween Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Last Attempt GPYC Questions

Page: 2 / 3
Total 75 questions

GIAC Python Coder (GPYC) Questions and Answers

Question 5

Which of the following is the output when the following program is executed with a Python Interpreter?

Options:

A.

a

B.

10

C.

-10

D.

-a

Question 6

If the variable "example" contains a handle to a subprocess object, which of the following would show all of the possible results of running the subprocess?

Options:

A.

example.stdout.read()

B.

example.recv(*)

C.

example.read()

D.

example.stdout.read()+example.stderr.read()

Question 7

What is the cause of the error shown below?

Options:

A.

A syntax error

B.

The re module hasn't been imported

C.

A bad file name

D.

The stdin module hasn't been imported

Question 8

During a password guessing attack, which HTTP request method would a Python program most commonly call to submit a usemame and password to a target website?

Options:

A.

OPTIONS

B.

POST

C.

CONNECT

Page: 2 / 3
Total 75 questions