GIAC Python Coder (GPYC) 試験
Question No : 1
What does executing the following code in Python 3 result in?
Question No : 2
Which command produced the following output?
Question No : 3
When creating a new socket using the Python "sockets" module, which of the following parameters is used to specify the socket will send and receive TCP traffic? Choose Two
Question No : 4
Review the following code.
Which of the following would give the results of variable "total"?
Question No : 5
Which command will search for python modules that will have the ability to parse pcap files?
Question No : 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?
Question No : 7
A log file is stored in variable "a". The file has the following format for each log entry, in order, stored in big endian:
Field 1: 2-byte integer
Field 2: 2-byte integer
Field 3: 4-byte string
Which of the following would unpack a line from the log file into the proper fields?
Question No : 8
What is the output when the following commands are typed in Python interactive mode?
Question No : 9
What wilt the code in the screen capture print when executed?
Question No : 10
Which of the following import statements will add the ability to parse data with regular expressions to your script?
Question No : 11
What would be the result of the following code in Python?
Question No : 12
What is the output of the following commands typed in the Python Interactive shell?
Question No : 13
Which python regular expression method should be used to match any character in a-z, 0-
Question No : 14
How many lines will the following code print?
Question No : 15
What is the output of the following command typed in Python interactive mode?