最新的GIAC Python Coder (GPYC) - GPYC免費考試真題
問題1
An operator able to perform bitwise shifts is coded as (select two answers)
正確答案: A,B
問題2
Review the following Python code:


正確答案: C
問題3
What will the following code in Python 3 result in?


正確答案: E
問題4
What does the LIMIT function restrict in an SQL SELECT statement?
正確答案: D
問題5
Review the following code, written in Python. What are the contents of variable a?


正確答案: B
問題6
A .gif file has the following attributes:
Extension: .gif
Magic value for start of file: \x47\x49\x46
Magic value for end of file: \x3b
A small data file called "raw_data" contains one gif. Which of the following statements is most likely to successfully extract the file?
Extension: .gif
Magic value for start of file: \x47\x49\x46
Magic value for end of file: \x3b
A small data file called "raw_data" contains one gif. Which of the following statements is most likely to successfully extract the file?
正確答案: B
問題7
Given that mylist = [1,3,2,1,4,5,3] how do you remove all occurrences of the number 1 from the list in Python?
正確答案: D
問題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?
正確答案: A

