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

Security Certification: GPYC GPYC GIAC Study Notes

Page: 3 / 3
Total 75 questions

GIAC Python Coder (GPYC) Questions and Answers

Question 9

What does the following line of code do?

Options:

A.

Sends the data stored in the variable "socket" to the IP address stored in AF_INET

B.

Gets data from all network sockets on the system

C.

Creates an instance of a UDP socket for transmitting or receiving data

D.

Transfers data from the local system to a remote system across the network

Question 10

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

Question 11

Which python regular expression method should be used to match any character in a-z, 0-

Options:

A.

\w

B.

Greedy matching

C.

A custom character set

D.

\w

Page: 3 / 3
Total 75 questions