New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

GPYC GIAC Python Coder (GPYC) Questions and Answers

Questions 4

What is the output of the following line of code typed into a Python interactive session?

>>>print (8 <<1)

Options:

A.

False

B.

16

C.

SyntaxError: invalid syntax

D.

True

Buy Now
Questions 5

When the following program "question.py" is executed with Python what is the output?

Options:

A.

10

B.

5

C.

FunctionOverride: function i assigned not called

D.

Function i at 0xb7489764>

Buy Now
Questions 6

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

Buy Now
Questions 7

An operator able to perform bitwise shifts is coded as (select two answers)

Options:

A.

- -

B.

++

C.

<<

D.

>>

Buy Now
Questions 8

A connection between a python raw socket server and a netcat client is being made over port 1100 on the same computer. The last command in the Python terminal is:

What needs to be typed in the python terminal to display the input from the netcat session?

Options:

A.

Nothing, as the connection is complete

B.

connection.recv( 1024)

C.

print(remoteip)

D.

Nothing, port 1100 is too low to bind the python server to

Buy Now
Questions 9

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()

Buy Now
Questions 10

Which of the following import statements will add the ability to parse data with regular expressions to your script?

Options:

A.

from regex import re

B.

import re

C.

from re import regex

D.

import regex

Buy Now
Questions 11

What does executing the following code in Python 3 result in?

'\x0066'

Options:

A.

f

B.

102

C.

\x0066

D.

01100110

Buy Now
Exam Code: GPYC
Exam Name: GIAC Python Coder (GPYC)
Last Update: Dec 22, 2024
Questions: 75

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99